Description
When importing a settings backup, the new settings are saved and updated in the cache, but the active global shortcuts register does not unregister old keybindings and register new ones immediately. The new key combinations do not take effect until the application is restarted.
Steps to Reproduce
- Set a global hotkey to
Ctrl+Alt+P and verify it works.
- Import a settings backup file that changes the
togglePause hotkey to Ctrl+Alt+K.
- Try using
Ctrl+Alt+K to toggle pause immediately without restarting.
- Observe that the old key combo is still active and the new one does not work.
Expected Behaviour
Importing a settings backup should trigger an immediate unregister and re-registration of global shortcuts in the main process.
Actual Behaviour
Global shortcuts are written to the configuration file but the runtime keybindings are not updated until the app is restarted.
Description
When importing a settings backup, the new settings are saved and updated in the cache, but the active global shortcuts register does not unregister old keybindings and register new ones immediately. The new key combinations do not take effect until the application is restarted.
Steps to Reproduce
Ctrl+Alt+Pand verify it works.togglePausehotkey toCtrl+Alt+K.Ctrl+Alt+Kto toggle pause immediately without restarting.Expected Behaviour
Importing a settings backup should trigger an immediate unregister and re-registration of global shortcuts in the main process.
Actual Behaviour
Global shortcuts are written to the configuration file but the runtime keybindings are not updated until the app is restarted.