Bug 374494 - Krita overwrites read-only without any notice
Summary: Krita overwrites read-only without any notice
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (other bugs)
Version First Reported In: 3.0.1.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-03 12:00 UTC by Dmitry Kazakov
Modified: 2019-10-12 13:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.