Bug 365060 - "Could not write to file" dialog on MTP actually means "could not read from device".
Summary: "Could not write to file" dialog on MTP actually means "could not read from d...
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 15.12.3
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-04 07:34 UTC by Dan Dart
Modified: 2018-05-25 15:58 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dart 2016-07-04 07:34:16 UTC
I get a "Could not write to file" when copying a directory from an MTP device that breaks inexplicably half way through.
At first I thought it was a permissions issue, but it turns out it should read "could not read file", not "could not write to file".

Reproducible: Always

Steps to Reproduce:
1. Copy a bunch of files from an MTP device
2. Inevitably this process will die if it's an Orange phone
3. "Could not write to file" appears

Actual Results:  
"Could not write to file" dialog

Expected Results:  
"Could not read file" dialog.
Comment 1 Nate Graham 2017-08-18 16:40:58 UTC
So you were trying to copy the file to a location for which you didn't have write permission, and the wrong error message was displayed?
Comment 2 Dan Dart 2017-08-18 16:51:36 UTC
Nope, I had write permission for the location I was writing to, it's just that the source may have disappeared, but I got the wrong error.
Comment 3 Nate Graham 2017-08-18 16:54:53 UTC
Ah okay, gotcha.

Dolphin's MTP support is known to be spotty, and I think it makes more sense to focus on fixing those problems than improving the error message. Here are some relevant bugs that could have caused the underlying issue:

https://bugs.kde.org/show_bug.cgi?id=372860
https://bugs.kde.org/show_bug.cgi?id=379680
https://bugs.kde.org/show_bug.cgi?id=375840

Are you okay with closing this bug in favor of those?
Comment 4 Julian Steinmann 2018-05-25 15:58:53 UTC
No response... I do agree with @Nate that we should close this report and focus on the specific underlying problems (which should of course also resolve this issue).