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

Strange behaviour on sleep #1185

Open xpt1x opened 4 years ago

xpt1x commented 4 years ago

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

warbosstodd commented 4 years ago

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

xpt1x commented 4 years ago

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

xaver13 commented 4 years ago

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

bheerssen commented 4 years ago

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.

Ayush-Walia commented 4 years ago

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

matsfjellner commented 4 years ago

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

rohanmohapatra commented 4 years ago

Is it fixed?

syaoo commented 4 years ago

same issue on Ubuntu 20.04 dock on lockscreen two docks

olson-sean-k commented 4 years ago

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.

uframer commented 4 years ago

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.

marto-ales commented 4 years ago

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

cd /usr/share/gnome-shell/extensions/
sudo mv ubuntu-dock@ubuntu.com{,.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.

xpt1x commented 4 years ago

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

cd /usr/share/gnome-shell/extensions/
sudo mv ubuntu-dock@ubuntu.com{,.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 !

marto-ales commented 4 years ago

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

xpt1x commented 4 years ago

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

alexzorila commented 4 years ago

@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.

xpt1x commented 4 years ago

@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 )

johnmee commented 4 years ago

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/dash-to-dock@micxgx.gmail.com/utils.js:104:18
                                          removeWithLabel@/home/john/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52:22
                                          _restoreDash@/home/john/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829:30
                                          _toggle/this._toggleLater<@/home/john/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651:18
May 03 10:35:02 bigbox gnome-shell[2407]: #4   55b6d26d1818 i   /home/john/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1651 (377ac4a0088 @ 23)
May 03 10:35:02 bigbox gnome-shell[2407]: #3   55b6d26d18a8 i   /home/john/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1829 (377ac4a05b0 @ 133)
May 03 10:35:02 bigbox gnome-shell[2407]: #2   55b6d26d1970 i   /home/john/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js:52 (377ac4a0d30 @ 81)
May 03 10:35:02 bigbox gnome-shell[2407]: #1   55b6d26d1a18 i   /home/john/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/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??

conualfy commented 4 years ago

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.

bheerssen commented 4 years ago

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.

KontactoServicios commented 4 years ago

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.

4AHZ commented 4 years ago

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

ghost commented 4 years ago

cd /usr/share/gnome-shell/extensions/ sudo mv ubuntu-dock@ubuntu.com{,.bak}

Works for me. Ubuntu 20.04. Thanks!

jcasfer83 commented 4 years ago

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
Nakkhatra commented 3 years ago

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

cd /usr/share/gnome-shell/extensions/
sudo mv ubuntu-dock@ubuntu.com{,.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?

Deval99 commented 2 years ago

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

cd /usr/share/gnome-shell/extensions/
sudo mv ubuntu-dock@ubuntu.com{,.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 ubuntu-dock@ubuntu.com.bak ubuntu-dock@ubuntu.com

rela589n commented 3 weeks ago

Is anybody facing the same problem on Wayland?