Bug 393353

Summary: Krita Crashes When Deleting Palette
Product: [Applications] krita Reporter: MikeR <ramosmike79>
Component: DockersAssignee: Krita Bugs <krita-bugs-null>
Severity: crash CC: antti.savo, scottpetrovic
Priority: NOR    
Version: 4.0.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description MikeR 2018-04-20 19:15:38 UTC
In the Palette Docker, when using the "Choose Palette" menu, clicking the "Delete Resource" button causes Krita to crash.

Appears to be the same as Bug Report # 392178, but this is in Windows 10 64bit
Comment 1 Scott Petrovic 2018-04-20 19:49:58 UTC
Confirmed. This crash is happening the latest version of GIT for me on my linux box. It appears to be a different issue than what was previously done though. There is a child accessor that is getting accessed when the parent doesn't exist.

After looking at the crash through gdb it appears this is the culptrit


Comment 2 Antti Savolainen 2018-04-20 20:03:54 UTC
Further confirming this with a video https://webmshare.com/Gm4Ba
Comment 3 Scott Petrovic 2018-04-21 02:12:29 UTC
Git commit 2f7426b865bb9629f28f7b24cbaac286f777f367 by Scott Petrovic.
Committed on 21/04/2018 at 02:11.
Pushed by scottpetrovic into branch 'master'.

M  +8    -1    plugins/dockers/palettedocker/palettedocker_dock.cpp

Comment 4 Halla Rempt 2018-05-02 11:59:51 UTC
Git commit f8556aa89078a5e20840eaab0fdf91b350d37e53 by Boudewijn Rempt, on behalf of Scott Petrovic.
Committed on 02/05/2018 at 11:54.
Pushed by rempt into branch 'krita/4.0'.

(cherry picked from commit e06636540f9fdd79a80b5a9bc24e7752b29e19e4)

M  +8    -1    plugins/dockers/palettedocker/palettedocker_dock.cpp