Bug 484921

Summary: Dolphin ServiceMenus installed by other packages cannot be disabled
Product: [Applications] dolphin Reporter: Rocket Aaron <i>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel, tomashnyk
Priority: NOR    
Version First Reported In: 24.02.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rocket Aaron 2024-04-02 11:23:08 UTC
SUMMARY
Any ServiceMenu installed by other packages (eg. kleopatra) or created by the user (by putting file in ~/.local/share/kio/servicemenus/) cannot be disabled in dolphin "Context Menu" settings.

STEPS TO REPRODUCE
1. Install dolphin 24.02.1 and kleopatra 24.02.1
2. Open dolphin, goto "Configure Dolphin" - "Context Menu" page and disable "Encrypt File" item with kleopatra icon
3. Right click on any file

OBSERVED RESULT
The context menu still shows "Encrypt File" under "Actions" submenu

EXPECTED RESULT
"Encrypt File" should not show in submenu

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
Arch Linux
kernel version: 6.8.2-arch2-1
(available in About System)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3

ADDITIONAL INFORMATION
This can also be reproduced by creating a custom service menu and disabling it. For example, create file
~/.local/share/kio/servicemenus/test_servicemenu.dekstop
with content
```
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;
Actions=test_action;

[Desktop Action test_action]
Name=Test ServiceMenu
Icon=configure
Exec=kdialog --msgbox "Test ServiceMenu on '%U'"
```
Then disable "Test ServiceMenu" in dolphin's "Context Menu" settings. The menu still shows when right clicking on any folder.
Comment 1 tomashnyk 2025-08-11 23:02:06 UTC
By the way I just reproduced this on the most popular download there is: https://store.kde.org/p/1327071