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

            Bug ID: 445390
           Summary: Layer styles duplicate bundle patterns
           Product: krita
           Version: 5.0.0-beta2
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Resource Management
          Assignee: krita-bugs-n...@kde.org
          Reporter: ghe...@gmail.com
  Target Milestone: ---

I've been testing layer styles and I noticed some patterns appeared twice even
if the file with the layer style was not open.

STEPS TO REPRODUCE
1. Apply a pattern overlay layer style: Maze_line.png and apply and save the
file
2. Relaunch Krita (At this point the resource manager shows the pattern only
once as supposed.)
3. Open the file with the layer style
4. The pattern will be shown twice as expected but not listed in as a layer
resource but instead as a bundle resource.
5. Close file and relaunch: Pattern is duplicated since.

I've managed to by, selecting the duplicated pattern and resaving/relaunching,
to duplicate the same resource in several bundles. i.e. the same pattern shown
listed in krita3.bundled and krita4.bundle. The duplicated patterns are stored
in <kritaResources>/<bundlename>_modified/patterns . As a note: I was only able
to make "09b_drawed-CrossedLines.png" be duplicated 2 times. once as a
krita3.bundle_modified and once as krita4, as this resource is on both bundles.

As a note I also tested this in MR1146
(https://invent.kde.org/graphics/krita/-/merge_requests/1146) and got the same
result.

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

Reply via email to