Bug 505571 - Servicemenu submenu icon shows application icon instead of specified icon
Summary: Servicemenu submenu icon shows application icon instead of specified icon
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-13 16:07 UTC by cauamachado51
Modified: 2025-06-19 18:07 UTC (History)
2 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 cauamachado51 2025-06-13 16:07:27 UTC
SUMMARY
o menu de contexto do dolphin não mostra ícone do submenu.

STEPS TO REPRODUCE
1. crie ~/.local/share/kio/servicemenus/meu_menu_de_contexto.desktop
2. insira
```
[Desktop Entry]
Name=Minhas Ações
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;text/plain;
X-KDE-Priority=TopLevel
X-KDE-Submenu=Minhas Ações
Icon=plasma-symbolic
Actions=abrirComKate;openInVSCode

[Desktop Action abrirComKate]
Name=Open in Kate
Name[pt]=Abrir no Kate
Icon=kate
Exec=kate %u

[Desktop Action openInVSCode]
Name=Open in VS Code
Name[pt]=Abrir VS Code
Icon=com.visualstudio.code
Exec=code %u
```

OBSERVED RESULT
o submenu tem o ícone kate.

EXPECTED RESULT
ter o ícone plasma-symbolic.

SOFTWARE/OS VERSIONS
Linux: Manjaro Linux
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Comment 1 TraceyC 2025-06-19 16:31:14 UTC
Translated

SUMMARY
The Dolphin context menu does not show the submenu icon.

STEPS TO REPRODUCE
1. create ~/.local/share/kio/servicemenus/meu_menu_de_contexto.desktop
2. Enter

(the Desktop Entry contents)

OBSERVED RESULT
The submenu has the Kate icon.

EXPECTED RESULT
have plasma-symbolic icon.
Comment 2 TraceyC 2025-06-19 18:07:16 UTC
Note that on my system, ~/.local/share/kio does not exist by default, I created it
I tested with the Breeze Dark and Breeze icons

I created the desktop entry and attempted to reproduce - I can reproduce
Right click a file that could open in Kate or VS Code, like a .txt file
The icon for the custom right click submenu "Minhas Ações" shows the Kate icon

Per the docs, icons by name are found in /usr/share/icons/
https://develop.kde.org/docs/apps/dolphin/service-menus/

The only icon schemes that have 'plasma-symbolic' are breeze and breeze-dark
Unfortunately this isn't working with those icon sets