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

Dash-to-dock turns itself off after some time #1180

Open rockorequin opened 4 years ago

rockorequin commented 4 years ago

I'm running version 68 from git (commit 1788f31b049b622f78d0e65c56bef76169022ca9) in gnome-shell 3.36.1-5ubuntu1, and when I turn the extension on, after some time it turns itself off (so the dock reverts to ubuntu-dock).

These journalctl log messages might be relevant:

Apr 22 14:39:00 xps15 gnome-shell[2642]: Object .Gjs_ubuntu-dock_ubuntu_com_dash_DashToDock_MyDash (0x556ed297cee0), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Apr 22 14:39:00 xps15 gnome-shell[2642]: #1   556ed11438e8 i   /home/rocko/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:104 (db2286a4f88 @ 17)
Apr 22 14:39:00 xps15 gnome-shell[2642]: #2   556ed1143840 i   /home/rocko/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52 (db2286a4da8 @ 81)
Apr 22 14:39:00 xps15 gnome-shell[2642]: #3   556ed1143778 i   /home/rocko/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829 (db2286a4628 @ 133)
Apr 22 14:39:00 xps15 gnome-shell[2642]: #4   556ed11436e8 i   /home/rocko/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651 (db2286a4100 @ 23)
                                         _remove@/home/rocko/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:104:18
                                         removeWithLabel@/home/rocko/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52:22
                                         _restoreDash@/home/rocko/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829:30
                                         _toggle/this._toggleLater<@/home/rocko/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651:18
rockorequin commented 4 years ago

Yes, it could be related to #1185. I think dash to dock crashes when the screen lock comes on. At this point, re-enabling dash-to-dock via the gnome-extensions tool doesn't work - I need to restart gnome-shell.

milosmiric commented 4 years ago

I believe it might have to do something with screen shield code in new ubuntu

Apr 26 17:25:32 workstation gnome-shell[1775]: Object .Gjs_ubuntu-dock_ubuntu_com_dash_DashToDock_MyDash (0x5580607b9060), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Apr 26 17:25:32 workstation gnome-shell[1775]: == Stack trace for context 0x55805f48c710 ==
Apr 26 17:25:32 workstation gnome-shell[1775]: #0   558061a34148 i   resource:///org/gnome/gjs/modules/core/overrides/GObject.js:571 (3bcfd8ab6c40 @ 25)
Apr 26 17:25:32 workstation gnome-shell[1775]: #1   558061a340b0 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:104 (1f35fa5c5d30 @ 17)
Apr 26 17:25:32 workstation gnome-shell[1775]: #2   558061a34008 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52 (1f35fa5c5b50 @ 81)
Apr 26 17:25:32 workstation gnome-shell[1775]: #3   558061a33f58 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:31 (1f35fa5c5a60 @ 59)
Apr 26 17:25:32 workstation gnome-shell[1775]: #4   558061a33ec0 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1945 (1f35fa5c56a0 @ 22)
Apr 26 17:25:32 workstation gnome-shell[1775]: #5   558061a33e38 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/extension.js:20 (1f35fa5b39e8 @ 12)
Apr 26 17:25:32 workstation gnome-shell[1775]: #6   558061a33d60 i   resource:///org/gnome/shell/ui/extensionSystem.js:113 (27f0d95645b0 @ 504)
Apr 26 17:25:32 workstation gnome-shell[1775]: #7   558061a33cd0 i   resource:///org/gnome/shell/ui/extensionSystem.js:602 (27f0d956a808 @ 15)
Apr 26 17:25:32 workstation gnome-shell[1775]: #8   7ffc671bde30 b   self-hosted:266 (28b11d109bc8 @ 259)
Apr 26 17:25:32 workstation gnome-shell[1775]: #9   558061a33c40 i   resource:///org/gnome/shell/ui/extensionSystem.js:601 (27f0d956a790 @ 98)
Apr 26 17:25:32 workstation gnome-shell[1775]: #10   558061a33bb0 i   resource:///org/gnome/shell/ui/extensionSystem.js:619 (27f0d956a880 @ 82)
Apr 26 17:25:32 workstation gnome-shell[1775]: #11   7ffc671becf0 b   self-hosted:1009 (53d2c49dbc8 @ 423)
Apr 26 17:25:32 workstation gnome-shell[1775]: #12   7ffc671bedf0 b   resource:///org/gnome/gjs/modules/core/_signals.js:133 (27f0d9533790 @ 427)
Apr 26 17:25:32 workstation gnome-shell[1775]: #13   7ffc671bfad0 b   resource:///org/gnome/shell/ui/sessionMode.js:198 (53d2c42a2e0 @ 286)
Apr 26 17:25:32 workstation gnome-shell[1775]: #14   558061a33950 i   resource:///org/gnome/shell/ui/sessionMode.js:159 (53d2c42a100 @ 40)
Apr 26 17:25:32 workstation gnome-shell[1775]: #15   558061a33898 i   resource:///org/gnome/shell/ui/screenShield.js:574 (53d2c4112e0 @ 191)
Apr 26 17:25:32 workstation gnome-shell[1775]: #16   558061a337d8 i   resource:///org/gnome/shell/ui/screenShield.js:623 (53d2c411358 @ 419)
Apr 26 17:25:32 workstation gnome-shell[1775]: #17   558061a33748 i   resource:///org/gnome/shell/ui/screenShield.js:266 (53d2c410628 @ 25)
milosmiric commented 4 years ago

This kept appearing as well

