Bug 453492 - PC2 combobox dropdowns partially use system colors, not Plasma colors
Summary: PC2 combobox dropdowns partially use system colors, not Plasma colors
Status: RESOLVED DOWNSTREAM
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: components (show other bugs)
Version: 5.93.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-07 09:24 UTC by Jas
Modified: 2022-05-09 18:08 UTC (History)
5 users (show)

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


Attachments
Screenshot showing the issue (51.32 KB, image/jpeg)
2022-05-07 09:24 UTC, Jas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jas 2022-05-07 09:24:19 UTC
Created attachment 148631 [details]
Screenshot showing the issue

SUMMARY
Dropdowns in widget settings have white text on white background. I'm using the "Breeze - Dark" theme so the dropdown should render a dark background, not white.

STEPS TO REPRODUCE
1. Use the "Breeze - Dark" theme
2. Install any widget, say, [Netspeed Widget](https://store.kde.org/p/998895/)
3. Right click on the widget and click on the "Configure Netspeed Widget" option
4. Open any dropdown in the configuration page

OBSERVED RESULT
Dropdown displays white text with a white background making it invisible

EXPECTED RESULT
Dropdown displays white text with a dark background

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.5-arch1-1 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
This issue wasn't there several months ago, it started after an update (Sorry, don't know which update).
Interestingly, dropdowns are rendering correctly in systemsettings. Only dropdowns in the widget configuration page seems to be having this issue. I don't think it's widget specific as I have this issue with another widget as well.
Comment 1 Nate Graham 2022-05-09 15:41:31 UTC
Couple of questions for you:
1. What Plasma theme are you using?
2. What color scheme are you using?
3. Does it happen for any of the comboboxes in the Task Manager's settings window?
Comment 2 Jas 2022-05-09 16:31:37 UTC
(In reply to Nate Graham from comment #1)
> Couple of questions for you:
> 1. What Plasma theme are you using?
> 2. What color scheme are you using?
> 3. Does it happen for any of the comboboxes in the Task Manager's settings
> window?

Thanks for the reply!

Application Style: Breeze
Plasma Style: Breeze
Colors: Breeze Dark
Window Decorations: Oxygen

And no,  comboboxes in the task manager settings don't have this issue.
Comment 3 Nate Graham 2022-05-09 17:47:56 UTC
Thanks. I can reproduce the issue with PlasmaComponents2 comboboxes, so that must be what the applet in question is using. Unfortunately the issue is not really feasible to fix in the PC2 combobox dur to architectural limitations, and it's one of the reasons why we moved away from it and use PlasmaComponents3 stuff instead. PlasmaComponents2 in general is deprecated and will be removed in Plasma 6. I strongly recommend that the author of that applet port to PlasmaComponents3, and you can urge them to do so.
Comment 4 Jas 2022-05-09 18:08:50 UTC
I see. Thanks for looking into this.