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

            Bug ID: 495740
           Summary: Can't assign an icon to a services submenu in Dolphin
    Classification: Applications
           Product: dolphin
           Version: 24.08.2
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: pecu...@xs4all.nl
                CC: kfm-de...@kde.org
  Target Milestone: ---

SUMMARY

In dolphin I am trying to use a combination of services put in a submenu. Like
this:

context-menu
        |
        submenu
                  |
                   service 1
                   service 2

Assigning an icon to each of the services works as expected, but assigning an
icon to the submenu does not. The submenu always shows the icon that is used
with the first action listed  after 'Actions' under [Desktop Entry] - even if
no icon is set for the submenu.

For example:
---------------------------------------------------------------------
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=application/x-cd-image;model/x.stl-binary;application/x-raw-disk-image;
Actions=mount;unmount
X-KDE-Priority=TopLevel
X-KDE-StartupNotify=false
X-KDE-Submenu=Un/Mount iso image
Icon=/path/to/submenu.png

[Desktop Action mount]
Name=Mount
Icon=media-mount
Exec= do stuff

[Desktop Action unmount]
Name=Unmount
Icon=media-eject
Exec= do other stuff
---------------------------------------------------------------------

In this example the submenu (labeled 'Un/Mount iso image') will always be shown
with the 'media-mount' icon set under [Desktop Action mount] because that is
the first action listed under [Desktop Entry].

STEPS TO REPRODUCE
1. See example

OBSERVED RESULT
Submenu does not get its own icon

EXPECTED RESULT
Submenu does get its own icon

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0


I remember reporting this a long time ago for plasma 5, but can't find that bug
report now.

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

Reply via email to