Bug 447943

Summary: 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.
Product: [Applications] krita Reporter: c_natsuki
Component: File formatsAssignee: sh_zam <shzam>
Status: RESOLVED FIXED    
Severity: normal CC: griffinvalley, halla
Priority: NOR    
Version First Reported In: 5.0.0   
Target Milestone: ---   
Platform: Other   
OS: ChromeOS   
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.

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.