Bug 298428

Summary: Window title animation flashes when window has been resized
Product: [Plasma] Oxygen Reporter: Eike Hein <hein>
Component: win decoAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED FIXED    
Severity: normal CC: hugo.pereira.da.costa
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Eike Hein 2012-04-19 17:01:10 UTC
The Oxygen window decoration (optionally, on by default) animates window title changes with a transition animation. This usually works fine, but when the window has been resized prior to a title change, the transition is not smooth but rather flashes briefly.

I've observed this with the Firefox download manager window, which shows the completion percentage of the running downloads in the window title.
Comment 1 Eike Hein 2012-04-19 17:01:51 UTC
Version is 4.8.2 BTW.
Comment 2 Hugo Pereira Da Costa 2012-04-23 11:00:37 UTC
Git commit b59658743ff4b32239f66c9b87ab3c583e8a4ce9 by Hugo Pereira Da Costa.
Committed on 20/04/2012 at 11:20.
Pushed by hpereiradacosta into branch 'master'.

mark title transition as dirty when resizing client, to avoid flicker.

M  +5    -0    kwin/clients/oxygen/oxygenclient.cpp

http://commits.kde.org/kde-workspace/b59658743ff4b32239f66c9b87ab3c583e8a4ce9
Comment 3 Hugo Pereira Da Costa 2012-04-23 11:05:38 UTC
Git commit 05ad4cbc3b954af14113149bf07eda9c0c7aca79 by Hugo Pereira Da Costa.
Committed on 20/04/2012 at 11:20.
Pushed by hpereiradacosta into branch 'KDE/4.8'.

mark title transition as dirty when resizing client, to avoid flicker.

M  +4    -0    kwin/clients/oxygen/oxygenclient.cpp

http://commits.kde.org/kde-workspace/05ad4cbc3b954af14113149bf07eda9c0c7aca79
Comment 4 Hugo Pereira Da Costa 2012-04-23 11:05:54 UTC
That fixes it, as far as I can tell.
Comment 5 Eike Hein 2012-04-23 12:46:34 UTC
Thanks!