Bug 439063

Summary: Deleted default Shortcut Schemes are re-generated after restart
Product: [Applications] krita Reporter: Paolo Puggioni <me>
Component: Shortcuts and Canvas Input SettingsAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: honore.ingelvar, wstephenson
Priority: NOR    
Version First Reported In: 5.2.11   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paolo Puggioni 2021-06-23 11:08:01 UTC
SUMMARY

In Settings-> Configure Krita-> Shortcut Schemes

I regularly swap between my two custom schemes, and I never use the ones that come with Krita (Default, paint_tool_sai_compatible, tablet_pro, photoshop_compatible, krita_default).

To make it easier finding the ones that I need I often delete the unused ones, but they are generated again after restart.


STEPS TO REPRODUCE
1. Delete any default shortcut scheme from the drop-down menu in Settings-> Configure Krita-> Shortcut Schemes
2. restart Krita


OBSERVED RESULT

The deleted shortcut schemes are still in the list

EXPECTED RESULT

The deleted shortcut schemes should not be part of the list any more.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Opensuse Tumbleweed 20210321
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Paolo Puggioni 2021-06-23 11:14:58 UTC
After more testing I have to report that the deletion sometimes doesn't work even during the same session.

Once I exit the Settings window and I reopen it again, the deleted items are still there.

I couldn't find a pattern for this behaviour.

This affect both Krita's default shortcut schemes and my custom ones.
Comment 2 Will Stephenson 2021-12-14 15:30:08 UTC
Reproduced with 5.0.0beta5, the default schemes are always recreated if deleted, or even if simply renamed.

If these schemes should always be present, the Remove/rename buttons should be disabled, and the Defaults button can be removed.
Comment 3 Vitamorus 2025-09-06 14:52:04 UTC
Re-confirming this for 5.11

As suggested, handling this more gracefully by disabling the delete button for defaults shortcut schemes would be great. Perhaps even separate the defaults from the custom ones in the dropdown for additional clarity.  

An additional improvement would be to reformat the scheme names to use title case, so instead of "paint_tool_sai_compatible" it would read "Paint Tool Sai Compatible".