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

            Bug ID: 444504
           Summary: Can't save a brush preset with brush tip from ABR file
                    in Krita 5.0 without a safe assert
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Resource Management
          Assignee: krita-bugs-n...@kde.org
          Reporter: tamtamy.tym...@gmail.com
  Target Milestone: ---

SUMMARY
If you try to save a new brush preset with a brush tip coming from an ABR file,
there is a safe assert: SAFE ASSERT (krita): "resource->isSerializable() &&
"embedding non-serializable resources is not yet implemented"" in file
/home/tymon/kritadev/krita/libs/image/brushengine/kis_paintop_preset.cpp, line
270

The resource saves, and it's even usable, until you remove the ABR file with
brush tips.
The same goes if you try to put it into a bundle: first safe assert, then you
can see it gets imported, but only works if you have the ABR file as well.

STEPS TO REPRODUCE
1. Download a, ABR file
2. Make a new brush preset with a brush tip from that file
3. Try to save it as a new brush preset

OBSERVED RESULT
SAFE ASSERT:
SAFE ASSERT (krita): "resource->isSerializable() && "embedding non-serializable
resources is not yet implemented"" in file
/home/tymon/kritadev/krita/libs/image/brushengine/kis_paintop_preset.cpp, line
270

EXPECTED RESULT
No safe assert, everything is saved correctly.

SOFTWARE/OS VERSIONS
Krita

 Version: 5.1.0-prealpha (git b58801a7ae)
 Languages: en_US, en, en_US, en, en_US, en, pl_PL, pl, pl_PL, pl
 Hidpi: true

Qt

  Version (compiled): 5.11.1
  Version (loaded): 5.11.1

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

Reply via email to