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

Lock screen crashes the Dock. "DockManager.getDefault() is null. dockManager is null" #2300

Open muhammetsafak opened 17 hours ago

muhammetsafak commented 17 hours ago

Hi, the Dock crashes when I lock and unlock the screen. There are many error messages in the journalctl output.

JS ERROR: TypeError: dockManager is null
                                            getApps@file:///usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/locations.js:1447:9
                                            getRunningApps@file:///usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/locations.js:1460:12
                                            _ensureLocations/<@file:///usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/docking.js:1847:56
                                            _create/object[name]@file:///usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/utils.js:326:37
                                            _ensureLocations/<@file:///home/muhammet/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1851:60
                                            _create/object[name]@file:///home/muhammet/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:358:37
                                            _syncRunningApplications@resource:///org/gnome/shell/misc/introspect.js:75:36
                                            IntrospectService/<@resource:///org/gnome/shell/misc/introspect.js:37:18
                                            @resource:///org/gnome/shell/ui/init.js:21:20

Screenshot from 2024-09-28 07-20-08

Neo-29 commented 10 hours ago

This is confirmed on archlinux here too It gets stuck for a while then goes back to lock screen