Bug 486459 - In desktop symlinks, the "Points to" button in Properties/General does not work
Summary: In desktop symlinks, the "Points to" button in Properties/General does not work
Status: RESOLVED DUPLICATE of bug 476808
Alias: None
Product: plasmashell
Classification: Plasma
Component: desktop:/ IOWorker (show other bugs)
Version: 6.0.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-02 14:45 UTC by Cristiano Guadagnino
Modified: 2024-05-03 19:52 UTC (History)
2 users (show)

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


Attachments
Error message example (76.52 KB, image/png)
2024-05-02 14:45 UTC, Cristiano Guadagnino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cristiano Guadagnino 2024-05-02 14:45:44 UTC
Created attachment 169106 [details]
Error message example

SUMMARY
I have a few symlinks on the desktop.
If I want to locate the target, I usually open the Properties of the symlink, and then in the General tab I press the button next to the "Points to" text field.
The text reported in the text field correctly represents the path of the target, but when I click the button it shows an error reporting that the path is not found. However, if you inspect the text of the error, you'll notice that the path is not found because "/home/%USER/Desktop" is prepended to the correct path.


STEPS TO REPRODUCE
1. Find (or create) a symlink on the Plasma desktop
2. Open the Properties for the symlink
3. In the General tab locate the "Points to" entry field
4. Check that the text in the entry field correctly represents the full path to the target of the symlink
5. Press the button besides the "Points to" entry field

OBSERVED RESULT
An error message is shown, with a message like this: 
"The file or folder /home/cris/Desktop/home/cris/Nextcloud-FS/CartellaCondivisa/Documentazione da Cristiano/Mappa_Servizi.ods does not exist."
Notice that "/home/%USER/Desktop/" is prepended to the correct full path.

EXPECTED RESULT
The target of the symlink should be revealed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
This happens on linux openSUSE Tumbleweed. It happened with Plasma 5, too.
Comment 1 Patrick Silva 2024-05-02 17:48:07 UTC
Can reproduce on Arch Linux.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Graphics Platform: Wayland
Comment 2 Nate Graham 2024-05-03 19:52:24 UTC

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