Bug 502517

Summary: Selected item icons become unreadable
Product: [Plasma] Breeze Reporter: evgeniyharchenko.dev
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kde, kdedev, nate, uhhadd
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: App for testing
Breeze Light theme WITH BUG
Kvantum Light theme WITH BUG
Breeze Dark theme WITH BUG
Kvantum Dark theme WITHOUT BUG
Strange folder icon color with Fusion

Description evgeniyharchenko.dev 2025-04-07 09:56:51 UTC
Created attachment 180058 [details]
App for testing

SUMMARY
Some icons show strange behavior when highlighted — they become completely white and unreadable.

I believe the issue is not solely with the icons themselves. For example, when using Kvantum instead of Breeze, the behavior is similar but not identical. The differences are especially noticeable when dark themes are used.

For illustration and better understanding of the problem, I have attached screenshots.

STEPS TO REPRODUCE
1. Download attached main.cpp
2. Compile it
3. Launch it
4. Select in ComboBox or TreeView Downgrade, Remove or Warning item

OBSERVED RESULT
Selected item's icon is unreadable (full filled white color).

EXPECTED RESULT
Selected item's icon is highlighted and readable.

SOFTWARE/OS VERSIONS
KDE Neon 6.3 (X11)
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.8.2
Qt Version: 6.8.2
Comment 1 evgeniyharchenko.dev 2025-04-07 09:57:57 UTC
Created attachment 180059 [details]
Breeze Light theme WITH BUG
Comment 2 evgeniyharchenko.dev 2025-04-07 09:58:18 UTC
Created attachment 180060 [details]
Kvantum Light theme WITH BUG
Comment 3 evgeniyharchenko.dev 2025-04-07 09:59:00 UTC
Created attachment 180061 [details]
Breeze Dark theme WITH BUG
Comment 4 evgeniyharchenko.dev 2025-04-07 09:59:30 UTC
Created attachment 180062 [details]
Kvantum Dark theme WITHOUT BUG
Comment 5 Nate Graham 2025-04-08 18:55:12 UTC
But only with Breeze? Does the same thing not happen when using Fusion?
Comment 6 Kai Uwe Broulik 2025-04-08 19:07:28 UTC
I guess the usual selection color problem we have that also makes the folder white?
Comment 7 evgeniyharchenko.dev 2025-04-14 06:15:51 UTC
(In reply to Nate Graham from comment #5)
> But only with Breeze? Does the same thing not happen when using Fusion?
Yes, not only Breeze is buggy. 
Fusion: buggy TreeView; ComboBox normal, but strange folder color.
Windows buggy TreeView and ComboBox.


(In reply to Kai Uwe Broulik from comment #6)
> I guess the usual selection color problem we have that also makes the folder
> white?
I tested folder icon, it has only white outline. It does not filled with white. So it is readable.
Comment 8 evgeniyharchenko.dev 2025-04-14 06:17:46 UTC
Created attachment 180242 [details]
Strange folder icon color with Fusion
Comment 9 Nate Graham 2025-04-14 20:34:29 UTC
Does any of this happen with the default Breeze color scheme with no custom accent color specified?
Comment 10 evgeniyharchenko.dev 2025-04-14 20:45:03 UTC
(In reply to Nate Graham from comment #9)
> Does any of this happen with the default Breeze color scheme with no custom
> accent color specified?

Yes, all default Breeze color schemes have this problem.