pop-os / cosmic-comp

Compositor for the COSMIC desktop environment
GNU General Public License v3.0
467 stars 83 forks source link

Notifications behind applet drop-down prevents drop-down from being interacted with #698

Open jacobgkau opened 1 month ago

jacobgkau commented 1 month ago

Not sure what component(s) this would involve, but I'm starting it off here since it affects applets.

If I have a notification showing up behind a place I want to click within an applet menu, clicking closes the applet menu instead of doing what it's supposed to.

For example, in the video below, I try to open the "Visible Wireless Networks" list. The first time, with no notifications, it works; the second time, the network applet closes when I click, because a notification was behind where I clicked.

https://github.com/user-attachments/assets/3c3b8927-07a5-4c10-b928-55879bde987f

Drakulix commented 1 month ago

Probably a cosmic-comp bug, I am really not too certain on this on.

@wash2 Do you know on top of your head, which layer the notifications and the panel are on? Are both on the Top-layer?

This might be another case of rendering-order != input-logic-order ...

wash2 commented 1 month ago

@wash2 Do you know on top of your head, which layer the notifications and the panel are on? Are both on the Top-layer?

Ya, both are on Top layer.

Drakulix commented 1 month ago

Yeah, it is a cosmic-comp bug (and an annoying one to fix, but at least I found the corresponding parts of the code).