Bug 516019 - Custom Application Menu button image not visible when icon selected only by name
Summary: Custom Application Menu button image not visible when icon selected only by name
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (other bugs)
Version First Reported In: master
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-15 06:59 UTC by Jure Repinc
Modified: 2026-02-15 06:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jure Repinc 2026-02-15 06:59:01 UTC
SUMMARY
I guess there are two ways of specifying cutom button image icon: one is by name of the icon only (chosing an icon from the dialog  immidately when it opens and lists the icons from various categories) or by filename (if you click on the Browse button on the dialog and choose an image from file system). When the first way by name only is used the image is not visible, when the second way by file path is used the image is visible just fine.

I suspect the problem is here
https://invent.kde.org/plasma/plasma-desktop/-/blob/master/applets/kicker/CompactRepresentation.qml?ref_type=heads#L84
where Image.source is set to empty string if the Plasmoid.icon does not start with "file:". Shouldn't it be Ok to  simply use "Image.source: Plasmoid.icon"?

STEPS TO REPRODUCE
1. Open the Application Menu configuration
2. Click on the Icon button and select Choose...
3. Select an icon directly from the dialog that opens (not via Browse button)

OBSERVED RESULT
The selected icon is not shown

EXPECTED RESULT
The selected icon should be shown just as it is if you select the same icon by browsing the filesystem and selecting it there.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20260212
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.18.9-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600 6-Core Processor
Memory: 32 GiB of RAM (31.0 GiB usable)
Graphics Processor: AMD Radeon RX 7900 GRE