[dolphin] [Bug 459156] New: Can't exclusively target symlinks in dolphin plugin

Schlaefer bugzilla_noreply at kde.org
Thu Sep 15 13:42:21 BST 2022


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

            Bug ID: 459156
           Summary: Can't exclusively target symlinks in dolphin plugin
           Product: dolphin
           Version: 22.08.1
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: openmail+kde at siezi.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
It's not possible to exclusively target symlinks in a dolphin plugin.


STEPS TO REPRODUCE
1. Create new plugin e.g. ~/.local/share/kservices5/ServiceMenus/test.desktop

###
[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/symlink
Actions=tgtSymlink
X-KDE-Priority=TopLevel

[Desktop Action tgtSymlink]
TryExec=konsole
Exec=konsole
Icon=utilities-terminal
Name=Test Symlink
Comment=Test Symlink
###

Notice the explicit use of MimeType=inode/symlink

OBSERVED RESULT

Right clicking a symlink does not show the "Test Symlink" entry in the context
menu.

EXPECTED RESULT

Right clicking a symlink of a directory or file should show "Test Symlink" in
the context menu.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

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


More information about the kfm-devel mailing list