Bug 154605 - black buttons with qt only widget styles
Summary: black buttons with qt only widget styles
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-25 21:33 UTC by Marco Martin
Modified: 2007-12-29 22:16 UTC (History)
0 users

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


Attachments
black buttons (10.07 KB, image/png)
2007-12-25 21:34 UTC, Marco Martin
Details
set the button to not be flat (1.73 KB, patch)
2007-12-25 22:41 UTC, Marco Martin
Details

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