Bug 363769 - Exporting to file format such as .png and .bmp appends extra period to filename
Summary: Exporting to file format such as .png and .bmp appends extra period to filename
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: 3.0
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-01 03:04 UTC by Nimthora
Modified: 2016-07-17 17:11 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nimthora 2016-06-01 03:04:34 UTC
When exporting a file in the portable Krita 64-bit windows version to .png (and other formats) the name you give the file contains an extra period after exporting. For example, exporting something as "Test.png" will be called "Test..png".

Reproducible: Always

Steps to Reproduce:
1. Make a new canvas
2. Draw anything
3. Export file as .png and give it a name
4. Look at file in filesystem (and notice the extra period)

Actual Results:  
Filename contains an extra period

Expected Results:  
Filename should be named what you told it to be named
Comment 1 elkmug 2016-06-01 13:59:27 UTC
I can confirm this happens in 3.0 on both Win 7 64-bit SP1 and Linux Mint 17 LTS.  

The issue can be avoided by explicitly adding the file extension when entering the file name.  For example, if you type 'test_01.kra'  in the name field the extra dot will not be added.  

Also this problem is not limited to just image files. I've experienced the same issue when saving painting assistants.
Comment 2 Halla Rempt 2016-06-07 08:43:46 UTC
Git commit e3c50382e5d43d1ff45e437363e4e0e8b12fc6d5 by Boudewijn Rempt.
Committed on 07/06/2016 at 08:43.
Pushed by rempt into branch 'krita/3.0'.

M  +5    -1    libs/widgetutils/KoFileDialog.cpp

http://commits.kde.org/krita/e3c50382e5d43d1ff45e437363e4e0e8b12fc6d5