Bug 453702

Summary: Can not create bundles when brush name has “.”
Product: [Applications] krita Reporter: thetwo <thetwo222>
Component: Resource ManagementAssignee: Halla Rempt <halla>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version: 5.0.6   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: pic

Description thetwo 2022-05-12 14:30:14 UTC
Created attachment 148765 [details]
pic

SUMMARY
As shown in the figure, if I have multiple brushes named

“test1.1”

"test1.2"

“test1.3”

Krita will treat them as "test1" and export fails because they have the same name.The content after the dot is ignored
Comment 1 Bug Janitor Service 2022-07-12 14:17:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1517
Comment 2 Halla Rempt 2022-07-12 18:16:23 UTC
Git commit 3ba6d0d9bcfb24d0d8dc5669ed115e1aa8378897 by Halla Rempt.
Committed on 12/07/2022 at 18:16.
Pushed by rempt into branch 'master'.

Use completeBaseName instad of baseName

Users are free to add as many dots as they want to the resource's
filename.

M  +2    -2    plugins/extensions/resourcemanager/dlg_create_bundle.cpp

https://invent.kde.org/graphics/krita/commit/3ba6d0d9bcfb24d0d8dc5669ed115e1aa8378897
Comment 3 Halla Rempt 2022-07-13 06:54:39 UTC
Git commit 8b6581fc74aa12bd7e6f5247aee33f77aeee5a3f by Halla Rempt.
Committed on 13/07/2022 at 06:54.
Pushed by rempt into branch 'krita/5.1'.

Use completeBaseName instad of baseName

Users are free to add as many dots as they want to the resource's
filename.
(cherry picked from commit 3ba6d0d9bcfb24d0d8dc5669ed115e1aa8378897)

M  +2    -2    plugins/extensions/resourcemanager/dlg_create_bundle.cpp

https://invent.kde.org/graphics/krita/commit/8b6581fc74aa12bd7e6f5247aee33f77aeee5a3f