https://bugs.kde.org/show_bug.cgi?id=443907

Tiar <tamtamy.tym...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/98e18caf4
                   |                            |5692da861924886a3f5d5d32f80
                   |                            |8342

--- Comment #1 from Tiar <tamtamy.tym...@gmail.com> ---
Git commit 98e18caf45692da861924886a3f5d5d32f808342 by Agata Cacko.
Committed on 02/11/2021 at 16:03.
Pushed by tymond into branch 'master'.

Fix saving to bundle

Before this commit, bundle saving code would operate only on
filenames, but the dlg_create_bundle code changed that filename
to be something else. So the bundle would save with different filename
in the manifest and different actual filename.
This commit introduces two new parameters to the KoResourceManifest
(no new things are added to the actual manifest file in a bundle)
that are resourceId and filenameInBundle.

The first one ensures the first resource the bundle will be looking for
is the one with the same resouce id, if it's available.
The second one helps sanitizing the filename in the newly created bundle
while still allowing the manifest to point to the correct file.

M  +15   -6    libs/resources/KoResourceBundle.cpp
M  +1    -1    libs/resources/KoResourceBundle.h
M  +4    -4    libs/resources/KoResourceBundleManifest.cpp
M  +9    -2    libs/resources/KoResourceBundleManifest.h
M  +22   -1    plugins/extensions/resourcemanager/dlg_create_bundle.cpp
M  +2    -0    plugins/extensions/resourcemanager/dlg_create_bundle.h

https://invent.kde.org/graphics/krita/commit/98e18caf45692da861924886a3f5d5d32f808342

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to