Bug 201780

Summary: window decoration disappears before rest of window on close
Product: [Plasma] kwin Reporter: S. Christian Collins <s_chriscollins>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: t.j.k.robertson
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description S. Christian Collins 2009-07-28 16:25:42 UTC
Version:            (using KDE 4.2.98)
OS:                Linux
Installed from:    Ubuntu Packages

Condition: desktop effects are enabled and the fade plugin is enabled.

Problem: when closing a window, the decoration disappears first, and it is especially noticeable over a white background.  It seems that the fade plugin fades out the window's contents, but the decoration disappears instantly.  It appears as though the fade plugin is not affecting the window decoration at all, but only its contents.

My System:
CPU: AMD Athlon(tm) 64 Processor 4000+
RAM: 2GB DDR2
Video: EVGA NVIDIA GeForce 7600 GT w/ 256 MB RAM (PCI Express)
OS: Kubuntu 9.04 i386 (with KDE 4.3 RC3)
Linux Kernel: 2.6.30-020630-generic
NVIDIA driver: 185.18.14
X.org: 7.4
Comment 1 S. Christian Collins 2009-07-28 16:28:33 UTC
I forgot to mention, I tested this with the Ozone window decoration.  A really noticeable example is to go into Firefox and select Help -> About Mozilla Firefox.  When closing the window, the effect is really obvious.
Comment 2 Martin Flöser 2009-07-28 16:37:52 UTC
Reason for that: the decorations are not copied to deleted. Wanted to fix that for quite some time :-(
Comment 3 Martin Flöser 2009-07-29 13:07:30 UTC
SVN commit 1004096 by graesslin:

Copy decoration pixmaps to Deleted. By that we see the decoration also when having a fade out animation.
As this is a bigger commit I will wait with backporting to 4.3 for something about two or three weeks and will only backport if nobody yells.
BUG: 201780

 M  +5 -0      client.h  
 M  +6 -0      composite.cpp  
 M  +39 -0     deleted.cpp  
 M  +19 -0     deleted.h  
 M  +30 -9     scene_opengl.cpp  
 M  +36 -14    scene_xrender.cpp  
 M  +2 -2      toplevel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1004096
Comment 4 Martin Flöser 2009-08-11 19:05:56 UTC
*** Bug 203452 has been marked as a duplicate of this bug. ***
Comment 5 Tim Robertson 2009-08-11 21:13:38 UTC
I don't hear any yelling. Has this been backported yet? It's just annoying enough of a bug to make me turn off the fade plugin.
Comment 6 Martin Flöser 2009-08-11 21:32:45 UTC
(In reply to comment #5)
> I don't hear any yelling. Has this been backported yet? It's just annoying
> enough of a bug to make me turn off the fade plugin.
hehe, it seems to be fine and tomorrow it will be two weeks so I will backport it together with some other changes and it will be in 4.3.1
Comment 7 Martin Flöser 2009-08-19 15:41:11 UTC
SVN commit 1013297 by graesslin:

Backport rev 1004096: Copy decoration pixmaps to Deleted. By that we see the decoration also when having a fade out animation.
CCBUG: 201780


 M  +5 -0      client.h  
 M  +6 -0      composite.cpp  
 M  +39 -0     deleted.cpp  
 M  +19 -0     deleted.h  
 M  +30 -9     scene_opengl.cpp  
 M  +36 -14    scene_xrender.cpp  
 M  +2 -2      toplevel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1013297