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.89k stars 461 forks source link

Bug: Invalid Overview Transition with touchpad/touchscreen gestures & intelligent autohide #2189

Open cameronaw13 opened 7 months ago

cameronaw13 commented 7 months ago

I am using Fedora 39, Gnome 45, DtD v89

When using DtD with intelligent autohide, whenever you show the menu by hovering over the screen edge, click the apps icon, and then use gnome's touchpad gestures to swipe back to the overview menu, it snaps back to the desktop. When this occurs, an error in journalctl appears:

Apr 03 20:04:15 fedora gnome-shell[170407]: JS ERROR: Error: Invalid overview shown transition from HIDDEN to SHOWN
                                            _changeShownState@resource:///org/gnome/shell/ui/overview.js:304:19
                                            _showDone@resource:///org/gnome/shell/ui/overview.js:587:18
                                            onComplete@resource:///org/gnome/shell/ui/overview.js:445:37
                                            _makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:86:13
                                            _easeActorProperty/<@resource:///org/gnome/shell/ui/environment.js:250:60
                                            @resource:///org/gnome/shell/ui/init.js:21:20

The next time you use a touchpad gesture to open the overview, it will snap back to the apps view. This also occurs with the touchscreen albeit a little harder to pull off naturally as you'll need to show the dash with a mouse/touchpad and gesture back to the overview with the touchscreen.

I believe this may be somewhat related to other issues in this repo that have had the same Invalid overview shown transition from ____ to ____ error pop up though they tend to cover different topics.

I'm guessing atp but its possible that enabling Animate Show Applications to work around #2112 could cause this issue but it's just a shot in the dark. Trying to do this when disabling the option simply breaks the Show Applications button therefore there's no way I can really confirm this without testing it in Gnome 44.

Edit: I've tested this on the latest iso of Fedora 38, Gnome 44, using DtD v84 and it seems that the issue is not present when disabling Animate Show Application but still present with it enabled. A video showcasing the issue is shown below

https://github.com/micheleg/dash-to-dock/assets/113076756/4d208841-eca3-40f0-9ba1-9e5210fdf23d

vanvugt commented 7 months ago

Also reported in https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6633

kernelb00t commented 7 months ago

Can repro on Arch Latest, Gnome 46 with DtD v90 (without Blur my shell ext).