STEPS TO REPRODUCE 1. Enable Invert effect 2. Hover mouse on window decoration buttons OBSERVED RESULT When the Invert effect is enabled the window decoration buttons (maximize, minimize, close) are not rerendered instantly, but have glitches: circles may be rendered on multiple buttons simultaneously, partially rendered or not rendered at all. EXPECTED RESULT When the Invert effect is enabled the window decoration buttons rendering is the same, as when no effect is applied (buttons are rerendered instantly with no glitches and the invert effect applied). SOFTWARE/OS VERSIONS Linux/KDE Plasma: Neon Developer KDE Plasma Version: 5.26.80 KDE Frameworks Version: 5.102 Qt Version: 5.15.8
The issue is still present in Plasma 5.26.90. I can see similar glitches not only with updating titlebar buttons, but also with updating titlebar text. This issue also affects other OffscreenEffect plugins.
+1, I also observe this problem
Iām experiencing the same issue.
Still present in current 5.27 beta
Something else I've just noticed: This bug disappears when the window in question is constantly rendering something. To confirm this, you can follow these steps: 1. Open Firefox 2. Enable the server-side titlebar 3. Start playing a video 4. Enable invert effect 5. Hover mouse over Firefox' server-side decorations You will observe, that as long as the video is playing (being rendered), the window decorations respond normally. Pause/stop the video, and the window decorations return to glitching.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3634
Git commit 264a19247bc081dfb4701509b1920a539e0b65bc by David Redondo. Committed on 20/02/2023 at 10:55. Pushed by davidre into branch 'master'. Mark Window as damaged when decoration or shadow changes Enforms thumbnails, screencasts and effects of these changes and that the window needs repainting. FIXED-IN:5.27.1 M +5 -0 src/scene/windowitem.cpp https://invent.kde.org/plasma/kwin/commit/264a19247bc081dfb4701509b1920a539e0b65bc
Git commit bbe2d4236c8c5437bafd9e09d06e69a35e548e31 by David Redondo. Committed on 20/02/2023 at 11:28. Pushed by vladz into branch 'Plasma/5.27'. Mark Window as damaged when decoration or shadow changes Enforms thumbnails, screencasts and effects of these changes and that the window needs repainting. FIXED-IN:5.27.1 (cherry picked from commit 264a19247bc081dfb4701509b1920a539e0b65bc) M +5 -0 src/scene/windowitem.cpp https://invent.kde.org/plasma/kwin/commit/bbe2d4236c8c5437bafd9e09d06e69a35e548e31