| Summary: | Not all screens update on window re-paints when using Zoom effect on Wayland | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Ritchie Frodomar <ritchie> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | kdedev, szaszm, xaver.hugl |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 6.0.4 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Right-click menu partially painted on one screen but not the other | ||
|
Description
Ritchie Frodomar
2024-05-16 05:22:10 UTC
After looking at the code for Kwin's Zoom effect (specifically ZoomEffect::zoomIn() in zoom.cpp), I see why zooming in/out/around the screen doesn't cause these repaint issues. At the very end, there's a call to effects->addRepaintFull() - which ultimately tells the compositor to repaint the entire scene. With guidance, I could likely submit a merge request that fixes this for partial repaints. I just don't know enough of how it works yet. Created attachment 169583 [details]
Right-click menu partially painted on one screen but not the other
Managed to capture the same bug happening in a different way. If you're able to right-click without moving the mouse or otherwise triggering another repaint, you can get a context menu to appear on one screen but not the other.
Same happens if you're able to dismiss the right-click menu without causing an additional repaint.
|