Summary: | On Wayland, visual bell "invert screen" setting flashes the app window white instead of inverting the screen, which doesn't match the description in the UI | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Brodie Robertson <brodierobertson54321> |
Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, kdedev, nate, nicolas.fella, postix |
Priority: | LO | ||
Version First Reported In: | 6.1.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/e11c9292d1b18ccafbf16df7610757f5ca69e35f | Version Fixed In: | 6.3.0 |
Sentry Crash Report: | |||
Attachments: | Application window flashing white |
Description
Brodie Robertson
2024-06-22 11:08:47 UTC
Technically this isn't a kwin bug (right now) it's kaccess, another process which is doing some super legacy grabbing the screen and then rendering it over the top. I assume the screen grab is failing. When we support wayland system bell we'll need this to be a kwin effect anyway, so lets leave this here. Then we can either adjust kaccess to call into kwin to show the visualisation have kwin listen for the x11 bell. We could also take the quick and easy ~~route to power~~ way out by changing the UI label in the KCM to reflect the status quo. We do already have the KWin invert effect so maybe we could hook into that. For Wayland native windows this works now with https://invent.kde.org/plasma/kwin/-/merge_requests/6064 and https://invent.kde.org/plasma/kwin/-/merge_requests/6166 For XWayland windows https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2378 is needed Git commit 1011d1e32bc76c6dcd65b426edc103904f292f81 by Nicolas Fella. Committed on 13/01/2025 at 14:23. Pushed by nicolasfella into branch 'master'. [kaccess] Use KWin to show visual bell This works much better than trying it with a window, which is currently very broken with multiple or scaled displays M +0 -1 kaccess/CMakeLists.txt M +7 -115 kaccess/kaccess.cpp M +0 -27 kaccess/kaccess.h https://invent.kde.org/plasma/plasma-desktop/-/commit/1011d1e32bc76c6dcd65b426edc103904f292f81 Git commit e11c9292d1b18ccafbf16df7610757f5ca69e35f by Nicolas Fella. Committed on 13/01/2025 at 22:12. Pushed by nicolasfella into branch 'Plasma/6.3'. [kaccess] Use KWin to show visual bell This works much better than trying it with a window, which is currently very broken with multiple or scaled displays (cherry picked from commit 1011d1e32bc76c6dcd65b426edc103904f292f81) M +0 -1 kaccess/CMakeLists.txt M +7 -115 kaccess/kaccess.cpp M +0 -27 kaccess/kaccess.h https://invent.kde.org/plasma/plasma-desktop/-/commit/e11c9292d1b18ccafbf16df7610757f5ca69e35f |