We need to schedule a workspace repaint in minimize() to ensure that
there are no ghost windows on Wayland.
Details
- Reviewers
davidedmundson apol - Group Reviewers
KWin - Commits
- R108:275082ad4991: Schedule a workspace repaint in AbstractClient::minimize()
Make sure that window minimization effects are disabled,
minimize a window. Without this patch, you are going to see a ghost
window. With this patch, no ghost window.
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Go to system settings, and disable "squash" effect or whatever effect you use to animate minimized windows.
I can confirm it's broken now (for me only on one of my screens, maybe because damage propagation is broken on multiscreen).
+1 on the change, make sense to me.
No, whether the window is damaged doesn't really matter. Due to somewhat incomplete support for per-screen rendering, we force full repaints on all screens but one. Maybe that's why you weren't able to reproduce this bug previously.
For what it's worth, this bug is not reproducible on X11 because X11Client::internalHide() schedules a repaint.