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

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

Closed jeroni closed 1 year ago

jeroni commented 2 years ago

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

webmastak commented 2 years ago

I confirm the same is happening.

TheBakerCat commented 2 years ago

same issue

Arcitec commented 2 years ago

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

vanvugt commented 2 years ago

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

Arcitec commented 2 years ago

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 commented 2 years ago

This earlier, merged pull request seems related:

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

maxborowsky commented 2 years ago

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.

3v1n0 commented 1 year ago

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

D3vil0p3r commented 1 year ago

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.

vanvugt commented 1 year ago

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

D3vil0p3r commented 1 year ago

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.