Bug 465776 - For relative symbolic links, "Link to file://" status shows the path of the hovered link, not to the path it points to
Summary: For relative symbolic links, "Link to file://" status shows the path of the h...
Status: RESOLVED DUPLICATE of bug 464326
Alias: None
Product: dolphin
Classification: Applications
Component: bars: status (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-15 15:28 UTC by ratijas
Modified: 2023-03-23 11:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Dolphin - relative link bug (63.87 KB, image/png)
2023-02-15 15:28 UTC, ratijas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2023-02-15 15:28:10 UTC
Created attachment 156277 [details]
Dolphin - relative link bug

SUMMARY

Link to file:// seems to be showing the wrong thing. Instead of a target path, it shows the hovered file itself. But the bug only happens with relative links, like "../../actions/16/im-user.svg", not the absolute paths like "/home/ratijas/blahblahblah".

STEPS TO REPRODUCE
1. Create a relative symbolic link via `ln -s ./target link-name`, or clone some git repo which has links.
2. Open directory with link in Dolphin.
3. Hover over the link.

OBSERVED RESULT
Link to file:///home/ratijas/bug/relative link.txt

EXPECTED RESULT
Link to ~/bug/target.txt

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: git-master
Qt Version: 5.15.8
Kernel Version: 6.1.11-arch1-1 (64-bit)
Comment 1 Berker 2023-02-21 06:04:26 UTC
I was having this issue for some time
Comment 2 Méven Car 2023-03-23 11:45:50 UTC
> Instead of a target path, it shows the hovered file itself.

I am guessing you are talking about the status bar info.
In which case this bug is a duplicate of https://bugs.kde.org/show_bug.cgi?id=464326.
Comment 3 ratijas 2023-03-23 11:52:26 UTC
> I am guessing you are talking about the status bar info.

You don't have to guess, it is literally written in the bug title :)

*** This bug has been marked as a duplicate of bug 464326 ***