Bug 421312 - Dolphin - cut and paste to symbolic link directory gives prompt to rename when it should not
Summary: Dolphin - cut and paste to symbolic link directory gives prompt to rename whe...
Status: RESOLVED DUPLICATE of bug 421213
Alias: None
Product: dolphin
Classification: Applications
Component: panels: folders (show other bugs)
Version: 20.04.0
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-11 04:22 UTC by Ben
Modified: 2020-05-11 06:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
prompt window (4.78 KB, image/webp)
2020-05-11 04:22 UTC, Ben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben 2020-05-11 04:22:21 UTC
Created attachment 128351 [details]
prompt window

SUMMARY
Cut and paste used to work but after the updates on 2020-05-10 it no longer works when pasting a folder or file to a symbolic link directory.


STEPS TO REPRODUCE
1. Open Dolphin to navigate to folder /home/user/Desktop/test/
2. In that folder I want to move mytest.txt so I right click and choose Cut.
3. Navigate to my symlink folder /home/user/Desktop/notes/ and right click and Paste.


OBSERVED RESULT
You will get a prompt window that looks like below (see attachment):
File Already Exists -- Dolphin
An older item named '/home/user/Desktop/notes/' already exists.
Rename:
notes     [Suggest New Name]


EXPECTED RESULT
The file or folder should be pasted without any prompt.



SOFTWARE/OS VERSIONS
KDE Neon on Ubuntu 18.04.
Operating System: KDE neon 5.18
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Kernel Version: 4.15.0-99-generic
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-3930K CPU @ 3.20GHz
Memory: 31.4 GiB of RAM


ADDITIONAL INFORMATION
I didn't attempt to rename the file or folder since I do not know what will happen and I do not want to risk corruption.
Using the mv command in Konsole still works fine.
When I test moving a file or folder all located within Desktop sub directories on the same partition then I do not experience the problem.
Comment 1 Ben 2020-05-11 04:34:05 UTC
The bug happens with symbolic links on the same partition as well as different partitions or disks.
e.g. Create a sub folder /home/user/Desktop/test/test_sub/ and then make a symbolic link for test_sub on the Desktop.  Then try cutting and pasting a file from /home/user/Desktop/test/ to /home/user/Desktop/test_sub/ and it will give the prompt.
Comment 2 Ben 2020-05-11 04:37:32 UTC
I reproduced the bug on bare metal and in a guest in VMware.
Comment 3 Julian Steinmann 2020-05-11 06:30:07 UTC
Thank you for your detailed report. This issue has already been reported - I've added the new information you provided in the comments. Let's track this bug over there.

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