Bug 464326 - Status bar shows incorrect symlink path for files
Summary: Status bar shows incorrect symlink path for files
Status: RESOLVED DUPLICATE of bug 456198
Alias: None
Product: dolphin
Classification: Applications
Component: bars: status (show other bugs)
Version: 22.12.0
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 465776 473506 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-15 14:30 UTC by Luca Saalfeld
Modified: 2023-08-22 08:32 UTC (History)
7 users (show)

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


Attachments
dolphin showing the incorrect simlink path in the status bar (153.62 KB, image/png)
2023-01-15 14:30 UTC, Luca Saalfeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Saalfeld 2023-01-15 14:30:57 UTC
Created attachment 155314 [details]
dolphin showing the incorrect simlink path in the status bar

When selecting a simlink the status bar does not show the actual location of the file or directory the simlink points to.

STEPS TO REPRODUCE
1. create a simlink for any file or directory
2. select the simlink

OBSERVED RESULT
The path of the simlink itself is shown.

EXPECTED RESULT
The path of the referred file should be shown.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15.85-1-MANJARO (64-bit)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Some system generated simlinks actually show the correct path.
The "/dev/stderr", "/dev/stdin", and "/dev/stdout" simlinks for example are properly shown as "/proc/self/fd/2", "/proc/self/fd/0", and "/proc/self/fd/1".
However other simlinks, such as in "/usr/share/icons/breeze/actions/", all simlinks show themselves, not where they point to.
Comment 1 kdebugs 2023-02-04 21:40:44 UTC
Likewise on Kubuntu 22.10 with Dolphin 22.08.2.  It's okay when fringe features don't work right, but this is pretty basic!
Comment 2 ratijas 2023-03-23 11:52:26 UTC
*** Bug 465776 has been marked as a duplicate of this bug. ***
Comment 3 Alan Prescott 2023-07-18 14:20:11 UTC
Dolphin Version 23.04.3 - correct symlink path shown
----
Operating System: openSUSE Tumbleweed 20230716
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.3-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 81CT
System Version: Lenovo YOGA 730-13IKB
Comment 4 Alan Prescott 2023-08-18 12:37:45 UTC
*** Bug 473506 has been marked as a duplicate of this bug. ***
Comment 5 Alan Prescott 2023-08-18 12:41:38 UTC
Although I reported this as fixed I have reopened this bug after further investigation.
The link target is correctly reported if the symlink is absolute. If the symlink is relative the link as shown as being the actual file

STEPS TO REPRODUCE
1. Create a symlink to a relative address within the home folder
2. Hover the the cursor over the symlink

OBSERVED RESULT
The path of the symlink itself is shown.

EXPECTED RESULT
The path of the referred file should be shown.

If the symlink is to an absolute address the referred file is shown

Operating System: openSUSE Tumbleweed 20230716
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.3-1-default (64-bit)
Graphics Platform: X11
Comment 6 Méven Car 2023-08-22 08:32:24 UTC

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