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

            Bug ID: 458418
           Summary: Krita 5.1.0 stuck at "Colorize Mask Key Stroke 0%" on
                    painting brush/eraser on colorize mask and crashes
                    later with OOM
           Product: krita
           Version: 5.1.0
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Tools/Colorize
          Assignee: krita-bugs-n...@kde.org
          Reporter: senthekkat...@gmail.com
  Target Milestone: ---
             Flags: version_5_applied+, corner_case-,
                    Translation_missing-, Usability+

Created attachment 151656
  --> https://bugs.kde.org/attachment.cgi?id=151656&action=edit
Log file from Krita > Help > Report Bug.

SUMMARY
Krita 5.1.0 stuck at "Colorize Mask Key Stroke 0%" on painting brush/eraser on
colorize mask and crashes later with OOM

Not sure how to get backtrace/debug symbols with flatpak installation. Krita
logs attached,

STEPS TO REPRODUCE

Colorize an image with multiple colors.
Take Pixel Art Fill brush with colorize mask tool selected, and erase one
color.
Try erasing a second mask color with same brush. (If not reproducing try
erasing a third color without changing any settings)

Same happens for freehand brush also with colorize mask tool where the status
bar will be saying "Freehand Brush Stroke 0%"

OBSERVED RESULT
Krita Stuck at "Colorize Mask Key Stroke: 0%" in status bar.
Cancelling the brush stroke progress does not work as it again tries to reapply
stroke.  One must kill Krita process to close document.

EXPECTED RESULT
When using erase multiple time with colorize mask brush, it should erase mask
colors.
When using freehand brush tool with erase on/off over colorize mask layer, it
should show a cancel/not available cursor instead of going to infinite brush
strokes.  

SOFTWARE/OS VERSIONS
Linux: Ubuntu 21.04.1 Mainline kernel 5.19.3
Nvidia GTX 1050 driver v515.65.01
QT Version: 5.12.12

ADDITIONAL INFORMATION
Last session's crash log pasted below. Attached full log file.

KRITA DID NOT CLOSE CORRECTLY
================================================================================

SESSION: 28 Aug 2022 15:49:32 +0530. Executing krita

Krita Version: 5.1.0, Qt version compiled: 5.12.12, loaded: 5.12.12. Process
ID: 2
-- -- -- -- -- -- -- --
28 Aug 2022 15:49:32 +0530: Style: fusion. Available styles: Windows, Fusion
28 Aug 2022 15:49:32 +0530: Database is up to date. Version: 0.0.17, created by
Krita 5.1.0, at Fri Aug 19 22:43:48 2022
28 Aug 2022 15:51:52 +0530: Importing application/x-krita to
application/x-krita. Location: /home/sen/Desktop/test.kra. Real location:
/home/sen/Desktop/test.kra. Batchmode: 0
28 Aug 2022 15:51:52 +0530: Loaded image from application/x-krita. Size: 256 *
256 pixels, 1.38889 dpi. Color model: 16-bit float/channel RGB/Alpha
(sRGB-elle-V2-srgbtrc.icc). Layers: 3
28 Aug 2022 15:58:53 +0530: Autosaving:
/home/sen/Desktop/.test.kra-autosave.kra
28 Aug 2022 15:59:03 +0530: Autosaving:
/home/sen/Desktop/.test.kra-autosave.kra
28 Aug 2022 15:59:13 +0530: Autosaving:
/home/sen/Desktop/.test.kra-autosave.kra
28 Aug 2022 15:59:23 +0530: Autosaving:
/home/sen/Desktop/.test.kra-autosave.kra

KRITA DID NOT CLOSE CORRECTLY

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

Reply via email to