Bug 487233 - Shortcuts are reset to krita default when you try to overwrite your own personal .shortcut layout
Summary: Shortcuts are reset to krita default when you try to overwrite your own perso...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Shortcuts and Canvas Input Settings (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: unspecified Unspecified
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-19 13:36 UTC by Dynline
Modified: 2024-05-19 14:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dynline 2024-05-19 13:36:30 UTC
SUMMARY
Shortcuts aren't updated and are reset after saving a new shortcut a second time

STEPS TO REPRODUCE
1. open the shortcuts window and change shortcuts for example "deselect" to "ctrl+D" of your own personal .shortcut file (not the default)
3. overwrite the new .shortcut 
4. close krita
5. open krita
6. check the shortcut, you'll see it's still "ctrl+D"
7. choose another action and change it, for example I changed "add scalar keyframes" to "7"
8. overwrite the same .shortcut file
9. close krita
10. open krita
11. now "add scalar keyframes" will still be "7", but if you check "deselect" it will now be "ctrl+shift+A"



OBSERVED RESULT
The shortcuts get reset if you change a different shortcut a second time, this happens consistently every time.

EXPECTED RESULT
Shortcuts should remain saved

SOFTWARE/OS VERSIONS
5.3.0-prealpha (git 1d5dcca)

Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.15.0-107-generic
  Pretty Productname: Linux Mint 21.3
  Product Type: linuxmint
  Product Version: 21.3
  Desktop: X-Cinnamon
  Appimage build: Yes
Comment 1 Dynline 2024-05-19 14:54:25 UTC
Correction on the previus post

This happens in windows as well, even after I remove kritarc and other files in the local folder, and make a new shortcut layout.