https://bugs.kde.org/show_bug.cgi?id=516019

            Bug ID: 516019
           Summary: Custom Application Menu button image not visible when
                    icon selected only by name
    Classification: Plasma
           Product: plasmashell
      Version First master
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Application Menu (Kicker) widget
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 1.0

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to