gtk4-layer-shell icon indicating copy to clipboard operation
gtk4-layer-shell copied to clipboard

windows with revealers still reserve size when revealers hidden

Open brainlessbitch opened this issue 8 months ago • 3 comments

windows with revealers still seem to take up their full size even when all the revealers are hidden, gtk inspector doesn't show them taking up space, but the area under where they used to be is not clickable, tested in niri and sway with my shell's notifications

brainlessbitch avatar Apr 04 '25 02:04 brainlessbitch

i found a workaround, i just set the default size of the window to the size of it's child whenever it requested allocation

brainlessbitch avatar Apr 04 '25 07:04 brainlessbitch

Just hide window when revealer animations is done (also if you have a bug with frozen revealers just add rgba(0, 0, 0, 0.01) background to it, it's gsk issue)

koeqaife avatar Jul 13 '25 13:07 koeqaife

Yeah, the size negotiation in general is screwy. As long as there's workarounds. Probably won't make changes to the logic unless there's a clear bug and way to fix it without other side effects. I recommend doing whatever works.

wmww avatar Jul 14 '25 17:07 wmww