Bug 154605

Summary: black buttons with qt only widget styles
Product: [Plasma] krunner Reporter: Marco Martin <notmart>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: black buttons
set the button to not be flat

Description Marco Martin 2007-12-25 21:33:55 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          4.2.1 
OS:                Linux

with qt-only widget styles like plastique, windows and cleanlooks the four buttons (show options system activity etc) are always black (the labes gets drawn but not the button background) and then they get drawn only on mouse button press (see the attached screenshot) this happens both with composite enabled or not
Comment 1 Marco Martin 2007-12-25 21:34:52 UTC
Created attachment 22678 [details]
black buttons

only cancel is drawn because is pressed
Comment 2 Marco Martin 2007-12-25 22:41:08 UTC
Created attachment 22679 [details]
set the button to not be flat

it seems that for qt only widget styles flat buttons backgrounds are not drawn
at all, instead oxygen draws the buttons always in the same way.
i think the buttons appearance should not set flat, it would not change the
appearance with oxygen but with other styles it would be bearable :)
can commit?
Comment 3 Marco Martin 2007-12-29 22:16:58 UTC
SVN commit 754459 by mart:

remove setFlat(true) to the buttons: it looks identical with oxygen but it looks decent with other widget styles
BUG: 154605

 M  +0 -4      interface.cpp  


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