Bug 484921 - Dolphin ServiceMenus installed by other packages cannot be disabled
Summary: Dolphin ServiceMenus installed by other packages cannot be disabled
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.02.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-02 11:23 UTC by Rocket Aaron
Modified: 2024-04-02 11:23 UTC (History)
1 user (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 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.