pop-os / cosmic-comp

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

Floating windows flicker when opened over maximized windows #526

Closed ryanabx closed 1 week ago

ryanabx commented 1 month ago

My hunch is this commit caused it, as it caused a few other regressions with floating windows: https://github.com/pop-os/cosmic-comp/commit/a3df48fe176e3fdabcc3eb8d54e21fc9aa2fe3d5

To reproduce:

Maximize window A Drag window B to tile to the left Drag window C to tile to the right

Result:

Only B or C can be shown at a time, never both

This oddly does not occur UNLESS there is a maximized window behind windows B and C

Screenshots (since screen capture is broken in a recent update)

screenshot-2024-05-31-05-56-22 screenshot-2024-05-31-05-56-33

git-f0x commented 1 month ago

From my testing, tiling the windows isn't necessary. Only one window can be visible over a maximized window in all cases (2 windows can be visible while dragging one of them, but that's probably related to an already reported issue).

ryanabx commented 1 month ago

From my testing, tiling the windows isn't necessary.

It's just an easy way to reproduce

jacobgkau commented 1 week ago

This is still happening on 9cd553e.

It seems to have gotten worse with recent updates; I just applied updates & rebooted, and now, even a single floating window over a maximized window flickers.

Drakulix commented 1 week ago

Fixed by da9af7ad23ea91d850ab81c47deefecd40c1f972