Bug 469957 - Emblem icon becomes a white square when a .desktop file is selected in the file open dialog
Summary: Emblem icon becomes a white square when a .desktop file is selected in the fi...
Status: CONFIRMED
Alias: None
Product: frameworks-kiconthemes
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.106.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-18 16:39 UTC by Patrick Silva
Modified: 2023-05-19 19:51 UTC (History)
2 users (show)

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


Attachments
screenshot (329.61 KB, image/png)
2023-05-18 16:39 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-05-18 16:39:52 UTC
Created attachment 159084 [details]
screenshot

STEPS TO REPRODUCE
1. copy a .desktop file from /home/your_username/.local/share/applications/ to Desktop
2. open Kate
3. press ctrl+o, navigate to Desktop, and select the .desktop file copied in the step 1

OBSERVED RESULT
a exclamation mark icon overlaps the .desktop icon copied to desktop, but it becomes a white square when the .desktop file is selected. Please see the attached screenshot.

EXPECTED RESULT
the exclamation mark icon should not disappear from the selected .desktop file

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Graphics Platform: Wayland

ADDITIONAL INFORMATION
in the file save dialog (ctrl+s) the bug occurs after selecting the .desktop file and then clicking on it again
Comment 1 Nate Graham 2023-05-19 19:51:01 UTC
Can confirm. 

Weird interaction between the icon rendering code and the icon; does not seem to affect the link icon. The exclamation point emblem icon is most likely affected because all of its colors use a re-colorable color from the color scheme. Perhaps there is a re-coloring bug that causes the neutral text to be inappropriately replaced with white when in the "selected" state.