Bug 497500 - Kickoff uses the wrong icon if the filename of an icon with an absolute path is the same as in the icon theme
Summary: Kickoff uses the wrong icon if the filename of an icon with an absolute path ...
Status: CONFIRMED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.9.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: 1.0
Assignee: kdelibs bugs
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-12-15 12:19 UTC by Alex
Modified: 2024-12-16 17:46 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2024-12-15 12:19:29 UTC
SUMMARY
When the icon selected for kickoff has a name that matches a icon in the icon theme, the theme icon is used.

STEPS TO REPRODUCE
1. Create a PNG file and name it like an existing icon. To be sure it doesn't have anything to do with KDE or menu related terms name it kwrite.png and put it anywhere (it doesn't have to be any icon related path)
2. Set the icon as kickoff icon
3. The preview in the dialog looks fine

OBSERVED RESULT
After closing the dialog with OK, your panel now has the kwrite icon from the icon theme. When opening the dialog again, the preview shows the correct icon.

EXPECTED RESULT
The selected icon should be used.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2
Kernel Version: 6.11.10-amd64 (64-bit)
Comment 1 Paul Worrall 2024-12-15 14:58:02 UTC
Confirmed with: 

KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Graphics Platform: Wayland
Comment 2 Alex 2024-12-15 15:08:59 UTC
Also a regression from 5.x.