Bug 210540 - KDE2 decoration has repaint problems
Summary: KDE2 decoration has repaint problems
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 211629 215441 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-14 14:43 UTC by Lubos Lunak
Modified: 2010-01-01 18:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
untested patch (736 bytes, patch)
2009-10-15 21:40 UTC, Thomas Lübking
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Lunak 2009-10-14 14:43:22 UTC
Version:            (using KDE 4.3.1)
Installed from:    SuSE RPMs

The KDE2 decoration has redraw problems since the switch to the new decoration painting implementation. See e.g. http://bugzilla.novell.com/546675 for a screenshot.
Comment 1 Thomas Lübking 2009-10-15 21:40:30 UTC
Created attachment 37601 [details]
untested patch

though i cannot reproduce it myself, it might be /related/* to bug #199735 and/or suffer from the not explicitly closed painter, the compiler handling of short static functions (optimized inline) and the heuristic behaviour of the stack deconstrutor.

possibly fixing patch attached, but i'll have to recompile kdelibs and kdebase after a Qt4.6 change in order to guarantee that this will even compile ;-)

*it's /not/ the same as the gradients are explicitly cached as pixmaps
Comment 2 Thomas Lübking 2009-10-24 21:36:37 UTC
*** Bug 211629 has been marked as a duplicate of this bug. ***
Comment 3 Martin Flöser 2009-12-27 10:31:31 UTC
*** Bug 215441 has been marked as a duplicate of this bug. ***
Comment 4 Lubos Lunak 2010-01-01 18:13:37 UTC
SVN commit 1068599 by lunakl:

backport r1017015
filled titlePix with transparent color before painting pattern, to fix decoration appearance
BUG: 210540



 M  +2 -0      kde2.cpp  


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