| Summary: | Choosing the file type, the filename gets the trailing field delimited by a dot (".") removed by Krita, if: a) it has multiple dots in it and b) it doesn't have an extension specified (Krita 3.3.2 appimage) | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | mvowada <freebox64> | 
| Component: | Usability | Assignee: | Krita Bugs <krita-bugs-null> | 
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.3.2 | ||
| Target Milestone: | --- | ||
| Platform: | Appimage | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/krita/23d10f42db59d4404148b2a29cda8c78cb28eb80 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Git commit 23d10f42db59d4404148b2a29cda8c78cb28eb80 by Boudewijn Rempt. Committed on 17/01/2018 at 13:27. Pushed by rempt into branch 'master'. KoFileDialog: check whether the suffix reflects a mimetype If the suffix doesn't map to a mimetype, it probably isn't a mimetype, so we should add the suffix for the currently selected filter. M +7 -1 libs/widgetutils/KoFileDialog.cpp https://commits.kde.org/krita/23d10f42db59d4404148b2a29cda8c78cb28eb80 Git commit 1b6b998b2dc181e78828c67b320e544a206f383f by Boudewijn Rempt. Committed on 24/01/2018 at 09:14. Pushed by rempt into branch 'master'. Improve the check for mimetypes in KisMimeDataBase This fixes the regression caused by 23d10f42db59d4404148b2a29cda8c78cb28eb80 M +1 -6 libs/koplugin/KisMimeDatabase.cpp M +6 -1 libs/widgetutils/KoFileDialog.cpp https://commits.kde.org/krita/1b6b998b2dc181e78828c67b320e544a206f383f | 
(Krita 3.3.2 appimage on Ubuntu 14.04) Steps to reproduce: 1) "file > save" a new document 2) type a filename with a) multiple dots in it and b) no extension specified (like i.e. "my.painting") 3) choose a file type Actual results: the filename is cut at the trailing dot, resulting in i.e. "my.png" Expected result: do not cut the filename containing multiple dots, when choosing the file type and the extension has not been typed yet