Apr 26 14:54:57 workstation gnome-shell[1775]: Object .Gjs_ubuntu-dock_ubuntu_com_dash_DashToDock_MyDash (0x5580607b9060), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Apr 26 14:54:57 workstation gnome-shell[1775]: == Stack trace for context 0x55805f48c710 ==
Apr 26 14:54:57 workstation gnome-shell[1775]: #0   558062a3ac60 i   resource:///org/gnome/gjs/modules/core/overrides/GObject.js:571 (3bcfd8ab6c40 @ 25)
Apr 26 14:54:57 workstation gnome-shell[1775]: #1   558062a3abc8 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:104 (1f35fa5c5d30 @ 17)
Apr 26 14:54:57 workstation gnome-shell[1775]: #2   558062a3ab20 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52 (1f35fa5c5b50 @ 81)
Apr 26 14:54:57 workstation gnome-shell[1775]: #3   558062a3aa58 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829 (1f35fa5c53d0 @ 133)
Apr 26 14:54:57 workstation gnome-shell[1775]: #4   558062a3a9c8 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651 (1f35fa5c3e20 @ 23)
Apr 26 14:54:57 workstation gnome-shell[1775]: JS ERROR: Error: Argument 'instance' (type interface) may not be null#012_init/GObject.Object.prototype.disconnect@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:571:24#012_remove@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:104:18#012removeWithLabel@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52:22#012_restoreDash@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829:30#012_toggle/this._toggleLater<@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651:18
Apr 26 14:55:00 workstation gnome-shell[1775]: Object .Gjs_ubuntu-dock_ubuntu_com_dash_DashToDock_MyDash (0x5580607b9060), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Apr 26 14:55:00 workstation gnome-shell[1775]: == Stack trace for context 0x55805f48c710 ==
Apr 26 14:55:00 workstation gnome-shell[1775]: #0   558062a3ac60 i   resource:///org/gnome/gjs/modules/core/overrides/GObject.js:571 (3bcfd8ab6c40 @ 25)
Apr 26 14:55:00 workstation gnome-shell[1775]: #1   558062a3abc8 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:104 (1f35fa5c5d30 @ 17)
Apr 26 14:55:00 workstation gnome-shell[1775]: #2   558062a3ab20 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52 (1f35fa5c5b50 @ 81)
Apr 26 14:55:00 workstation gnome-shell[1775]: #3   558062a3aa58 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829 (1f35fa5c53d0 @ 133)
Apr 26 14:55:00 workstation gnome-shell[1775]: #4   558062a3a9c8 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651 (1f35fa5c3e20 @ 23)
Apr 26 14:55:00 workstation gnome-shell[1775]: JS ERROR: Error: Argument 'instance' (type interface) may not be null#012_init/GObject.Object.prototype.disconnect@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:571:24#012_remove@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:104:18#012removeWithLabel@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52:22#012_restoreDash@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829:30#012_toggle/this._toggleLater<@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651:18
Apr 26 14:55:00 workstation gnome-shell[1775]: Object .Gjs_ubuntu-dock_ubuntu_com_dash_DashToDock_MyDash (0x5580607b9060), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Apr 26 14:55:00 workstation gnome-shell[1775]: == Stack trace for context 0x55805f48c710 ==
Apr 26 14:55:00 workstation gnome-shell[1775]: #0   558062a3ac60 i   resource:///org/gnome/gjs/modules/core/overrides/GObject.js:571 (3bcfd8ab6c40 @ 25)
Apr 26 14:55:00 workstation gnome-shell[1775]: #1   558062a3abc8 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:104 (1f35fa5c5d30 @ 17)
Apr 26 14:55:00 workstation gnome-shell[1775]: #2   558062a3ab20 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52 (1f35fa5c5b50 @ 81)
Apr 26 14:55:00 workstation gnome-shell[1775]: #3   558062a3aa58 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829 (1f35fa5c53d0 @ 133)
Apr 26 14:55:00 workstation gnome-shell[1775]: #4   558062a3a9c8 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651 (1f35fa5c3e20 @ 23)
Apr 26 14:55:00 workstation gnome-shell[1775]: JS ERROR: Error: Argument 'instance' (type interface) may not be null#012_init/GObject.Object.prototype.disconnect@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:571:24#012_remove@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:104:18#012removeWithLabel@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52:22#012_restoreDash@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829:30#012_toggle/this._toggleLater<@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651:18
Apr 26 14:55:02 workstation gnome-shell[1775]: Object .Gjs_ubuntu-dock_ubuntu_com_dash_DashToDock_MyDash (0x5580607b9060), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Apr 26 14:55:02 workstation gnome-shell[1775]: == Stack trace for context 0x55805f48c710 ==
Apr 26 14:55:02 workstation gnome-shell[1775]: #0   558062a3ac60 i   resource:///org/gnome/gjs/modules/core/overrides/GObject.js:571 (3bcfd8ab6c40 @ 25)
Apr 26 14:55:02 workstation gnome-shell[1775]: #1   558062a3abc8 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:104 (1f35fa5c5d30 @ 17)
Apr 26 14:55:02 workstation gnome-shell[1775]: #2   558062a3ab20 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52 (1f35fa5c5b50 @ 81)
Apr 26 14:55:02 workstation gnome-shell[1775]: #3   558062a3aa58 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829 (1f35fa5c53d0 @ 133)
Apr 26 14:55:02 workstation gnome-shell[1775]: #4   558062a3a9c8 i   /home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651 (1f35fa5c3e20 @ 23)
Apr 26 14:55:02 workstation gnome-shell[1775]: JS ERROR: Error: Argument 'instance' (type interface) may not be null#012_init/GObject.Object.prototype.disconnect@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:571:24#012_remove@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:104:18#012removeWithLabel@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52:22#012_restoreDash@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829:30#012_toggle/this._toggleLater<@/home/milos/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651:18