pop-os / cosmic-applibrary

WIP
GNU General Public License v3.0
51 stars 40 forks source link

After using "Remove" in right-click context menu, menu inappropriately stays open next time it loses focus #99

Open jacobgkau opened 4 months ago

jacobgkau commented 4 months ago

Normally, the right-click context menu (which contains e.g. "Run on {$GPU}") closes if you click outside of it.

https://github.com/pop-os/cosmic-applibrary/assets/7199422/2046ed05-0dec-4441-b6ab-6ff8938f1057

If the app library is open and you move an icon from a folder back to Home using the "Remove" option in the menu, then the next time the menu is opened, it takes two clicks instead of one to close. You can see that the first click still causes the app names to un-grey, so it's being registered by the app library, it's just not closing the context menu.

https://github.com/pop-os/cosmic-applibrary/assets/7199422/9c9b914c-27b5-47f3-a40c-370802c7759b

I had one case where the app menu actually froze up after this happened and, after closing it, I had to kill the process to get it to open again. That part's not happening every time, though.

(Tested on version 3349462.)