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

            Bug ID: 438806
           Summary: Assert on layer styles -> local stroke resources
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Resource Management
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
safe assert in local stroke resources not containing a specific pointer.

STEPS TO REPRODUCE
1. Add a custom layer style to the layer: make sure to use a pattern and a
gradient. (I even used new custom ones) - open the dialog, press OK.
2. Open the dialog again.
3. Use "New" to save the layer style to your local resources.

OBSERVED RESULT
SAFE ASSERT (krita): "!localResources.contains(KoResourceSP())" in file
/home/tymon/kritadev/krita/libs/resources/KisLocalStrokeResources.cpp, line 73

Note: the layer style is in fact added and working correctly.

EXPECTED RESULT
No safe assert.

SOFTWARE/OS VERSIONS
git 7abe84bc3c

Krita

 Version: 5.0.0-prealpha (git 7abe84b)
 Languages: en_US, en, en_US, en, en_US, en, pl, pl_PL, pl
 Hidpi: true

Qt

  Version (compiled): 5.12.8
  Version (loaded): 5.12.8

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.4.0-58-generic
  Pretty Productname: Linux Mint 20.1
  Product Type: linuxmint
  Product Version: 20.1
  Desktop: X-Cinnamon

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

Reply via email to