Repository navigation
ShiftIME v2.0.0 - #9
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 37ef3f2e8a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if let currentID, currentID != startingID, currentID != expectedID { | ||
| // Hotkey 60 picked a different source than expected; invalidate MRU and fall back to TIS. | ||
| observedPreviousID = nil | ||
| return nil |
There was a problem hiding this comment.
Preserve manual source changes during native-hotkey polling
If the user manually selects a third input source while this native-hotkey poll is in flight, this branch treats it as a stale MRU result and returns nil; the caller then falls through to selectAndConfirm and selects the original target, undoing the user's choice. The TIS confirmation path already treats a third source as an interruption, so preserve that behavior here rather than forcing the target.
Useful? React with 👍 / 👎.
ShiftIME 2.0.0
ShiftIMECore+ Swift Testing 52/52 tests)observedPreviousIDMRU +.cghidEventTap) fixing Muse/WebKit/Catalyst Pinyin desync while protecting Finder rename, Popovers, and SpotlightSMAppService.mainApp, running-app picker, live test sandbox)SecCodeCDHash stale-after-update detection, drag-to-NSOpenPanelcard, Finder reveal, and path copy