dash-to-dock icon indicating copy to clipboard operation
dash-to-dock copied to clipboard

Strange behaviour on sleep

Open xpt1x opened this issue 5 years ago • 26 comments
trafficstars

Using ubuntu20.04 LTS Extension's latest version is already installed from extensions.gnome.org ( Even tried https://github.com/micheleg/dash-to-dock/commit/1788f31b049b622f78d0e65c56bef76169022ca9 but issue is still the same )

If i turn my laptop to sleep, use it again and do a lock screen, suddenly ubuntu's dock starts appearing with dash to dock, which forms 2 docks

I checked with extensions plugin, dash to dock is turning itself off ( maybe similar to this https://github.com/micheleg/dash-to-dock/issues/1180 ) IMG_20200424_173819 Screenshot from 2020-04-24 17-38-36

xpt1x avatar Apr 24 '20 12:04 xpt1x

I'm seeing the same issue. The only way to correct it is to remove and readd the extension.

warbosstodd avatar Apr 24 '20 17:04 warbosstodd

I'm seeing the same issue. The only way to correct it is to remove and readd the extension.

Yeah, i just restart gnome shell

xpt1x avatar Apr 24 '20 19:04 xpt1x

dash04 I have similar problem, I downloaded directly from source. After display sleep dash to dock extension ended and two docks displayed. 'Dash to dock' dock and dock when dash to dock is not working. Both overlapped. Ubuntu 20.04

xaver13 avatar Apr 25 '20 09:04 xaver13

I'm also seeing the same issue with Ubuntu 20.04. Visible dock in the lock screen (with active application indicators, a minor security issue, IMO), and Dash to Dock crashed, but visible along with Ubuntu dock.

bheerssen avatar Apr 26 '20 04:04 bheerssen

same issue here, getting 2 docks after sleep, though just normally restarting the shell(no need to remove and readd extension), fixes it.

Ayush-Walia avatar Apr 26 '20 09:04 Ayush-Walia

Same for me as well, on Ubuntu 20.04, occurs after sleep and Alt+F2 -> r fixes it temporily.

matsfjellner avatar Apr 26 '20 16:04 matsfjellner

Is it fixed?

rohanmohapatra avatar Apr 28 '20 10:04 rohanmohapatra

same issue on Ubuntu 20.04 dock on lockscreen two docks

syaoo avatar Apr 28 '20 10:04 syaoo

I'm running the latest Dash-to-Dock from the extensions website on Arch Linux with GNOME 3.36 and it seems to be causing segfaults in libst after sleep. Waking the machine crashes gnome-shell and I'm brought back to the gdm login screen. Everything appears normal after logging in again.

olson-sean-k avatar Apr 28 '20 18:04 olson-sean-k

I'm also seeing the same issue with Ubuntu 20.04. Visible dock in the lock screen (with active application indicators, a minor security issue, IMO), and Dash to Dock crashed, but visible along with Ubuntu dock.

Same issue here on Ubuntu 20.04.

uframer avatar Apr 29 '20 14:04 uframer

I think I found a workaround: Disable ubuntu-dock by renaming the extension directory:

cd /usr/share/gnome-shell/extensions/
sudo mv [email protected]{,.bak}

This way just one instance of dash-to-dock is running, even after locking the session.

Let me know if this works for you too.

marto-ales avatar Apr 29 '20 20:04 marto-ales

I think I found a workaround: Disable ubuntu-dock by renaming the extension directory:

cd /usr/share/gnome-shell/extensions/
sudo mv [email protected]{,.bak}

This way just one instance of dash-to-dock is running, even after locking the session.

Let me know if this works for you too.

Well you can disable it directly no? With extensions app, we get a option under Built in section ..for ubuntu dock, i have already disabled it.

Edit:

Yes its a workaround until now, i checked putting system to sleep and locked, everything is normal ! Just disable ubuntu dock as i mentioned above !

xpt1x avatar Apr 30 '20 07:04 xpt1x

What do you mean by "extensions app"? I just know gnome-tweaks and there is no "Built in" section as far as I can see

marto-ales avatar May 01 '20 03:05 marto-ales

Ubuntu now comes with an extensions app, i was talking about that app in my comment, just search for Extensions in dash search if u are running latest ubuntu LTS Or if u have tweaks installed just scroll down and find Ubuntu Dock and disable it

xpt1x avatar May 01 '20 07:05 xpt1x

@xpt1x Hey thanks for mentioning Ubuntu 20.04 "Extensions" App. The fix for me is to disable "Ubuntu Dock" from the "Extensions" App. Using the "Tweaks" app to disable "Ubuntu Dock" does not fix the issue.

alexzorila avatar May 02 '20 00:05 alexzorila

@alexzorila make sure its disabled in both 'Extensions' app and 'Tweaks' app, i myself tried it again by enabling ubuntu dock in extensions app and issue appeared again, so i again turned it off from both apps and its again gone now ! This fix is perfectly working for me and others too, i havent seen it within last days Make sure u restart gnome shell after doing this ! ( alt+f2 -> r -> enter )

xpt1x avatar May 02 '20 04:05 xpt1x

This journal entry seems relevant...

May 03 10:35:02 bigbox gnome-shell[2407]: JS ERROR: Error: Argument 'instance' (type interface) may not be null
                                          _init/GObject.Object.prototype.disconnect@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:571:24
                                          _remove@/home/john/.local/share/gnome-shell/extensions/[email protected]/utils.js:104:18
                                          removeWithLabel@/home/john/.local/share/gnome-shell/extensions/[email protected]/utils.js:52:22
                                          _restoreDash@/home/john/.local/share/gnome-shell/extensions/[email protected]/docking.js:1829:30
                                          _toggle/this._toggleLater<@/home/john/.local/share/gnome-shell/extensions/[email protected]/docking.js:1651:18
May 03 10:35:02 bigbox gnome-shell[2407]: #4   55b6d26d1818 i   /home/john/.local/share/gnome-shell/extensions/[email protected]/docking.js:1651 (377ac4a0088 @ 23)
May 03 10:35:02 bigbox gnome-shell[2407]: #3   55b6d26d18a8 i   /home/john/.local/share/gnome-shell/extensions/[email protected]/docking.js:1829 (377ac4a05b0 @ 133)
May 03 10:35:02 bigbox gnome-shell[2407]: #2   55b6d26d1970 i   /home/john/.local/share/gnome-shell/extensions/[email protected]/utils.js:52 (377ac4a0d30 @ 81)
May 03 10:35:02 bigbox gnome-shell[2407]: #1   55b6d26d1a18 i   /home/john/.local/share/gnome-shell/extensions/[email protected]/utils.js:104 (377ac4a0f10 @ 17)
May 03 10:35:02 bigbox gnome-shell[2407]: #0   7ffedf794220 b   resource:///org/gnome/gjs/modules/core/overrides/GObject.js:571 (32e2cbeb6c40 @ 25)
May 03 10:35:02 bigbox gnome-shell[2407]: == Stack trace for context 0x55b6d06eb6e0 ==
May 03 10:35:02 bigbox gnome-shell[2407]: Object .Gjs_ubuntu-dock_ubuntu_com_dash_DashToDock_MyDash (0x55b6d14d9060), 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.

Trying to talk to an object which has been garbage collected??

johnmee avatar May 03 '20 00:05 johnmee

I experienced the dock in the locked screen, too. Ubuntu 20.04, just like it was in the previous editions of Ubuntu. I know it is Gnome Shell security bug to allow anything visible in the lock screen, but still, it should be fixed in a more permanent way.

conualfy avatar May 03 '20 23:05 conualfy

I installed vanilla gnome to see if it helps, and it sort of doesn't, really. There's no Ubuntu dock, obviously, so now I don't get overlapping docks when I unlock the session. And that's nice. However, I still sometimes see the Dash-to-Dock in the lock screen.

bheerssen avatar May 08 '20 06:05 bheerssen

I had the same condition, reading your post I take in accounta I had installed an app name extensions (manage GNOME extension) also tweaks, I do not remember why I got both. The point is after removing extension, the problem disapears, I tested and do not fail againg. I hope it can be helpfull.

KontactoServicios avatar May 26 '20 15:05 KontactoServicios

I disabled "Ubuntu Dock" both in "Extension" and "Tweaks" but the issue is not fixed.

4AHZ avatar Jun 17 '20 03:06 4AHZ

cd /usr/share/gnome-shell/extensions/ sudo mv [email protected]{,.bak}

Works for me. Ubuntu 20.04. Thanks!

ghost avatar Aug 01 '20 12:08 ghost

Hi I do have that proble with the icons... but I have asociated those also:

  1. in first suspension (sleep) the screen becomes dark.
  2. in second suspension happened the staf with the icons (now its not happening because y introduced the comads bellow).
  3. in thirth suspensión icons and top bar desapears and letters on switch off menu desaperars... Any help please? PrimeraSuspension FondoVacio MenuApagar

jcasfer83 avatar Nov 26 '20 15:11 jcasfer83

I think I found a workaround: Disable ubuntu-dock by renaming the extension directory:

cd /usr/share/gnome-shell/extensions/
sudo mv [email protected]{,.bak}

This way just one instance of dash-to-dock is running, even after locking the session.

Let me know if this works for you too.

Hi, it didn't work for me. How can I revert this setting back?

Nakkhatra avatar Nov 20 '21 12:11 Nakkhatra

I think I found a workaround: Disable ubuntu-dock by renaming the extension directory:

cd /usr/share/gnome-shell/extensions/
sudo mv [email protected]{,.bak}

This way just one instance of dash-to-dock is running, even after locking the session. Let me know if this works for you too.

Hi, it didn't work for me. How can I revert this setting back?

cd /usr/share/gnome-shell/extensions/ sudo mv [email protected] [email protected]

Deval99 avatar Jun 15 '22 13:06 Deval99