Bug 279446 - Editable Plasma::ComboBox uses incorrect colors
Summary: Editable Plasma::ComboBox uses incorrect colors
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: visuals (show other bugs)
Version: 4.10.60
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 12:35 UTC by Michał D. (Emdek)
Modified: 2018-06-08 18:27 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of Unit Converter plasmoid in OpenSUSE 12.3 beta 1 (210.25 KB, image/png)
2013-01-20 22:08 UTC, Jason Craig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał D. (Emdek) 2011-08-05 12:35:15 UTC
Version:           unspecified (using Devel) 
OS:                Linux

Editable (it does not apply to not editable combo box) version of widget Plasma::ComboBox uses wrong text color for painting, with can lead to white text on white background (for example in Oxygen desktop theme).

Reproducible: Always
Comment 1 bill p. (aka google01103) 2012-01-30 18:41:12 UTC
I believe i am also experiencing this kde 4.8, openSUSE 12.1 x64
Comment 2 Anne-Marie Mahfouf 2012-01-30 19:02:35 UTC
Where is an example of such a combobox please?
Comment 3 Michał D. (Emdek) 2012-01-30 19:30:46 UTC
Run Command plasmoid in playground.
Comment 4 Anne-Marie Mahfouf 2012-01-31 10:39:16 UTC
No other example from official release?
Comment 5 Michał D. (Emdek) 2012-01-31 18:04:39 UTC
Nope, editable comboboxes (non editable too, probably due to only recently workarounded issue with popup widget) are very rare.
Maybe there exists somewhere other use, but if these would be used more often then such as bugs would be spotted much earlier (I've not used Oxygen Plasma theme, but this probably was always wrong there). ;-)
Comment 6 Michał D. (Emdek) 2012-02-03 12:52:30 UTC
As notmart pointed, there is also Web Browser official applet, but it doesn't show this bug, maybe due to what appears to be custom painting (progress bar on address field).
Comment 7 Jason Craig 2013-01-20 22:07:09 UTC
The Unit Converter plasmoid has combo boxes.  They are not editable, but they exhibit the problem.

The combo box itself is drawn in the Plasma theme colors, but when the combo is clicked, the dropdown portion is drawn with a gray background.  The text color comes from the ForegroundNormal entry of [Colors:Window] in the colors file of the Plasma theme.  If the Plasma theme defines a grayish color there, then you get very poor readability, such as the attached screenshot of the new theme from OpenSUSE 12.3 beta 1.
Comment 8 Jason Craig 2013-01-20 22:08:42 UTC
Created attachment 76589 [details]
Screenshot of Unit Converter plasmoid in OpenSUSE 12.3 beta 1
Comment 9 Michael D 2013-05-06 08:44:09 UTC
Also observing the issue with Unit Converter and the "Caledonia" plasma theme (among others).
Comment 10 Hrvoje Senjan 2013-05-15 21:20:30 UTC
(In reply to comment #6)
> As notmart pointed, there is also Web Browser official applet, but it
> doesn't show this bug, maybe due to what appears to be custom painting
> (progress bar on address field).
Well, i do not know does the Web Browser applet uses the same component, but it does use wrong color - URL text is painted with KColorScheme color...
Comment 11 Michał D. (Emdek) 2013-05-15 21:25:46 UTC
(In reply to comment #10)
> Well, i do not know does the Web Browser applet uses the same component, but
> it does use wrong color - URL text is painted with KColorScheme color...
Maybe something got changed recently or due to some other reason I've got correct colors there simultaneously having wrong one using testing case.
It seems easy to fix, but in fact it may require a bit more complex solution, after looking into sources...
Comment 12 Nate Graham 2018-06-08 18:27:51 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug has already been resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham