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

            Bug ID: 411124
           Summary: Merge Group on invisible group layer crashes krita
           Product: krita
           Version: 4.2.5
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: captains...@gmail.com
  Target Milestone: ---

If a group layer with any sublayers is set to invisible and "Merge Group" is
selected from the right-click menu on that group in the layers docker, Krita
crashes.

STEPS TO REPRODUCE
1. Create a new image
2. Create a group layer and add at least one layer to it (or right-click an
existing layer -> Group -> Quick Group)
3. Make that group layer invisible by clicking its eye icon in the layers
docker
4. Right-click that group layer and click "Merge Group"

OBSERVED RESULT

Krita crashes immediately.

EXPECTED RESULT

Either the group should be merged and remain invisible, a message should appear
saying this action makes little sense, or "Merge Group" should be greyed out if
the user shouldn't be doing that in that situation in the first place.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel 4.15.0-58-generic (via Ubuntu)
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.47.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION

With some additional testing, I've seen this NOT crash a few times with the
exact same inputs.  I'd put it at around a 95% crash rate, though.

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

Reply via email to