Skip to content

Explain Karabiner recovery conflicts in Settings - #81

Merged
fhtpku-Cli merged 2 commits into
mainfrom
codex/karabiner-recovery-conflict-message
Nov 26, 2026
Merged

fhtpku-Cli merged 2 commits into
mainfrom
codex/karabiner-recovery-conflict-message

Conversation

@fhtpku-Cli

Copy link
Copy Markdown
Owner

During a Karabiner behavior test on macOS, switching profiles changed the configuration on disk. The app refused to overwrite it on recovery, then told the user to select the same file again. That instruction could lead to repeated unsuccessful attempts.

When a manual bind or saved-target reopen reports an external change, Settings now directs the user to review the active profile and the rules in the intended profile. The change affects presentation only. Recovery still requires the existing byte-level match and write authority.

The native regression case edits a temporary configuration during a test, exercises both entry points, verifies the exact edited bytes survive, and checks recovery using the original test bytes. The two message assertions failed on main. All four focused native tests passed with this change. English and Simplified Chinese resources passed plist validation.

@fhtpku-Cli
fhtpku-Cli merged commit 9979895 into main Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant