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

            Bug ID: 461555
           Summary: Trying to set a pattern through Krita API generate a
                    crash
    Classification: Applications
           Product: krita
           Version: 5.1.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-n...@kde.org
          Reporter: grum...@grum.fr
  Target Milestone: ---

SUMMARY
Trying to set a pattern through Krita API generate a crash

STEPS TO REPRODUCE
In scripter, execute following script:
```
import krita

allPatterns = Krita.instance().resources('pattern')
pattern = allPatterns["DITH 0404 CLUS"]

av=Krita.instance().activeWindow().activeView()
av.setCurrentPattern(pattern)  
```

OBSERVED RESULT
Krita 5.1.0: crash (segmentation fault)
Krita 4.4.8: defined pattern is selected properly (no crash)

EXPECTED RESULT
Krita do not crash and defined pattern is selected

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

Reply via email to