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

            Bug ID: 445408
           Summary: Krita 4 resources bundle is broken and causes conflict
                    with Quiralta's brushes set
           Product: krita
           Version: 5.0.0-beta2
          Platform: Compiled Sources
                OS: Microsoft Windows
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: Resource Management
          Assignee: krita-bugs-n...@kde.org
          Reporter: a...@amyspark.me
  Target Milestone: ---

Created attachment 143506
  --> https://bugs.kde.org/attachment.cgi?id=143506&action=edit
Recompressed copy of "j) WaterC Spread-Pattern"

SUMMARY

Having Krita 4 and Quiralta's bundle enabled at the same time results in an
inconsistent state for a single resource, 

square_rough.png        0       cf1bc7415af3103afcd82f58a2e6fe18

which ends up disabled across all bundles. This breaks export of Quiralta's "j)
WaterC Spread-Pattern" brush.

I think (though I am not sure) this is because the stock bundle's manifest
lists every brush resource twice.

STEPS TO REPRODUCE
1. Get and install Quiralta's bundle from https://store.kde.org/p/1295080. 
2. Duplicate "j) WaterC Spread-Pattern" by extracting it, and make sure its MD5
changes so that it is enabled by the resource system. (Oxidize it, or use the
attached example.)
3. Attempt to export one or multiple copies of the brush.

OBSERVED RESULT

Export "succeeds" but  "krita.general: No resource for id  XXX" is logged,
where XXX is the ID for filename "square_rough.png".

EXPECTED RESULT

No error.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

acd7219d31 (upstream/krita/5.0, krita/5.0) Check pointers before derefencing

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

Reply via email to