| Summary: | Saving files opened from a file manager silently fails | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Anna Medonosova <anna.medonosova> |
| Component: | File formats | Assignee: | sh_zam <shzam> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | shzam |
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Android | ||
| OS: | Android 11.x | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/c88e2124497c787a29b97ce308e1b29c3ea1c49b | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | usage log | ||
Hello Anna! Yes, I can reproduce the bug on Android. I can also reproduce this on Linux if the file is only readable (ie without write permissions). File manager typically does not give the app write permissions, so this makes sense. Assigning this to myself. A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1139 Git commit e109a49e80eb47ffed80fafc9503e12a0af5d3df by Sharaf Zaman. Committed on 08/11/2021 at 13:56. Pushed by szaman into branch 'master'. Make the modify flag writable even if the document is read-only M +0 -5 libs/ui/KisDocument.cpp https://invent.kde.org/graphics/krita/commit/e109a49e80eb47ffed80fafc9503e12a0af5d3df Git commit c88e2124497c787a29b97ce308e1b29c3ea1c49b by Sharaf Zaman. Committed on 08/11/2021 at 17:38. Pushed by szaman into branch 'krita/5.0'. Make the modify flag writable even if the document is read-only (cherry picked from commit e109a49e80eb47ffed80fafc9503e12a0af5d3df) M +0 -5 libs/ui/KisDocument.cpp https://invent.kde.org/graphics/krita/commit/c88e2124497c787a29b97ce308e1b29c3ea1c49b |
Created attachment 143314 [details] usage log SUMMARY On Android (Samsung Galaxy Tab S6), when I open a .kra file from within a file manager, make changes and want to save later, the file is not saved and there is no error shown. Also, there is no 'saving document' progress bar down in the status bar (the progress bar shows up for the same file opened from within Krita). The log does not even show a save operation. 'Save as' works normally. Saving documents opened from within Krita works correctly. STEPS TO REPRODUCE 1. open a .kra file from a file manager 2. make a change 3. click the save button OBSERVED RESULT The change is not saved. There is no corresponding save operation in the log file. EXPECTED RESULT Ideally, the file is saved. If that is not possible, there should be an error message shown to the user.