last month
026862fThe log showed shortcuts being registered then silently cleared one second later. Two causes: - keyDown on the record buttons had no capture guard, and the button keeps focus after recording. Any key pressed afterwards re-recorded over the shortcut, and Escape cleared it. Now keyDown ignores keys unless that button is actively capturing, and the button blurs itself after recording so stray keys cannot touch the shortcut. - capture state was reset by every bridge 'state' message; states now arrive spontaneously (DefaultChanged wiring), which exited an in-progress capture mid-keystroke. Capture now ends only on keydown or blur. Also completes the capture UX that failed to apply atomically with the previous batch: localized 'Press keys · Esc clears' hint and blur cancels that resume paused global hotkeys (hotkeyCaptureEnded), on both the global/device list and the preset recorder.
Parent4bc8e46