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

Dock autohides always (ignoring autohide only when window is over the dock) after context menu action

Open jeroni opened this issue 3 years ago • 7 comments

It happens after executing any action from the context menu. As an example, right click Nautilus and open a new instance from the context menu. The dock will auto hide even without any window over it. To make it appear again you can disable - enable auto hide from the settings or push with any window to make it has the default behaviour again.

gnome-shell-extension-dash-to-dock 1:72+5+g24fd566-1 Gnome 42.2 Archlinux

https://user-images.githubusercontent.com/9005992/176144203-c0fc35f2-4d7b-4522-82a9-c8285c2acabd.mp4

jeroni avatar Jun 28 '22 09:06 jeroni

I confirm the same is happening.

webmastak avatar Jul 11 '22 19:07 webmastak

same issue

TheBakerCat avatar Jul 21 '22 19:07 TheBakerCat

@micheleg @3v1n0

Very good bug report. You really covered all the issues and workarounds correctly, and your video is an excellent demonstration. I confirm that auto-hide is broken.

I have verified it on:

  • Dash to Dock compiled from GIT Master on July 20th, 2022. This commit is what I run: https://github.com/micheleg/dash-to-dock/commit/0fc9d94b59e91e1c08ad38762ebc55b7deaf99ab
  • GNOME 42.3 (Fedora Workstation 36)
  • Both X11 and Wayland.
  • With Caffeine/Espresso extension disabled, Dash to Dock is still broken. I just tried it because of #1744 but disabling it didn't help.
  • You don't have to select any menu item. Just the action of opening the context menu is enough to bug out Dash to Dock. So you can right-click an app, then right-click the app again to close the menu, and now the dock will be bugged and stuck in auto-hide.

Arcitec avatar Jul 27 '22 17:07 Arcitec

Downstream Ubuntu bug: https://launchpad.net/bugs/1983130

vanvugt avatar Aug 01 '22 04:08 vanvugt

Spontaneously, it seems likely that the bug is that Dash to Dock thinks the popup menu is a window that's overlapping with the dock, and therefore hides itself. And then D2D probably doesn't get any "window closed/moved" event regarding the popup menu when it closes, so D2D never re-appears.

@vanvugt Great to see the downstream bug report too. This is an annoying one, so the more eyes the better.

Arcitec avatar Aug 07 '22 02:08 Arcitec

This earlier, merged pull request seems related:

https://github.com/micheleg/dash-to-dock/pull/1751

Arcitec avatar Aug 20 '22 17:08 Arcitec

This is never fixed in DtD 73. I just installed version 73 from the Fedora 36 repo and the problem remains: I right-click on the dock, call the menu and the dock is immediately hidden. You can return it only by calling the DtD settings again.

The interesting thing is that in version 72 this problem was not.

maxborowsky avatar Sep 06 '22 12:09 maxborowsky

This is a regression of 77dac94755ee80fceec9d8b2aa0ed0a550bcc531 and it should be handled by #1849

3v1n0 avatar Oct 09 '22 23:10 3v1n0

When the ubuntu-dock 74ubuntu2 version will be released? It should contain the fix of this issue.

If I clone the repository, I'm still getting ubuntu-dock 74ubuntu1.

D3vil0p3r avatar Jan 06 '23 00:01 D3vil0p3r

Yes @3v1n0 just forgot to push 74ubuntu2 to git when it was released to Ubuntu. I'm sure he'll fix it soon.

vanvugt avatar Jan 06 '23 01:01 vanvugt

Yes @3v1n0 just forgot to push 74ubuntu2 to git when it was released to Ubuntu. I'm sure he'll fix it soon.

Thank you guys. Let me know when it will be pushed to git please.

D3vil0p3r avatar Jan 06 '23 01:01 D3vil0p3r