Open Biosphakus opened 2 weeks ago
Try to come up with a way to reproduce the issue. Also, I see that you have other customizations in place, possibly Windows 11 Taskbar Styler styles. Does the issue happen without them?
Thanks for your reply! As far as I'm aware, the Taskbar labels mod is the only mod I'm using.
These are my settings:
{"taskbarItemWidth":150,"minimumTaskbarItemWidth":50,"maximumTaskbarItemWidth":150,"runningIndicatorStyle":"fullWidth","progressIndicatorStyle":"sameAsRunningIndicatorStyle","fontSize":11,"leftAndRightPaddingSize":8,"spaceBetweenIconAndLabel":8,"labelForSingleItem":"%name%","labelForMultipleItems":"[%amount%] %name%","mode":"labelsWithoutCombining","excludedPrograms[0]":"excluded1.exe"}
The issue seems to appear only with apps pinned to the taskbar (in my case: Explorer, Excel, Word, Powerpoint, Thunderbird, Firefox). I hope this can help to reproduce and fix the issue.
I tried playing with your settings and pinned items, but wasn't able to reproduce it.
As far as I'm aware, the Taskbar labels mod is the only mod I'm using.
Are you sure? On the screenshot, your Explorer taskbar button doesn't have round corners, which is not how the taskbar looks by default:
I've checked again: No other mods in Windhawk.
And I do have rounded corners. Apparently, it looks like this because of how the picture was clipped, I'm sorry for the confusion. Here's a full view of my task bar:
Unfortunately, the issue persists. Could it have to do something with the taskbar settings I've made within Windows? I have a left-aligned task bar layout and no clock on the right side. Would it be helpful to provide any logs?
I looked at the code again, and I found a possible reason for this. Please try this version and let me know if it helps: https://github.com/m417z/my-windhawk-mods/blob/fb35490002b7f03117e63ce1372c50f7d5bed0b3/mods/taskbar-labels.wh.cpp
To try it, disable the existing mod, then click the bottom right button to create a new mod, replace the code with the test mod code, click "Compile Mod", then "Exit Editing Mode".
Thanks a lot for your effort! This doesn't seem to have fixed it, however. For a while, the problem didn't occur but now it's back, unfortunately.
In this case, let's try some debug logs. Replace your test version with this one: https://github.com/m417z/my-windhawk-mods/blob/a5d7a4171dae9b7fbbd874d429c4f1cc7271b8ae/mods/taskbar-labels.wh.cpp Make sure the original Taskbar Labels mod is still disabled, open the test mod, click on Edit, replace the code with the new version, click "Compile Mod", then "Exit Editing Mode".
After that, collect debug logs as following:
After the new Windows Update (2024H2), I'm experencing a bug with the Taskbar labels mod for Windhawk.
My normal setup looks like this:
But now, when I close a window, it sometimes remains underlined (without text):
Strangely, this behaviour doesn't always happen and sometimes it can be fixed by re-opening the closed app and closing it again.