Bug 501432 - Symbolic link's target not displayed correctly on status bar
Summary: Symbolic link's target not displayed correctly on status bar
Status: RESOLVED UNMAINTAINED
Alias: None
Product: dolphin
Classification: Applications
Component: bars: status (show other bugs)
Version: 23.08.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-13 02:47 UTC by red_Arti
Modified: 2025-03-26 18:04 UTC (History)
3 users (show)

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


Attachments
dolphin-link-bug (115.80 KB, image/png)
2025-03-13 02:47 UTC, red_Arti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description red_Arti 2025-03-13 02:47:59 UTC
Created attachment 179360 [details]
dolphin-link-bug

SUMMARY
Dolphin file manager incorrectly displays the target path of symbolic link, if the link is linked to another file in same folder by relative path. (see the picture I upload)



STEPS TO REPRODUCE
1. Create file: /tmp/demo/file_a
2. Create symbolic link: /tmp/demo/link-to-file -> file_a
3. Open /tmp/demo in Dolphin and select the link

OBSERVED RESULT
Dolphin status bar displays "Link to file file:///tmp/demo/link-to-file" 

EXPECTED RESULT
It should display "Link to file file_a"

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.4.0-150600.23.33-default (64-bit)
Graphics Platform: X11


ADDITIONAL INFORMATION
Comment 1 John 2025-03-13 09:47:20 UTC
It's most likely because you are using very old versions.
I created, in /tmp/demo, these for testing:
0664 .rw-rw-r-- 0 john john 13 Mar 09:37 file_a
0777 lrwxrwxrwx - john john 13 Mar 09:38 file_b -> ./file_a
0777 lrwxrwxrwx - john john 13 Mar 09:39 link-to-file -> ./file_a

Both file_b and link-to-file,when hovered, show in Dolphin's status bar:
file_b (Empty document, Link to ./file_a)
link-to-file (Empty document, Link to ./file_a)

So to me, the status bar show the right think, even explaining that the file is a symbolic link and pointing to a file that it's in the same folder.
Tested on Plasma 6.3.2 (Wayland) on Debian 13 (Trixie) - unstable repository.
Comment 2 John Kizer 2025-03-26 18:04:27 UTC
I'm afraid Dolphin 23.08.5 is unfortunately no longer eligible for support or maintenance from KDE.

KDE projects typically move quickly, and bugs in one version are often fixed in the next one. Please update to Dolphin 24.12.3 as soon as your distribution offers it to you, or use other application distribution methods such as Flathub. If you need support for Dolphin 23.08.5, please contact your distribution, who bears the responsibility of providing support for older software in their "long-term support" releases.

If this issue is still reproducible in Dolphin 24.12.3, feel free to re-open this bug report.

Thanks for understanding!