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

Ubuntu 20.04 dock overlays after screen unlock

Open albydnc opened this issue 4 years ago • 37 comments

I've installed dash to dock plugin on my fresh ubuntu 20.04 desktop installation. After I unlock the screen, the dock is over a dock without the trashcan. If the window is in fullscreen the dock hides and if I hover it shows as expected. I've attached a screenshot of the bug. Schermata da 2020-05-26 10-09-04

albydnc avatar May 26 '20 08:05 albydnc

I have the same issue

pzzhai avatar May 26 '20 14:05 pzzhai

i have the same issue but mine is the default Ubuntu 20.04 dash instead of 2 docks appearing, but doesn't happen if i hit the (super key+ L) if i manually lock it with that shortcut it doesn't bug, is the only way to prevent this bug i have found

Grod30 avatar May 28 '20 03:05 Grod30

I have the same issue. After I login back from sleep or screen lock, the Ubuntu default dock appears over the Dash to Dock dock. I'm running Ubuntu 20.04 AMD64, Gnome version 3.36.2, Dash to Dock version 68. I can share more info if needed.

Screenshot from 2020-05-28 15-27-16

carlosgvaso avatar May 28 '20 20:05 carlosgvaso

I have the same issue. After I login back from sleep or screen lock, the Ubuntu default dock appears over the Dash to Dock dock. I'm running Ubuntu 20.04 AMD64, Gnome version 3.36.2, Dash to Dock version 68. I can share more info if needed.

Screenshot from 2020-05-28 15-27-16

Hello, would you mind share with me the monitoring tool on your desktop? It looks awesome. :)

pzzhai avatar May 29 '20 13:05 pzzhai

I have the same issue. After I login back from sleep or screen lock, the Ubuntu default dock appears over the Dash to Dock dock. I'm running Ubuntu 20.04 AMD64, Gnome version 3.36.2, Dash to Dock version 68. I can share more info if needed. Screenshot from 2020-05-28 15-27-16

Hello, would you mind share with me the monitoring tool on your desktop? It looks awesome. :)

Thanks. I use Conky. It lets you display any monitoring information about your system in almost any way you want. It has a bit of a learning curve to get started on it. I'd recommend that you google for "cool conky configs" (or something like that), pick a sample config that you like, and customize it to look exactly how you want.

carlosgvaso avatar May 29 '20 13:05 carlosgvaso

I have the same issue. After I login back from sleep or screen lock, the Ubuntu default dock appears over the Dash to Dock dock. I'm running Ubuntu 20.04 AMD64, Gnome version 3.36.2, Dash to Dock version 68. I can share more info if needed. Screenshot from 2020-05-28 15-27-16

Hello, would you mind share with me the monitoring tool on your desktop? It looks awesome. :)

Thanks. I use Conky. It lets you display any monitoring information about your system in almost any way you want. It has a bit of a learning curve to get started on it. I'd recommend that you google for "cool conky configs" (or something like that), pick a sample config that you like, and customize it to look exactly how you want.

Get it! Thanks for your help.

pzzhai avatar May 29 '20 13:05 pzzhai

