Bug 392726

Summary: Crash when doing right-click on the gradient fill stop opacity input box of a vector
Product: [Applications] krita Reporter: mvowada <freebox64>
Component: GeneralAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED FIXED    
Severity: crash CC: halla
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: (Video)

Description mvowada 2018-04-04 15:01:58 UTC
Created attachment 111823 [details]
(Video)

(Tested with Krita Version: 4.1.0-pre-alpha (git d3f5e19) appimage on Ubuntu 14.04 Unity)

Hi,

right-clicking the gradient fill stop opacity input box of a vector shape, crashes Krita (see video):

    1) fill a vector with gradient
    2) move to the pane "Tool Options docker > Fill tab > Gradient fill"
    3) do right-click on the stop Opacity input box

Actual Results: crash
Expected Reuslts: let to type in the box a value.
Comment 1 Dmitry Kazakov 2018-04-06 12:30:41 UTC
Git commit dddd8c489ce3d384b42b5f8c6e2eb15fef3067cb by Dmitry Kazakov.
Committed on 06/04/2018 at 12:30.
Pushed by dkazakov into branch 'master'.

Avoid cycling updates in KoFillConfigWidget

They may cause crashes if update handlers start
enter each other recursively.

M  +12   -0    libs/pigment/resources/KoStopGradient.cpp
M  +4    -1    libs/pigment/resources/KoStopGradient.h
M  +28   -0    libs/ui/widgets/KoFillConfigWidget.cpp
M  +3    -0    libs/ui/widgets/KoFillConfigWidget.h

https://commits.kde.org/krita/dddd8c489ce3d384b42b5f8c6e2eb15fef3067cb
Comment 2 Dmitry Kazakov 2018-04-07 13:45:59 UTC
Git commit 6ad330d7289d6a84024bf1fc064497b83b70c163 by Dmitry Kazakov.
Committed on 07/04/2018 at 13:28.
Pushed by dkazakov into branch 'krita/4.0'.

Avoid cycling updates in KoFillConfigWidget

They may cause crashes if update handlers start
enter each other recursively.

M  +12   -0    libs/pigment/resources/KoStopGradient.cpp
M  +4    -1    libs/pigment/resources/KoStopGradient.h
M  +28   -0    libs/ui/widgets/KoFillConfigWidget.cpp
M  +3    -0    libs/ui/widgets/KoFillConfigWidget.h

https://commits.kde.org/krita/6ad330d7289d6a84024bf1fc064497b83b70c163