Bug 423036

Summary: Specifying relative path during copy-paste in same folder results in glitchy FS state
Product: [Applications] dolphin Reporter: korev81334
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version First Reported In: 18.08.0   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description korev81334 2020-06-16 03:58:00 UTC
SUMMARY
Copying and pasting an item within the same folder prompts the user to specify a different name. Trying to specify a relative path by prepending ../ to the name puts the resultant files into a glitchy limbo state where they cannot be seen by most filesystem utilities. I don't know what else to call this. I was able to see the files by running "find" in the directory from which I initiated the copy.

STEPS TO REPRODUCE
1. Try to copy and paste an item such that the source and destination directories are the same.
2. A dialog box opens asking you to specify a new name. Prepend the name with ../

OBSERVED RESULT
The files are copied but are in a glitched state and cannot be accessed by most filesystem utilities.

EXPECTED RESULT
The files are copied to the parent directory.

SOFTWARE/OS VERSIONS
Debian GNU/Linux 10
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
This was done in my ext4 /home partition.
When running find in the directory where the copy-paste operation occurred, the files appear as ./../New-Name-Here
Comment 1 korev81334 2020-06-16 05:57:59 UTC
The files were cleared out by fsck upon rebooting.