Closed Venthe closed 3 weeks ago
It was reported here as part of a list of problems: https://github.com/ramensoftware/windhawk-mods/issues/913.
That's a tricky one. The mod overrides the position of the menu to be placed near the mouse cursor, but the menu size isn't known at this point. It could place it at a lower location, but then it will look worse and will be less convenient for items which are not at the very top.
I believe that this one is even more visible in my case, as I have enabled the "end task" action aside of "close". Still, it happens with two topmost icons for me, not ideal; but hardly a dealbreaker.
I added some threshold for the menu position, so that it won't be above a certain point. It should improve it, try it out: https://github.com/m417z/my-windhawk-mods/blob/8c5a8ea5af153e469a569e9e9c83463ce47403b1/mods/taskbar-vertical.wh.cpp
While it is not perfect; it definitely is workable now
Worst case:
I'm not sure if it's part of this, but one that I've got is the list of extra actions informed by the application itself gets cut. For example, Firefoxs Incognito mode
I found a solution to this, which was implemented in the new Taskbar on top for Windows 11 mod.
https://github.com/user-attachments/assets/c7662d3b-533f-45d8-8fc2-73a47b87fe11
For the vertical taskbar, the cut off menus can be fixed, but there's the following question (also discussed with @SandTechStuff): if there's enough space, what would be the ideal placement for the menu relative to the mouse? Vertically centered? Aligned to top? To bottom? Perhaps centered is most visually appealing, although I thought that having the close menu item always near the mouse cursor (as it is now) can be convenient.
Also, should the whole menu always be shown? For example, the following will have twice the height without the scrollbar. I guess showing it fully is fine, just want to hear your opinion.
What do you think?
IMO:
OR scroll only if there is not enough space to present all the elements
I'm quite big on muscle memory. Having menu options always at the same (relative) position would be the best. Moreover, "most" of the world reads top to bottom; so we would want to have eyes going from the icon, to the list, then navigate towards the bottom.
Center would be less desirable due to the "always shifting" elements depending on the list size.
Scroll is suboptimal, as it both prevents muscle memory to form and obscures possible actions.
My two cents, so to speak :)
Fixed in version 1.3. Also, instead of debating about the jump list alignment, I just added an option that allows to customize it.
Possible regression as this happens on L and R; Taskbar icons context menu is being cut off
R side:
L side: