Bug 447943 - Krita automatically updated to version 5.0.0 on my Chromebook, but now suddenly all of my .kra files are write-protected (both ones I made before and after the update) and I can't save any edits I make to the same file.
Summary: Krita automatically updated to version 5.0.0 on my Chromebook, but now sudden...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (other bugs)
Version First Reported In: 5.0.0
Platform: Other ChromeOS
: NOR normal
Target Milestone: ---
Assignee: sh_zam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-04 17:15 UTC by c_natsuki
Modified: 2022-01-05 11:00 UTC (History)
2 users (show)

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


Attachments
Message displayed by Krita when I try to save. "download/Art/Krita Art" is the progression of folders that the .kra file is located in, and Season_Sketchbook is the name of the file. (44.00 KB, image/png)
2022-01-04 17:15 UTC, c_natsuki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description c_natsuki 2022-01-04 17:15:12 UTC
Created attachment 145112 [details]
Message displayed by Krita when I try to save. "download/Art/Krita Art" is the progression of folders that the .kra file is located in, and Season_Sketchbook is the name of the file.

Krita automatically updated to version 5.0.0 on my Chromebook, but now suddenly all of my .kra files are write-protected (both ones I made before and after the update) and I can't save any edits I make to the same file. Now, the app tells me that I have to save the file under a different name every time. The title of the file also says "Write Protected" after it.
***

STEPS TO REPRODUCE
1. Krita updates to 5.0.0
2. Open and old .kra file or create, save, and reopen a new .kra file
3. Make edit
4. Press 'save'

OBSERVED RESULT
Krita is unable to save document because it does not have permission to write to the file.

Displays:
content://org.chromium.arc.file_system.fileprovider/((File_Name)).kra cannot be written to. Please save under a different name.

EXPECTED RESULT
Krita saves the edits made to the same file 

ADDITIONAL INFORMATION
Comment 1 wolthera 2022-01-04 17:52:36 UTC
Hey, thanks for reporting!

Assigning this to sh_zam, I myself tested on my Android tablet and am not getting these issues, but apparantly chrome book is a very different beast.
Comment 2 Halla Rempt 2022-01-05 11:00:52 UTC
This is fixed in https://invent.kde.org/graphics/krita/-/commit/7175ca9c9f4cea94cea11f6709a74e25f31ff137 -- I'll be making builds today and upload them tomorrow.