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.82k stars 463 forks source link

Clicking on the "Show Apps" button does nothing [JS ERROR: TypeError: "ANIMATION_TIME" is read-only] #2112

Open atolismesh opened 8 months ago

atolismesh commented 8 months ago

After upgrading to gnome-shell 44 -> 45 and dash-to-dock 84 -> 89, clicking on the "Show Apps" button does nothing. I can't open Apps list. The log shows errors:

JS ERROR: TypeError: "ANIMATION_TIME" is read-only
 _onShowAppsButtonToggled/<@file:///usr/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:2587:21
  @resource:///org/gnome/shell/ui/init.js:21:20
vanvugt commented 8 months ago

Yes it was made const in gnome-shell 45.beta apparently. But you'll only hit that error if you disabled animations. To fix it just run:

gsettings set org.gnome.shell.extensions.dash-to-dock animate-show-apps true
fiws commented 8 months ago

Same problem. Can confirm that the disabled animations setting was the problem.

Had to re-enable it through the Dash to Dock settings tho.

❯ gsettings set org.gnome.shell.extensions.dash-to-dock animate-show-apps true
No such schema “org.gnome.shell.extensions.dash-to-dock”
atolismesh commented 8 months ago

To fix it just run:

Thanks! Running gsettings fixed the issue

Zvirovyi commented 8 months ago

Have encountered this issue on Manjaro with the same upgrade. @vanvugt fix worked, thanks!

vanvugt commented 4 months ago

I don't think this should be closed without a fix. Was it fixed?