Bug 432952

Summary: [Master] Restore Defaults for Canvas Input Settings softly removes all the canvas input shortcuts
Product: [Applications] krita Reporter: tomtomtomreportingin
Component: Shortcuts and Canvas Input SettingsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ghevan
Priority: NOR Keywords: regression
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tomtomtomreportingin 2021-02-14 21:51:01 UTC
(git 0173021)

SUMMARY
Pressing "Restore Defaults" in the Canvas Input settings interface softly removes all the canvas input shortcuts. I say "softly" because the user can still cancel the changes before they apply.

STEPS TO REPRODUCE
1. Open the Canvas Input Settings
2. Press "Restore Defaults"
3. Observe

OBSERVED RESULT
All the canvas shortcuts are removed.

EXPECTED RESULT
Default shortcuts are loaded.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 vanyossi 2021-03-05 22:38:08 UTC

*** This bug has been marked as a duplicate of bug 434003 ***
Comment 2 tomtomtomreportingin 2021-03-05 23:33:05 UTC
Uh, I do not believe this bug is a duplicate? I am reporting an entirely separate issue that only exists in the upcoming 5.0.
Comment 3 vanyossi 2021-03-05 23:58:53 UTC
Reopening
Comment 4 vanyossi 2021-03-06 00:55:23 UTC
Im sorry but I cannot reproduce this one in e2d3c4, pushing the restore default does not erase default canvas input setting shortcuts.

Probably your settings files are modified and krita restores to those modified settings files, erasing all canvas input settings
Comment 5 tomtomtomreportingin 2021-03-07 01:05:36 UTC
I'll mark this as resolved for now as I couldn't observe it in a tmp environment, but I still wonder why this happened in the first place.