ubuntu-mate / mate-dock-applet

application dock for the MATE panel
GNU General Public License v3.0
125 stars 34 forks source link

context menu always positioned at the first app in the dock, even when right-clicking on another #197

Open arxo opened 4 years ago

arxo commented 4 years ago

In Ubuntu MATE 20.04 the dock applet 20.04.0 always shows the context-menu at the first application icon, even when you click on another. This was not the case in UM 18.04.

image

arxo commented 4 years ago

launchpad bug: https://bugs.launchpad.net/ubuntu-mate/+bug/1875687

Kilian commented 2 years ago

I just updated to 20.04 and ran into this issue essentially straight away :( I searched for where the menu is instantiated and I think that's here:

https://github.com/ubuntu-mate/mate-dock-applet/blob/01ddd887b72e6959c98182a012b14086946dcab8/src/dock.in#L1481

But I don't know enough GTK to know how to attach the context menu to the right icon. If someone could give me pointers or help me to the right documentation I'd be happy to make a PR.