Bug 299358

Summary: Shadow Artifacts when closing window
Product: [Plasma] kwin Reporter: Martin Flöser <mgraesslin>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Severity: normal Keywords: regression
Priority: NOR Flags: thomas.luebking: ReviewRequest+
Version: git master   
Target Milestone: 4.9 Beta 1   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.0
Attachments: Shadows where a window had been

Description Martin Flöser 2012-05-04 10:06:59 UTC
Created attachment 70851 [details]
Shadows where a window had been

Steps to Reproduce:
1. use Oxygen window decoration
2. use Compositing
3. Verify that shadows are rendered
4. close window

Actual Result:
Shadows are still shown and are removed with next full screen repaint

Expected Result:
Shadows are removed together with the window

Noticed this problem after the many merges on May 03rd.
Comment 1 Thomas Lübking 2012-05-04 11:43:26 UTC
- kwin/gles, backend relevant?
- w/ or w/o altered vsync?
- closing animations?
- oxygen-settings / "window activity change" animated?
Comment 2 Martin Flöser 2012-05-05 09:13:41 UTC
Reproduced the issues with:
* Oxygen
* Aurorae
* OpenGL 1/2 (gles untested)

Problem cannot be reproduced with XRender!

As closing animation Fade is used (verified by using animation very slow).
Comment 3 Thomas Lübking 2012-05-05 13:29:56 UTC
can reproduce - it's likely either because wrong quads, wrong clipping or wrong copyToDeleted
gonna have a close look
Comment 4 Thomas Lübking 2012-05-05 19:08:26 UTC
Comment 5 Thomas Lübking 2012-05-06 11:18:57 UTC
Git commit 51f96f6469fb6c6ff32964a6fa9d1fdb66d7d881 by Thomas Lübking.
Committed on 05/05/2012 at 16:38.
Pushed by luebking into branch 'master'.

invoke decorationRect() in calculations for visibleRect()
FIXED-IN: 4.9.0
REVIEW: 104865

M  +3    -2    kwin/toplevel.cpp