SUMMARY When I open a document directly from Google Drive, I am unable to use "Save As" to save it to the local storage. (4.3.1-alpha, git f1990fa) STEPS TO REPRODUCE 1. File -> Open. In the native dialog, pick a file from remote Drive. 2. Make a change to the document. 3. File -> "Save As". Pick a local directory, enter a file name and confirm. OBSERVED RESULT The file is not saved and an error dialog appears. If the target file name does not exist on the local storage, it says "Error occurred while writing to the file." If the target file name exists, it says "Unknown error." EXPECTED RESULT The file is saved to local storage.
Can you please tell me the path to the local directory? In my case, there is no "local directory", but only a path to an internal directory (app sandbox). Which isn't accessible to any app but Krita and saving works fine with that. Even, though it still is a bug as you can't access an internal directory.
I have done other tests and I think I have identified this issue wrongly. The problem seems unrelated to file storage, it rather is an issue with saving a file with selections. Scenario A 1. Create a document 2. Make a selection with any of the selection tools 3. Save the document Scenario B 1. Create a document 2. Add local selection mask to a layer 3. Save the document Scenario C 1. Open the document attached to this bug 2. Save the document All those scenarios produce the error on my device. The path I save to is /storage/emulated/0/Pictures. In scenario C, I can save the file after I delete the local selection mask attached to layer "local selection". I'm sorry for the confusion.
Created attachment 129394 [details] file producing the error
Hm... That works here... So it's still pretty change.
Update: raster selection seems to be unaffected, however, I can't save a vector selection. It might be related to bug https://bugs.kde.org/show_bug.cgi?id=422312
Bug 422312 seems to be fixed, could anyone with Krita on Android please check if this bug is also resolved with that fix?
(In reply to Tymond from comment #6) > Bug 422312 seems to be fixed, could anyone with Krita on Android please > check if this bug is also resolved with that fix? Hello, I think the bug I'm fixing right now (.kra files get saved as corrupt ones) shows the exact error "Error occurred while writing to the file" and has the same behavior, raster work and vectors don't. So, I guess it would be better to keep this open?