Repository navigation
Report what the lifecycle observer saw, and drive focus in the probe - #28
Merged
Merged
Conversation
Two findings from the macOS runs, neither guessed at. The in-process input probe showed `active=0 key=0 responder=NSTextView` with `text=1` and the entry holding a space. Typing therefore reaches the focused field and becomes a provider event, but Tab did not move focus and was inserted as text instead: the key-view loop is AppKit's and wants an active application, which a hosted runner does not give an accessory app. Tab navigation is not provider behaviour, so the probe now moves focus through the provider and sends space to each control, which is what actually has to work -- real input reaching a control and becoming an event. The reported active and key state stays, because it is what explained the first result. The lifecycle failure survived giving the run loop a turn, so rather than guess again the observer now says what it saw. A mismatch reports the baseline, how many windows AppKit still lists, and how many of those are visible, which separates "closed but still listed" from "never released at all". The counts cost nothing on the platforms that already pass and change no assertion, so the fixture still reports the 235 checks the display contract requires. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two findings from the macOS runs, neither guessed at.
The in-process input probe showed
active=0 key=0 responder=NSTextViewwithtext=1and the entry holding a space. Typing therefore reaches the focused field and becomes a provider event, but Tab did not move focus and was inserted as text instead: the key-view loop is AppKit's and wants an active application, which a hosted runner does not give an accessory app. Tab navigation is not provider behaviour, so the probe now moves focus through the provider and sends space to each control, which is what actually has to work -- real input reaching a control and becoming an event. The reported active and key state stays, because it is what explained the first result.The lifecycle failure survived giving the run loop a turn, so rather than guess again the observer now says what it saw. A mismatch reports the baseline, how many windows AppKit still lists, and how many of those are visible, which separates "closed but still listed" from "never released at all". The counts cost nothing on the platforms that already pass and change no assertion, so the fixture still reports the 235 checks the display contract requires.