[dolphin] [Bug 453159] New: Unable to set custom top-level icon in Service Menu

Whtyger bugzilla_noreply at kde.org
Thu Apr 28 19:29:57 BST 2022


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

            Bug ID: 453159
           Summary: Unable to set custom top-level icon in Service Menu
           Product: dolphin
           Version: 21.12.3
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: MetamAdeptus at gmx.net
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
"Icon" parameter which is set in [Desktop Entry] section of the ServiceMenu
desktop file is ignored.

STEPS TO REPRODUCE
An example of ServiceMenu with submenu:
------------------------------
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=all/all;
Actions=Create;Check;
Icon=document-encrypted
X-KDE-Submenu=md5 sums
X-KDE-Priority=TopLevel

[Desktop Action Create]
Name=Create md5 sums
Icon=document-new-from-template
Exec=dolphin-md5-create.sh %F

[Desktop Action Check]
Name=Check md5 sums
Icon=dialog-ok-apply
Exec=dolphin-md5-check.sh %f
------------------------------

OBSERVED RESULT
Icon for the top-level entry in the menu is taken from its submenu. In the case
of aforementioned desktop file the icon which is shown is
"document-new-from-template.svg".

EXPECTED RESULT
Icon for the top-level entry should be "document-encrypted.svg".

SOFTWARE/OS VERSIONS
OS Version: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list