Astal icon indicating copy to clipboard operation
Astal copied to clipboard

OSD remains focusable after disappearing if you change the transition type to Crossfade

Open MayRedwood opened this issue 11 months ago • 1 comments

Describe the bug Using the JS OSD example, if you change the transition type in this line to CROSSFADE, the OSD window will remain focusable even after becoming invisible. This effectively means that you can't mouse click on anything in a window that is "under" the OSD area. This doesn't happen with any other transition type.

To Reproduce As above, just change the transition type value in line 40.

Expected behavior The OSD should not be focusable when invisible, just like with every other transition type.

Additional context This might be related to some broader revealer weirdness, but I'm not an expect in how GTK works, so I decided to report this specifically.

MayRedwood avatar Jan 30 '25 15:01 MayRedwood

Hi, I noticed the same. Setting the OSD window property clickThrough like this avoids this issue.

Neurarian avatar Mar 10 '25 21:03 Neurarian