Bug 343930 - Widgets that are disabled do not render themselves in the faded state
Summary: Widgets that are disabled do not render themselves in the faded state
Status: RESOLVED NOT A BUG
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: 5.1.95
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-08 10:45 UTC by Kishore
Modified: 2015-09-06 07:17 UTC (History)
3 users (show)

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


Attachments
Screenshot of cutecom; a pute qt4 based app. (45.22 KB, image/png)
2015-02-08 10:47 UTC, Kishore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore 2015-02-08 10:45:38 UTC
Pure Qt4 based applications only seem to be affected by this. 

If a widget is disabled, the color scheme does not indicate this in the text color.

Reproducible: Always

Steps to Reproduce:
1. Open any pure qt4 based application (Take CuteCom as an example)
2. Look for any disabled widgets (The close button should be disabled initially in cutecom)
3. Unless you try clicking on the disabled widget, you never know that it is disabled to begin with.

Actual Results:  
The disabled widget in indistinguishable.

Expected Results:  
The disabled widget should be grayed out.
Comment 1 Kishore 2015-02-08 10:47:40 UTC
Created attachment 90976 [details]
Screenshot of cutecom; a pute qt4 based app.

This is a picture for cutecom. The Close button is disabled but you can't tell looking at it.
Comment 2 Hugo Pereira Da Costa 2015-02-08 10:57:23 UTC
I cannot reproduce here with my own pure Qt apps
see: http://wstaw.org/m/2015/02/08/plasma-desktopvY2904.png

I suspect an issue with either the color palette, or the application itself.
Can you try 
- with another widget style
- with another application
- with another color palette 

Thx,

Hugo
Comment 3 Hugo Pereira Da Costa 2015-02-08 11:07:54 UTC
could you also try with qtconfig ? (that's the minimum Qt4 only app)
Here it looks like this: 
http://wstaw.org/m/2015/02/08/plasma-desktopys2904.png

And disabled widgets are definitly visible
Comment 4 Kishore 2015-02-08 19:18:59 UTC
Strange. I don't know what to attribute this bug to anything other than kubuntu packages.

Changing the theme and application did not help.

qt-config is broken in kubuntu 15.04.

Which components should I change in the pallets to test disabled state?
Comment 5 Hugo Pereira Da Costa 2015-02-09 06:12:14 UTC
You can check the kde settings for inactive/disabled colors in system-settings, as in 
http://wstaw.org/m/2015/02/09/plasma-desktopHf2904.png

and see if these have an impact on the issues you are having.
Comment 6 Kishore 2015-02-10 03:46:16 UTC
Editing those settings for disabled seem to have no impact on pure Qt4 based apps. They do affect KDE/Qt4 apps as expected.
Comment 7 Hugo Pereira Da Costa 2015-02-10 06:19:05 UTC
So, no more clue ...
I think we agree it is not a Breeze bug though, and no idea whether it even is a kde bug.
I'd suggest you go ask around on kubuntu forums ... It might be related to Qt installation.
In the meanwhile, closing as invalid (sorry), because there is not much more help we can offer here. Feel free to re-open if you have any news on this, and thanks for reporting! 

Hugo
Comment 8 Kishore 2015-06-19 06:25:46 UTC
See https://bugreports.qt.io/browse/QTBUG-30034

I don't know which component is responsible for kdeglobals.