Bug 446557

Summary: File Properties symlink entry not respected
Product: [Frameworks and Libraries] frameworks-kio Reporter: Ken Vermette <vermette>
Component: Properties dialogAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 5.88.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ken Vermette 2021-12-06 15:17:29 UTC
SUMMARY
When entering a new relative destination for a symlink in the file properties window, it will either not set the symlink or change it to an absolute path.


STEPS TO REPRODUCE
1. Right-click a  symlink -> Properties
2. In "Points to" change it from an absolute path to a relative path (in this use-case the destination is the same, the path needed is just relative)
3. Hit OK

OBSERVED RESULT
Dialog closes with path unchanged

EXPECTED RESULT
Dialog should close with the path changed to exactly what is in the "Points to" field. 

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma:  KDE Neon 5.23
KDE Plasma Version:  5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
The properties dialog closes without any acknowledgement that the exact user input was not respected.

If there are any validity checks being performed, or it's checking to see if the path is the "same" in some way, it should not modify user input without warning. In the event that the path is malformed at most a warning dialog should spawn stating that an invalid link was entered (with a CONTINUE/CANCEL option)
Comment 1 Nate Graham 2021-12-07 03:54:23 UTC
Hmm I just tried this with a link on the desktop and it worked for me.