ramensoftware / windhawk-mods

The official collection of Windhawk mods
222 stars 43 forks source link

[Disable grouping on the taskbar] Pinned icons disappear on virtual desktop #690

Closed tenthousandcoffins closed 1 month ago

tenthousandcoffins commented 1 month ago

Mod Disable grouping on the taskbar

Author @m417z

Description

I've noticed that the pinned icons disappear on the virtual desktop when I have more than one instance open. I didn't notice anything when I just had single instance. Also, it's not limited to Edge case (pun intended), but happens with any other multiple instances such as File Explorer.

This is my Desktop 1. Note that I have two Edge (these are pinned to taskbar) windows opened. dt1

I switch to Desktop 2. The pinned Edge icon disappeared from the taskbar. dt2

This is when I switch back to Desktop 1. The icon orders are not preserved and moved to the end of the taskbar. Tried using [Virtual Desktop Preserve Taskbar Order] for this case, but it did not help. dt3

m417z commented 1 month ago

I spent some time trying to fix it, more time than I hoped. Here's a version of the mod with the changes. Please install it and try experimenting and doing crazy stuff as much as you can. Let me know if you find bugs like the one reported in this issue. https://github.com/m417z/my-windhawk-mods/blob/e16c05b77bd71bb8850e18b01f42305002c983db/mods/taskbar-grouping.wh.cpp

To install it, disable the existing mod, then click the bottom right button to create a new mod, replace the code with the content from the link above, click "Compile Mod", then "Exit Editing Mode".

m417z commented 1 month ago

I made some improvements in version 1.3.3, hopefully this issue is fixed. If you see the bug with the new version, please let me know.