bbidulock / icewm

A window manager designed for speed, usability, and consistency
Other
596 stars 99 forks source link

Taskbar doesn't autohide sometimes #499

Closed QiangF closed 1 year ago

QiangF commented 4 years ago

By setting TaskBarAutoHide=1, I want the taskbar to hide after showing for whatever reason, whenever my mouse is not on the taskbar.

But sometimes the taskbar pop up, and the mouse is not even in the taskbar area, and it doesn't want to hide anymore!

This forces me to reach for the mouse to get the full screen back, it is quite annoying when I am working with emacs in fullscreen mode.

It happens rarely. It behaves like tint2. https://gitlab.com/o9000/tint2/-/issues/784

Maybe sawfishwm will give me back the control on taskbar autohiding.

QiangF commented 4 years ago

It's maybe caused by some window receiving "urgency" hint, maybe a timeout for the hint?

gijsbers commented 4 years ago

Yes I noticed this too. Commit 47503036a1b06dde9390d7b9dbad75d5f50dd9f9, which is in 1.8.3, fixed one case, but there may still be another case left to fix. The problem is reproducibility. If you could provide a reproducible scenario I'll fix it soon.

gijsbers commented 4 years ago

This may help.

QiangF commented 4 years ago

I don't understand c++, perhaps this has nothing to do with fullscreen app.

I think first we need to identified the cause of the taskbar popup, if the same cause happens in short duration repeatably, give it a break time, or it will keep triggering the show of the taskbar.

If the cause can't be identified or for people who can't bear with the interruption, maybe add a preference variable, AutoShowTaskbarCursorOnly, to only show the taskbar when the cursor is at the edge position.

Sawfishwm seems to have a lot of hooks. I will try icewm later if I am not satisfied with sawfish. Thank you very much!