fthx / dock-from-dash

GNU General Public License v3.0
97 stars 20 forks source link

Mouse leaving bottom hot edge does not close dock in GNOME 45 #92

Closed trevnels closed 8 months ago

trevnels commented 1 year ago

After updating to GNOME 45, I've noticed that the dock can get stuck open in some cases:

  1. Moving the mouse to the bottom left or bottom right of the screen to open the dock, then moving the mouse directly upwards, not touching the dock in the process.
  2. Moving the mouse to the bottom of a secondary display.

Both of these cases will open the dock, but it will be stuck open until the cursor is moved in and out of the dock itself - it seems like moving the cursor away from the bottom hot edge of the screen does not hide the dock like it used to.

trevnels commented 1 year ago

Looking at the code it seems like the bottom hot edge will toggle the state of the dock, but because the delay for automatically hiding the dock does not apply to the hot edge, it seems like the dock is stuck open. Activating the hot edge again will close the dock.

fthx commented 1 year ago

It's complicated since focus that makes the timeout inactive is lost in some cases with recent versions of GS. And here I tried to make the reordering of app icons possible.

fthx commented 1 year ago

It's solved but I wait a little bit to release some other changes.

fthx commented 8 months ago

https://github.com/fthx/dock-from-dash/commit/e6fe82cbcdb059bf9a147f3857799d13d2fb6684