micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.83k stars 464 forks source link

Dock doesn't auto hide when opening fullscreen app using application icon #2063

Open Amzd opened 11 months ago

Amzd commented 11 months ago

Dock doesn't hide when opening fullscreen app (eg games) by clicking the application icon. When alt-tabbing into a fullscreen app it works fine.

Worked fine in nobara 37, broken in nobara 38. (basically fedora)

vanvugt commented 11 months ago

What version of the dock is (and is not) affected?

vanvugt commented 11 months ago

See also https://github.com/micheleg/dash-to-dock/issues/1066

Amzd commented 10 months ago

@vanvugt It is not related to that ticket.

I think it is caused by the hover tracking stopping when a wine application is opened in fullscreen? I added logs to _hoverChanged and it was no longer called when a game goes fullscreen. Attached video shows how when I open a game by clicking in dock it stays open as if the mouse is still hovering it while alt tab hides it correctly:

https://github.com/micheleg/dash-to-dock/assets/17001151/db7e27f9-aa4a-4a8d-89b8-ea8c539a0a7e

Temporary workaround is disabling auto hide in Dash to Dock Settings > Intelligent autohide subsettings > Autohide to get past this check https://github.com/micheleg/dash-to-dock/blob/26338514e13a142914c6f94295c0ea70b411d4a7/docking.js#L719

but that workaround also disables the dock in fullscreen windows that did work (everything other than wine that ive tested so far)