[dolphin] [Bug 446869] New: Dolphin handles broken symlinks in an unexpected way

Kishore Gopalakrishnan bugzilla_noreply at kde.org
Sun Dec 12 08:59:29 GMT 2021


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

            Bug ID: 446869
           Summary: Dolphin handles broken symlinks in an unexpected way
           Product: dolphin
           Version: 21.12.0
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: kishore96 at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
When the user tries to open a broken symlink, Dolphin asks the user to choose
an application, instead of first raising some sort of error or warning.

STEPS TO REPRODUCE
1. Run the following command in any directory: ln -s
/location_that_does_not_exist brokenlink 
2. Navigate to that directory in Dolphin and click on the link to open it

OBSERVED RESULTS
Dolphin directly asks the user which application should be used to open the
file.

EXPECTED RESULTS
Dolphin should first warn the user that the symlink is broken.
Other programs detect this correctly, e.g. running `file brokenlink` in the
terminal gives the following output:
brokenlink: broken symbolic link to /location_that_does_not_exist

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.7-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
Memory: 21.5 GiB of RAM
Graphics Processor: AMD Radeon Vega 8 Graphics

ADDITIONAL INFORMATION
'Right-click > Show Target' correctly complains that the destination is not
accessible.

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


More information about the kfm-devel mailing list