Bug 417555

Summary: Autostart tries to move symbolic links even 'Run On' isn't actually changed
Product: [Applications] systemsettings Reporter: Frederick Zhang <frederick888>
Component: kcm_autostartAssignee: Nicolas Fella <nicolas.fella>
Status: RESOLVED NOT A BUG    
Severity: normal CC: frederick888, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.18.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Frederick Zhang 2020-02-13 11:50:02 UTC
SUMMARY
Autostart tries to re-create symbolic links even I just open the 'Run On' drop down list and select the current value, causing redundant 'File Already Exists' warning.

STEPS TO REPRODUCE
1. Open Autostart
2. Click Add Script
3. Choose a script, leaving 'Create as symlink' ticked
4. Click to open the 'Run On' drop down list for the added script
5. Select Startup, i.e. the default value

OBSERVED RESULT
A 'File Already Exists' warning pops up saying 'This action would override ... with itself'.

EXPECTED RESULT
No warnings.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Kernel Version: 5.5.3-zen1-1-zen
OS Type: 64-bit
Comment 1 Nate Graham 2021-03-10 22:11:11 UTC
The "create as symlink" option was removed in the Plasma 5.21 rewrite, so this bug no longer applies. :)