Bug 381880 - Automatic file extension causes silent overwrite
Summary: Automatic file extension causes silent overwrite
Status: RESOLVED DUPLICATE of bug 360666
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.1.4
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-01 20:07 UTC by Maia
Modified: 2017-11-21 10:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maia 2017-07-01 20:07:31 UTC
Overview:

In Krita 3.1.4, the Save As and Export dialogs can silently overwrite an existing file if you let it automatically add the file extension. It seems to happen regardless of the file type, as long as the full filename (including extension) is the same as an existing file.

Steps to Reproduce:

1. Create a file named foo.kra somewhere. The contents don't matter.
2. Open Krita and create a new document.
3. Go to the File menu and click either Save As or Export.
4. Navigate to the directory containing foo.kra.
5. Select the "Krita document" file type and type "foo" into the filename box.
6. Click "Save".

Expected Results:

Krita adds the file extension automatically, then sees that a file with that name already exists and asks me whether I want to overwrite it.

Actual Results:

Krita adds the file extension automatically and overwrites the existing file without prompting.

Build Date & Platform:

Krita 3.1.4 (built from source) on Ubuntu 16.10.
Comment 1 Halla Rempt 2017-07-11 15:50:08 UTC
This sounds very much like https://bugs.kde.org/show_bug.cgi?id=360666
Comment 2 Halla Rempt 2017-11-21 10:48:37 UTC
Yes, it is, and it's fixed in the meantime. I should update the appimage build system to use a newer version of frameworks.

*** This bug has been marked as a duplicate of bug 360666 ***