You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Import settings" does not clear out shortcut keys that doesn't exist in the imported config. #1346
This is a new bug that hasn't been documented in a closed issue or in the Readme.
macOS version: 14.4
Rectangle version: 0.76(82)
Logs if applicable (In Rectangle menu, hold option, "View Logging..."):
steps:
Config shortcut keys, clear out a few (e.g. i left "Almost Maximize" to "Record Shortcut" in Settings)
Export and save the settings JSON file.
Add shortcut for e.g. "Almost Maximize"
Import the JSON settings file previously exported
I was hoping this would set the shortcut keys to exactly the state I exported it, but seem at least the shortcut keys that were not in the JSON settings were kept untouched rather than cleared.
Reacted by André Gonçalves (trespilhas), Aleksey Bobyr and PhilippVWC
Also, probably should be a separate issue - this may cause conflict shortcut keys to co-exist.
On my machine 2 with default (?) shortcut keys ctl-opt-g is mapped to "Last Third" (by default?)
On my machine 1 I cleared "Last Third" and assigned ctl-opt-g to "Maximize".
I exported config from machine 1, imported in machine 2, which sets "Maximize" to ctl-opt-g but "Last Third" is also ctl-alt-g and seems to be taking precedent. It also seems I'll need to remove all conflicting shortcut keys and re-assign it to the one I want for it to take effect, which defeats the purpose of importing config entirely :)
Also this isn't super obvious as the "thirds" are by default hidden in the setting panel.
While trying to work out the behaviour here I'm surprised that I can actually assign the same shortcut keys to different functionality and UI would silently accept it (the previously assigned functionality will never be activated even if I clear out the shortcut key on the newly assigned slot - need to clear both and re-assign).
Detecting and warning about conflicting shortcut keys in Settings UI and importing config could probably be a separate FR.
Activity
rxhanson commentedon Mar 13, 2024
Thanks for reporting. I'll slate this one for the next release.
wolf0403 commentedon Mar 13, 2024
Also, probably should be a separate issue - this may cause conflict shortcut keys to co-exist.
On my machine 2 with default (?) shortcut keys ctl-opt-g is mapped to "Last Third" (by default?)
On my machine 1 I cleared "Last Third" and assigned ctl-opt-g to "Maximize".
I exported config from machine 1, imported in machine 2, which sets "Maximize" to ctl-opt-g but "Last Third" is also ctl-alt-g and seems to be taking precedent. It also seems I'll need to remove all conflicting shortcut keys and re-assign it to the one I want for it to take effect, which defeats the purpose of importing config entirely :)
Also this isn't super obvious as the "thirds" are by default hidden in the setting panel.
While trying to work out the behaviour here I'm surprised that I can actually assign the same shortcut keys to different functionality and UI would silently accept it (the previously assigned functionality will never be activated even if I clear out the shortcut key on the newly assigned slot - need to clear both and re-assign).
Detecting and warning about conflicting shortcut keys in Settings UI and importing config could probably be a separate FR.
wolf0403 commentedon Aug 28, 2026
Thank you!