[frameworks-kio] [Bug 456198] Targets of relative symbolic links are resolved incorrectly in the status bar

Méven Car bugzilla_noreply at kde.org
Mon Jul 22 15:21:02 BST 2024


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

--- Comment #20 from Méven Car <meven29 at gmail.com> ---
(In reply to Alan Prescott from comment #18)
> You are correct in that the target is the same whether the symlink is
> absolute or relative  but, personally, I'd have thought that the path
> displayed would be the same as if I'd typed `ls -l`. 
> If the link always shows as an absolute path then we're missing the chance
> to provider the user with available information which (s)he will have to go
> to a terminal window to find out.

This isn't really practical: if you have expanded folders, with a pointing
being a relative symlink, how should the path be resolved relative to ?
The root expanded folder ? The folder containing the the file ?

For instance
/a/afile
/b/afile -> ../a/afile

And with / opened with folder opened what should the status bar show when
hovering over /b/afile ?
The only systematic clear answer is absolute path.
We can still tilde collapse it though.

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


More information about the kfm-devel mailing list