Bug 331103

Summary: Removing the last canvas input profile causes Krita to crash
Product: [Applications] krita Reporter: Eiko Yumi <esdouzewa>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: ghevan
Priority: NOR    
Version: 2.8 Beta   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Eiko Yumi 2014-02-13 17:04:54 UTC
Under Canvas Input Settings in the Krita configuration menu it's currently possible to remove all canvas input profiles. When the last profile gets removed, Krita crashes, potentially causing a loss of data.

Reproducible: Always

Steps to Reproduce:
1. click menu Settings > Configure Krita > Canvas Input Settings
2. click "edit profiles"
3. delete all profiles
Actual Results:  
Krita crashes immediately.

Expected Results:  
Either the last canvas input preset should not be able to be deleted or Krita should not crash when removing all canvas input presets.
Comment 1 vanyossi 2014-02-13 17:11:34 UTC
I can confirm this one on Linux (git e2f65adb2ac59bd)

Currently in this build it's also impossible to modify the canvas Input settings. On every restart it goes back to default shortcuts and default profiles.
Comment 2 Halla Rempt 2014-02-14 16:03:45 UTC
Git commit d066b0bdb832ea023ce2688128333cfcd1752edf by Boudewijn Rempt.
Committed on 14/02/2014 at 16:03.
Pushed by rempt into branch 'calligra/2.8'.

M  +5    -0    krita/ui/input/config/kis_edit_profiles_dialog.cpp

http://commits.kde.org/calligra/d066b0bdb832ea023ce2688128333cfcd1752edf
Comment 3 Halla Rempt 2014-02-14 16:18:26 UTC
Git commit 055f0c9ebcda2feda932121e456313b677ea98ae by Boudewijn Rempt.
Committed on 14/02/2014 at 16:03.
Pushed by rempt into branch 'master'.

M  +5    -0    krita/ui/input/config/kis_edit_profiles_dialog.cpp

http://commits.kde.org/calligra/055f0c9ebcda2feda932121e456313b677ea98ae