gerritdevriese / kzones

KDE KWin Script for snapping windows into zones
https://store.kde.org/p/1909220
GNU General Public License v3.0
240 stars 14 forks source link

Fix (#14) `mainDialog` shows up in fullscreen windows #25

Closed codeswhite closed 1 year ago

codeswhite commented 1 year ago

Fix a critical bug where fullscreen windows (and even some windowed windows) are rendered black and the OSD is showing on top of them.

The fix is more of a workaround, I hope we may later introduce a better solution.

@gerritdevriese I havent tested it on wayland, needs testing.

gerritdevriese commented 1 year ago

Thanks, this fixes part of the problem, but I still get a black screen when a game is running and I move another window.

I think the underlying cause is the following Plasma setting: Display and Monitor - Compositor - Allow applications to block compositing. When disabled, the black screen doesn't happen anymore.

The compositor handles the transparency of windows, so when a game turns off the compositor the transparency of the OSD becomes black.