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

            Bug ID: 442117
           Summary: Crash when changing color model and the channels
                    docker is open
           Product: krita
           Version: 5.0.0-beta1
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Dockers
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 141356
  --> https://bugs.kde.org/attachment.cgi?id=141356&action=edit
debugger

SUMMARY
Krita crashes under these conditions:
* when changing the color model to a model that has less channels and
* the channel docker is open and
* the number of channels in the new model is smaller than the number of
displayed items in the docker channel list

Example video: https://www.youtube.com/watch?v=HmLQ6b5OSI4

In the video can be seen that if the number of items in the channels docker
list is greater than the number of channels in the new model, Krita crashes.

STEPS TO REPRODUCE
1. Open an image and the channels docker
2. Make sure that the channels docker is big. It should show at least one more
channel in the list than tha total number of channels in the new model
3. Change the model to a new one that has less channels

OBSERVED RESULT
Krita crashes

EXPECTED RESULT
Krita should change the model and update the channels docker correctly

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.22.4
Qt Version: 5.15.2

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

Reply via email to