Bug 367929 - Not changing file extension when saving through "save us" and adding extra dot
Summary: Not changing file extension when saving through "save us" and adding extra dot
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (other bugs)
Version First Reported In: 3.0
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-28 16:44 UTC by kalia24
Modified: 2016-08-28 19:49 UTC (History)
1 user (show)

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


Attachments
Not changed format of the file (2.71 KB, image/png)
2016-08-28 16:44 UTC, kalia24
Details
Not changed format of the file 2 (8.99 KB, image/png)
2016-08-28 16:45 UTC, kalia24
Details
Double dot (10.05 KB, image/png)
2016-08-28 16:45 UTC, kalia24
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kalia24 2016-08-28 16:44:03 UTC
When opening some file format (let's say *.tif) and then trying to save as *.kra file (or any other format different from the original one in fact), when I choose the desired target format from the list, the extension of the actual file doesn't get changed (see attachment "not_changed_extension.png"). It's quite inconvenient and annoying, since when I hit OK, the file is not even saved as *.tif.kra, but it remains simple *.tif (see attachment "not_changed_extension2.png"). [sorry for the PL texts in screens, but the popup windows look the same in any language, so I hope u get what's going on]

The "fun" doesn't end here though, since even when I manually delete the wrong extension (with dot) in the "Save as..." window, leaving only file name and hit OK on saving, the file is saved as *.kra... but with double dot (see attachment "double_dot.png").

This must be some kind of regression in saving mechanism, since it never happened to me in previous versions of Krita.

Reproducible: Always

Steps to Reproduce:
a)
1. Open some file.
2. Try to save it with different extension.
b)
1. Open some file.
2. Try to save it with different extension, removing the original extension and the dot manually in the "Save as..." window.

Actual Results:  
The extension remains the same/saves with double dot.

Expected Results:  
Extension should follow the options chosen in "Save as..." window and be saved with single dot (unless ofc. there was a dot in the file name, but u get the point).
Comment 1 kalia24 2016-08-28 16:44:43 UTC
Created attachment 100824 [details]
Not changed format of the file
Comment 2 kalia24 2016-08-28 16:45:11 UTC
Created attachment 100825 [details]
Not changed format of the file 2
Comment 3 kalia24 2016-08-28 16:45:37 UTC
Created attachment 100826 [details]
Double dot
Comment 4 Halla Rempt 2016-08-28 19:49:35 UTC
Hi,

This is fixed in 3.0.1 -- you can test that with the dev builds we've announced on krita.org.