Summary: | Filename is cut when "saving as" file with multiple dots in name | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Marcin Gurtowski <halftough29a> |
Component: | Tile manager | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.2.2 | ||
Target Milestone: | --- | ||
Platform: | Appimage | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/kde/krita/commit/803818f665bd963f0ae6a2c3188a7e971c11df2a | Version Fixed In: | |
Sentry Crash Report: |
Description
Marcin Gurtowski
2019-07-13 10:27:22 UTC
Git commit 14adaa3b3fcf8699ee096662e0e179f9dea3201f by Boudewijn Rempt. Committed on 13/07/2019 at 10:49. Pushed by rempt into branch 'master'. Use QFileInfo::completeBaseName instead of baseName This makes it possible for users to use dots in their filenames. Not that that is a good idea, everything after the first dot is technically an extensions, as in bla.tar.gz, but Krita doesn't handle any file formats where that actually happens, so we can be a bit less technically correct when handling filenames and only check the extension after the last dot. M +1 -1 libs/brush/kis_png_brush.cpp M +1 -1 libs/brush/kis_svg_brush.cpp M +1 -1 libs/flake/svg/SvgSavingContext.cpp M +4 -4 libs/pigment/resources/KoColorSet.cpp M +6 -6 libs/ui/KisMainWindow.cpp M +1 -1 libs/ui/KisResourceBundle.cpp M +1 -1 libs/ui/KisTemplateTree.cpp M +1 -1 libs/ui/dialogs/kis_dlg_layer_style.cpp M +3 -3 libs/ui/kis_layer_manager.cc M +2 -2 libs/ui/thememanager.cpp M +3 -3 libs/widgets/KoResourceServer.h M +1 -1 libs/widgetutils/KoFileDialog.cpp M +1 -1 libs/widgetutils/config/kcolorschememanager.cpp M +1 -1 plugins/dockers/compositiondocker/compositiondocker_dock.cpp M +2 -2 plugins/extensions/resourcemanager/resourcemanager.cpp M +1 -1 plugins/impex/brush/kis_brush_export.cpp M +1 -1 plugins/impex/qml/qml_converter.cc M +1 -1 plugins/impex/spriter/kis_spriter_export.cpp M +1 -1 plugins/paintops/libpaintop/kis_embedded_pattern_manager.cpp M +1 -1 plugins/paintops/libpaintop/tests/kis_embedded_pattern_manager_test.cpp https://invent.kde.org/kde/krita/commit/14adaa3b3fcf8699ee096662e0e179f9dea3201f Git commit 803818f665bd963f0ae6a2c3188a7e971c11df2a by Boudewijn Rempt. Committed on 17/07/2019 at 09:13. Pushed by rempt into branch 'krita/4.2'. Use QFileInfo::completeBaseName instead of baseName This makes it possible for users to use dots in their filenames. Not that that is a good idea, everything after the first dot is technically an extensions, as in bla.tar.gz, but Krita doesn't handle any file formats where that actually happens, so we can be a bit less technically correct when handling filenames and only check the extension after the last dot. M +1 -1 libs/brush/kis_png_brush.cpp M +1 -1 libs/brush/kis_svg_brush.cpp M +1 -1 libs/flake/svg/SvgSavingContext.cpp M +4 -4 libs/pigment/resources/KoColorSet.cpp M +6 -6 libs/ui/KisMainWindow.cpp M +1 -1 libs/ui/KisResourceBundle.cpp M +1 -1 libs/ui/KisTemplateTree.cpp M +1 -1 libs/ui/dialogs/kis_dlg_layer_style.cpp M +3 -3 libs/ui/kis_layer_manager.cc M +2 -2 libs/ui/thememanager.cpp M +3 -3 libs/widgets/KoResourceServer.h M +1 -1 libs/widgetutils/KoFileDialog.cpp M +1 -1 libs/widgetutils/config/kcolorschememanager.cpp M +1 -1 plugins/dockers/compositiondocker/compositiondocker_dock.cpp M +2 -2 plugins/extensions/resourcemanager/resourcemanager.cpp M +1 -1 plugins/impex/qml/qml_converter.cc M +1 -1 plugins/impex/spriter/kis_spriter_export.cpp M +1 -1 plugins/paintops/libpaintop/kis_embedded_pattern_manager.cpp M +1 -1 plugins/paintops/libpaintop/tests/kis_embedded_pattern_manager_test.cpp https://invent.kde.org/kde/krita/commit/803818f665bd963f0ae6a2c3188a7e971c11df2a |