Skip to content

Re-register the hot keys as one thing or not at all - #823

Merged
SimonCropp merged 1 commit into
mainfrom
fix-hotkey-rebind-rollback
Aug 22, 2026
Merged

Re-register the hot keys as one thing or not at all#823
SimonCropp merged 1 commit into
mainfrom
fix-hotkey-rebind-rollback

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Saving Options cleared and re-registered all three hot keys and only then looked at
whether any of them had failed. A collision on the second returned "Binding already
registered" with the first already live on its new combination, the second unbound,
and settings.json - written after this - still holding the old ones. So the dialog
said the save had failed while the keys said otherwise, until the tray was
restarted.

A failed attempt now puts back the bindings that were live before it. That the
restore itself succeeded is not reported: they are the bindings the tray already
had, and there is nothing to be done at the dialog about one of them having been
taken since.

Saving Options cleared and re-registered all three hot keys and only then looked at
whether any of them had failed. A collision on the second returned "Binding already
registered" with the first already live on its new combination, the second unbound,
and settings.json - written after this - still holding the old ones. So the dialog
said the save had failed while the keys said otherwise, until the tray was
restarted.

A failed attempt now puts back the bindings that were live before it. That the
restore itself succeeded is not reported: they are the bindings the tray already
had, and there is nothing to be done at the dialog about one of them having been
taken since.
@SimonCropp SimonCropp added this to the 20.0.0 milestone Aug 22, 2026
@SimonCropp
SimonCropp merged commit 11ee004 into main Aug 22, 2026
10 checks passed
@SimonCropp
SimonCropp deleted the fix-hotkey-rebind-rollback branch August 22, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant