Bug 331103 - Removing the last canvas input profile causes Krita to crash
Summary: Removing the last canvas input profile causes Krita to crash
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.8 Beta
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-13 17:04 UTC by Eiko Yumi
Modified: 2014-02-14 16:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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