godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.46k stars 21.07k forks source link

New editor shortcut disappears after restart #98249

Open ivxvm opened 5 days ago

ivxvm commented 5 days ago

Tested versions

v4.3.stable.official [77dcf97d8]

System information

Godot v4.3.stable - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU - AMD Ryzen 7 5800H with Radeon Graphics (16 Threads)

Issue description

I go to Editor -> Editor Settings -> Shortcuts, configure View Gizmos to keyboard key J. This binding works well for current session, but when I restart Godot it disappears.

Steps to reproduce

  1. Go to Editor -> Editor Settings -> Shortcuts
  2. Configure View Gizmos to keyboard key J
  3. Restart editor
  4. Check the key binding for View Gizmos (it's empty)

Minimal reproduction project (MRP)

N/A

syntaxerror247 commented 5 days ago

I cannot reproduce this issue on windows 11.

ivxvm commented 5 days ago

I cannot reproduce this issue on windows 11.

If that's important, Godot is installed through Steam.

ivxvm commented 5 days ago

@syntaxerror247

Update! The bug described in initial post for me happened in the fresh state of editor where no other settings were changed. Today I tried something different: after setting shortcut, I went to the General tab and changed some checkbox there. After that I restarted Godot and my shortcut is still there. Now when I only change shortcuts they are saved properly. So, my hypothesis is: maybe it has something to do with empty config. Like, when config is empty shortcuts are not saved, when it exists, they are. This is only hypothesis.