[dolphin] [Bug 484921] New: Dolphin ServiceMenus installed by other packages cannot be disabled

Rocket Aaron bugzilla_noreply at kde.org
Tue Apr 2 12:23:08 BST 2024


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

            Bug ID: 484921
           Summary: Dolphin ServiceMenus installed by other packages
                    cannot be disabled
    Classification: Applications
           Product: dolphin
           Version: 24.02.1
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: i at rocka.me
                CC: kfm-devel at kde.org
  Target Milestone: ---

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.

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


More information about the kfm-devel mailing list