WindowTop / WindowTop-App

Set window on top, make it dark, transparent and more
Other
1.17k stars 69 forks source link

Toolbar activation: Keep Hover on Minimize but Disable 'sticky' Arrow #384

Open AlteredCabr0n opened 1 month ago

AlteredCabr0n commented 1 month ago

I like the minimize button integration but don't need the arrow. image feature to allow hovering over the minimize to activate Toolbar but without needing the arrow there.

gileli121 commented 1 month ago

@AlteredCabr0n The first option determines whether the toolbar is displayed with or without the arrow (the one that is green by default, not the one inside the toolbar below the SET TOP button).

This needs to be enabled; otherwise, you can only use it with hotkeys.

Did you try it? I think it already works as you want if you turn on the second option (the first option must be turned on to enable the toolbar).

If the second option is enabled (in addition to the first), the arrow will be disabled, and only the toolbar will show up when the mouse hovers over the minimize button. However, if it fails to identify the minimize button (due to reasons such as no minimize button being available or any other issue), it will fall back to the first behavior, showing the arrow (hovering over it will display the toolbar).

I assumed that when you said "arrow," you were referring to the one above the toolbar, not the one inside below the SET TOP button. If you mean the arrow below the SET TOP button, let me know. In that case, I wonder why you care about it.

AlteredCabr0n commented 1 month ago

If the second option is enabled (in addition to the first), the arrow will be disabled, and only the toolbar will show up when the mouse hovers over the minimize button. However, if it fails to identify the minimize button (due to reasons such as no minimize button being available or any other issue), it will fall back to the first behavior, showing the arrow (hovering over it will display the toolbar).

That doesn't seem to be what happens.

https://github.com/user-attachments/assets/50c7627a-5507-4b7a-8fc0-04622891880f

gileli121 commented 1 month ago

@AlteredCabr0n This isn't the expected behavior. What OS are you using? It doesn’t seem like Windows 11. Is it Windows 10? According to my tests, it should work on Windows 10. Or maybe it's Windows 8? Do you use any additional apps like Stardock Groupy or something else that adds functionality to Windows?

AlteredCabr0n commented 1 month ago

@AlteredCabr0n This isn't the expected behavior. What OS are you using? It doesn’t seem like Windows 11. Is it Windows 10? According to my tests, it should work on Windows 10. Or maybe it's Windows 8? Do you use any additional apps like Stardock Groupy or something else that adds functionality to Windows?

I'm using Windows 10 22H2. I have other apps installed that affect windows (ex. Actual Window Manager), but these have been disabled.

gileli121 commented 1 month ago

@AlteredCabr0n Thanks for the information. I still can't reproduce the issue, but I'll keep trying to figure it out. It seems like you do have apps affecting Windows (like Actual Window Manager). From your comment, it sounds like you have more than one such app. Could you please mention all other installed apps that affect Windows?

AlteredCabr0n commented 4 weeks ago

Could you please mention all other installed apps that affect Windows?

I've just been able to replicate the issue on a different machine and a clean install VM. No other apps installed.

https://github.com/user-attachments/assets/1dbe2bf4-2c97-4060-bc06-b0c52fc0b63f

gileli121 commented 3 weeks ago

Interesting. I will check it now on Windows 10 VM on file explorer window. Maybe it broke after some update on windows 10

gileli121 commented 3 weeks ago

@AlteredCabr0n
After reviewing your video again, it seems this isn't a bug but expected behavior. This happens because you disabled the entire toolbar.

I understand the toggle’s name might be confusing. However, the "Enable Toolbar" toggle controls both the toolbar and the arrow. I tried to clarify that here:
image
As mentioned, you can only enable or disable window features through hotkeys, so I hoped this would make it clear to users.

Additionally, when the toolbar is disabled, all other related options are also deactivated, as they are tied to the toolbar UI (the arrow and the toolbar itself). As shown in your video, this behavior is working as intended.

So I still need to figure out how to reproduce the bug, as this video doesn't seem to demonstrate the issue.

gileli121 commented 3 weeks ago

Additionally, the feature worked as expected on Windows 10—specifically, the option to display it when hovering over the minimize button.