Bug 374494

Summary: Krita overwrites read-only without any notice
Product: [Applications] krita Reporter: Dmitry Kazakov <dimula73>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: f.alavi2008, halla
Priority: NOR    
Version First Reported In: 3.0.1.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dmitry Kazakov 2017-01-03 12:00:01 UTC
There are two bugs actually:

1) Create .kra file and mark it read only
2) Open it in Krita

Krita's title bar tells "file is read only", which is correct

3) Press Ctrl+S. Krita silently overwrites the file.

Bug1: Krita should ask the user whether he wants to overwrite a read-only file or choose a different name/path instead of silently overwriting it. 

Bug2: Krita's title bar still tells that the file is read-only (whereas it is not) and modified(!).

4) Press Ctrl+W to close the document

Bug3: Krita asks whether to save a modified file, but the file is already saved.
Comment 1 Halla Rempt 2019-10-12 13:26:16 UTC
This is fixed in the meantime, with Agata's work.