Bug 186431 - QToolBox rendered incorrectly with Qt 4.5
Summary: QToolBox rendered incorrectly with Qt 4.5
Status: RESOLVED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: style (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Camilla Boemann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-07 10:46 UTC by Mark Kretschmann
Modified: 2009-03-13 23:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot illustrating rendering issue (78.49 KB, image/png)
2009-03-07 10:47 UTC, Mark Kretschmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Kretschmann 2009-03-07 10:46:02 UTC
In Amarok 2 (trunk) we are using a QToolBox widget for the "Playlists" sidebar tab. It gets rendered correctly with Plastique, but with Oxygen it looks very broken.

I'm attaching a screenshot of the problem.
Comment 1 Mark Kretschmann 2009-03-07 10:47:37 UTC
Created attachment 31866 [details]
Screenshot illustrating rendering issue
Comment 2 Huynh Huu Long 2009-03-08 17:16:22 UTC
Oxygen calls setBackgroundRole(QPalette::NoRole), which causes this bug for some reason...
Comment 3 Huynh Huu Long 2009-03-13 01:03:05 UTC
It would be also nice to find out, why oxygen causes so many redraws on listviews, etc. as kwin reveals
Comment 4 Huynh Huu Long 2009-03-13 23:15:44 UTC
SVN commit 939141 by huynhhuu:

Remove some palette related lines, which make the toolbox unusable with Oxygen
Actually I don't think this is the right way to force widgets to have a transparent
background as it even messes up with Plastique's scrollbars (we already had this issue: bug 173547)
BUG: 186431


 M  +0 -12     Widget.cpp  


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