Bug 201780 - window decoration disappears before rest of window on close
Summary: window decoration disappears before rest of window on close
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: HI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 203452 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-28 16:25 UTC by S. Christian Collins
Modified: 2009-08-19 15:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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