Did you try removing the ubuntu-dock-package? This solves a couple of issues here... the ubuntu-dock doesn't seem to care if it's disabled or not... so a "sudo apt remove gnome-shell-extension-ubuntu-dock" may be worth a try (please watch out for other packages, which may be getting removed - like ubuntu-desktop... I didn't encounter this, but other people did).

sebibasti0815 avatar May 30 '20 08:05 sebibasti0815

Did you try removing the ubuntu-dock-package? This solves a couple of issues here... the ubuntu-dock doesn't seem to care if it's disabled or not... so a "sudo apt remove gnome-shell-extension-ubuntu-dock" may be worth a try (please watch out for other packages, which may be getting removed - like ubuntu-desktop... I didn't encounter this, but other people did).

Thanks I finally fixed it by disabling ubuntu-dock,

gnome-extensions disable [email protected]

Here is the reference: https://askubuntu.com/questions/1236710/facing-some-problem-with-gnome-dash-to-dock-extension-in-ubuntu-20-04

pzzhai avatar May 30 '20 16:05 pzzhai

Did you try removing the ubuntu-dock-package? This solves a couple of issues here... the ubuntu-dock doesn't seem to care if it's disabled or not... so a "sudo apt remove gnome-shell-extension-ubuntu-dock" may be worth a try (please watch out for other packages, which may be getting removed - like ubuntu-desktop... I didn't encounter this, but other people did).

Thanks I finally fixed it by disabling ubuntu-dock,

gnome-extensions disable [email protected]

Here is the reference: https://askubuntu.com/questions/1236710/facing-some-problem-with-gnome-dash-to-dock-extension-in-ubuntu-20-04

I disabled the Ubuntu Dock extension using the Gnome Extensions app, and that worked too. Thanks!

carlosgvaso avatar Jun 01 '20 14:06 carlosgvaso

Screenshot from 2020-06-01 09-26-15

There might be other stuff related to this bug. Despite disabling the Ubuntu Dock, and Dash to Dock working, Gnome Tweaks shows that Dash to Dock has a problem. Is there a way to see the Dash to Dock log to find the issue?

carlosgvaso avatar Jun 01 '20 14:06 carlosgvaso

Ubuntu comes with dash-to-dock installed by default. If you install it again, the result is that, two docks. Instead of installing it again, try updating the one that already comes with the operating system.

pedropaulosuzuki avatar Jun 15 '20 20:06 pedropaulosuzuki

@pedropaulosuzuki, not true, you are mixing up ubuntu-dock with dash-to-dock.

alexeymuranov avatar Jun 15 '20 21:06 alexeymuranov

@pedropaulosuzuki, not true, you are mixing up ubuntu-dock with dash-to-dock.

Yes, it does. Just type gsettings get org.gnome.shell.extensions.dash-to-dock custom-background-color on Ubuntu 20.04 LTS terminal and you will see that is does indeed.

pedropaulosuzuki avatar Jun 15 '20 21:06 pedropaulosuzuki

@pedropaulosuzuki, does what?

alexeymuranov avatar Jun 15 '20 21:06 alexeymuranov

@pedropaulosuzuki, i did not call you a liar, i said that "Ubuntu comes with dash-to-dock installed by default" is false. (It comes with gnome-shell-extension-ubuntu-dock.)

You did not answer the question: does what?

P.S. "Don't want two docks, uninstall one." -- what i want is irrelevant.

alexeymuranov avatar Jun 15 '20 22:06 alexeymuranov

@pedropaulosuzuki, i did not call you a liar, i said that "Ubuntu comes with dash-to-dock installed by default" is false.

You did not answer the question: does what?

Ok, sorry.

I said that Ubuntu does indeed come with the dash-to-dock extension enabled. You can verify that by typing 'gsettings get org.gnome.shell.extensions.dash-to-dock custom-background-color', which should return '#ffffff', showing that the extension is indeed installed by default in the system, I just tested that yesterday on my fresh installed Ubuntu 20.04 LTS.

pedropaulosuzuki avatar Jun 15 '20 22:06 pedropaulosuzuki

@pedropaulosuzuki, this is not dash-to-dock, this is ubuntu-dock. Not the same thing.

alexeymuranov avatar Jun 15 '20 22:06 alexeymuranov

If you want, you can even change the default Ubuntu menu position by typing 'gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true' and it will change the default ubuntu dock position.

pedropaulosuzuki avatar Jun 15 '20 22:06 pedropaulosuzuki

@pedropaulosuzuki, this is not dash-to-dock, this is ubuntu-dock. Not the same thing.

Look man, I'm showing you facts, and you are showing your opinion. Have you tested the command I told you? Because it seems you have not.

pedropaulosuzuki avatar Jun 15 '20 22:06 pedropaulosuzuki

Can you show trash can in Ubuntu Dock? In Dash-to-Dock you can.

alexeymuranov avatar Jun 15 '20 22:06 alexeymuranov

Can you show trash can in Ubuntu Dock? In Dash-to-Dock you can.

Yes, by changing the settings via the terminal.

pedropaulosuzuki avatar Jun 15 '20 22:06 pedropaulosuzuki

Just run the command I showed you. If you don't do it or prove me wrong with facts, then I will no longer respond to you.

pedropaulosuzuki avatar Jun 15 '20 22:06 pedropaulosuzuki

@pedropaulosuzuki, I've already proved you wrong in a different issue discussion: there is no gnome-shell-extension-dashtodock package for ubuntu 20.04, hence it cannot come "installed by default".

  • https://packages.ubuntu.com/search?keywords=gnome-shell-extension-dashtodock

"Just run the command I showed you." -- you did not show me a command to show trash in Ubuntu Dock.

alexeymuranov avatar Jun 15 '20 22:06 alexeymuranov

@pedropaulosuzuki, I've already proved you wrong in a different issue discussion: there is no gnome-shell-extension-dashtodock package for ubuntu 20.04, hence it cannot come "installed by default".

* https://packages.ubuntu.com/search?keywords=gnome-shell-extension-dashtodock

"Just run the command I showed you." -- you did not show me a command to show trash in Ubuntu Dock.

gsettings set org.gnome.shell.extensions.dash-to-dock show-trash true

Screenshot from 2020-06-15 19-48-13 Screenshot from 2020-06-15 19-48-10

You made me turn my computer on, hope now you understand that you never proved me wrong. Here is your trash can. Happy now?

pedropaulosuzuki avatar Jun 15 '20 22:06 pedropaulosuzuki

@pedropaulosuzuki, thanks, indeed, i am more happy now. I thought for some reason that there was a problem with trash can in Ubuntu Dock. I stand corrected on this. I appreciate your detailed answer.

If the difference between Ubuntu Dock and Dash-to-Dock is minor, maybe it is not worth a discussion. However, i believe that in previous versions the difference was noticeable.

I said that it was not true that "Ubuntu comes with dash-to-dock installed by default" because it does not, it comes with Ubuntu Dock, which is a distinct package. Maybe you are right that the difference is not worth bothering, i do not have a counterexample for now.

alexeymuranov avatar Jun 15 '20 23:06 alexeymuranov

Just to be clear, Ubuntu Dock is a modified version of Dash to Dock so this is a bit of crude semantic banter here.

I think the main difference for a user is that there is no clear way to configure Ubuntu-Dock. Ubuntu itself says, in the interface, that if you want to configure "Ubuntu Dock" you should install "Dash To Dock" instead.

Either way, installing Dash to Dock has always worked in the past to shut down Ubuntu Dock without running anything from the command line or using Gnome Tweaks, so it seems like Canonical has done something wrong this time.

Dash-to-Dock may be able to overcome this? Or maybe we need to file a bug report with Canonical?

chrisl8 avatar Jun 15 '20 23:06 chrisl8

@chrisl8

Either way, installing Dash to Dock has always worked in the past to shut down Ubuntu Dock without running anything from the command line or using Gnome Tweaks, so it seems like Canonical has done something wrong this time.

Hm, not my experience. In Ubuntu 18.04 i ended up uninstalling Ubuntu Dock to avoid conflicts similar to the one of this issue (which caused removal of ubuntu-desktop package, which then caused some problems when upgrading to 20.04).

alexeymuranov avatar Jun 15 '20 23:06 alexeymuranov

@pedropaulosuzuki, thanks, indeed, i am more happy now. I thought for some reason that there was a problem with trash can in Ubuntu Dock. I stand corrected on this. I appreciate your detailed answer.

If the difference between Ubuntu Dock and Dash-to-Dock is minor, maybe it is not worth a discussion. However, i believe that in previous versions the difference was noticeable.

I said that it was not true that "Ubuntu comes with dash-to-dock installed by default" because it does not, it comes with Ubuntu Dock, which is a distinct package. Maybe you are right that the difference is not worth bothering, i do not have a counterexample for now.

Ok! Sorry for my last replies, this quarantine thing is driving me crazy 😅.

Anyway, yeah, it is a different package, but under the hood is almost the same thing. So, as most things are similar, using gsettings for tweaking the dock is most of the times good enough, and can avoid most bugs like this one.

Just to be clear, Ubuntu Dock is a modified version of Dash to Dock so this is a bit of crude semantic banter here.

I think the main difference for a user is that there is no clear way to configure Ubuntu-Dock. Ubuntu itself says, in the interface, that if you want to configure "Ubuntu Dock" you should install "Dash To Dock" instead.

Either way, installing Dash to Dock has always worked in the past to shut down Ubuntu Dock without running anything from the command line or using Gnome Tweaks, so it seems like Canonical has done something wrong this time.

Dash-to-Dock may be able to overcome this? Or maybe we need to file a bug report with Canonical?

I think maybe dash-to-dock could see if there is already another dock present and, if there is, disable it to avoid duplication. But I think we should open an issue to canonical, as it should be easier to change the 'show apps' button to the top in the settings, as well as both color and transparency of the dock, since we can already change its size and position in the settings anyway.

pedropaulosuzuki avatar Jun 15 '20 23:06 pedropaulosuzuki

I got the same issue. When I unlock the screen, this extension goes to error. 2020-07-02-22-57-28

eallion avatar Jul 02 '20 14:07 eallion

I've similar issue. After screen unlock dashtodock still works but default gnome dash also appears at the same time.

image image

And also I got this error sign everytime. image

When I restart the gnome shell using alt + f2 and typing r, it returns to normal and error became fixed.

enesdemirag avatar Jul 21 '20 14:07 enesdemirag