Bug 354316 - Dolphin fails to give option to overwrite files when dragging them from a browser
Summary: Dolphin fails to give option to overwrite files when dragging them from a bro...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 16.12.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-24 18:42 UTC by gandalf3
Modified: 2018-04-19 19:42 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gandalf3 2015-10-24 18:42:18 UTC
When dragging a file (e.g. an image) from a website to dolphin, dolphin will download the file with a .part extension and then attempt to rename it. However, if a file with the target name already exists, at this point dolphin will display an error message instead of giving an option to overwrite.

Reproducible: Always

Steps to Reproduce:
1. Create a file with the same name as one on the internet
2. Drag the internet file into the same directory and click "Copy Here"
3. Wait for dolphin to download the file. Once done, a dialog will appear, saying "Could not rename partial file /path/to/file. Please check permissions" (this occurs regardless of permissions)
4. Click "Retry" 
5. Now a "File already exists" dialog will appear, albeit without an option to rename the file. Click either "resume" or "overwrite" (both do the same thing, i.e. nothing). 
6. A second "File already exists" dialog will appear, this time with an option to rename. Click "overwrite"
7. File will finally be overwritten as expected

Actual Results:  
Three dialogs appeared throughout the course of overwriting a file

Expected Results:  
Only the final dialog need have been shown, with the option to rename or overwrite.

I'm using dolphin 15.08.2 using KDE frameworks 5.15.0 on Archlinux (openbox).
Comment 1 catlover2 2015-10-24 21:39:32 UTC
I can reproduce this, also with Dolphin 15.08.2/KDE 5.15.0 on Arch. However, it seems to work as expected with Dolphin 14.12.3 / KDE 4.14.3.
Comment 2 jmaspons 2016-01-22 08:10:59 UTC
Same problem when copying files from remote connections (fish protocol) in dolphin.
Comment 3 goo 2016-01-25 23:44:04 UTC
I can confirmed the same behavior if copying files from an archive open as a folder in dolphin.
Files are copied with a .part extention and then renamed to their original basename. If files with same name already exists on destination, the copied file is left on the destination with the .part extension and dolphin pops up an information dialog stating "Could not rename partial file .... Please check permission".

dolphin 15.08.3
KF 5.18
qt 5.5.1
Comment 4 Julian Steinmann 2018-04-19 15:22:29 UTC
This does not happen for me with Dolphin 17.12.3. Could somebody retry and confirm that this issue has since been fixed?
Comment 5 gandalf3 2018-04-19 18:26:03 UTC
Indeed, also works for me on dolphin 17.12.3

Thanks!
Comment 6 Julian Steinmann 2018-04-19 19:42:18 UTC
Great, I'll close this bug then. Have a nice day :)