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

            Bug ID: 528996
           Summary: Add "Show Target" (or "Open Working Directory")
                    context menu action for .desktop files with a Path=
                    entry
    Classification: Plasma
           Product: plasmashell
      Version First 6.8.3
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: Folder View widget
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

SUMMARY
When right-clicking a symbolic link in Dolphin or on the KDE Plasma Desktop
(Folder View), the context menu provides a "Show Target" option that opens the
destination directory in the file manager. However, `.desktop` files that
define a target directory via the `Path=` key (or `URL=` for `Type=Link`) do
not offer an equivalent context menu entry to quickly navigate to that
destination.

Adding a "Show Target" (or "Open Target Location") entry to the context menu of
`.desktop` files when `Path=` is defined would provide parity with symlink
handling and make inspecting or managing launcher working directories much
faster.

STEPS TO REPRODUCE
1. Create or locate a `.desktop` file on the Desktop or in Dolphin that
contains a valid `Path=/some/directory` entry.
2. Right-click the `.desktop` file to open its context menu.

OBSERVED RESULT
There is no context menu option to navigate to or open the directory specified
in the `Path=` field. Users must open the `.desktop` file in a text editor or
inspect its Properties dialog to read and manually navigate to the path.

EXPECTED RESULT
If a `.desktop` file contains a valid `Path=` entry (and/or `URL=` for
link-type desktop entries), the right-click context menu should display a "Show
Target" action (consistent with symbolic links) that opens that directory in
the default file manager.

ADDITIONAL INFORMATION
- This would align `.desktop` shortcut behavior with existing symlink "Show
Target" functionality in Dolphin and Plasma 6.3+ Folder View (see Bug 312330).
- Suggested edge case handling: Only display the menu entry if the `Path=` key
is non empty (and optionally if the target directory exists).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to