Summary: | After porting to OffscreenEffect the Invert effect causes glitches when rerendering window decoration buttons on mouse hover | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | andriy.parhomenko |
Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | h95mryfrgr, luisbocanegra17b, nate, qydwhotmail, s_chriscollins, vitalif, xnaxdy |
Priority: | NOR | Keywords: | regression |
Version: | 5.26.90 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=462876 | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/bbe2d4236c8c5437bafd9e09d06e69a35e548e31 | Version Fixed In: | 5.27.1 |
Description
andriy.parhomenko
2023-01-17 17:14:23 UTC
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 |