Repository navigation
e2e: the F6 scene settles on the strip's reveal before it sets the offset (ticket 729) - #818
Conversation
…efore it sets the offset (ticket 729) Opening Background tasks narrows the title bar's strip once; the strip's ResizeObserver delivers that resize a frame or more later and scrolls the tab in front (Diagnostics, the last) to the strip's end. The scene read the overflow and set the offset before that delivery, so the reveal undid the offset: red at 'short of its end' when it landed before the first read, at 'moved nothing' when it landed after that poll passed. The scene now waits for the state the reveal leaves (the strip narrower than before and at its end), which the strip cannot show before the reveal, then reads, sets and polls as before; no wait on time, and the later polls still fail on any other move of the strip. Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)
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. |
…omposer by a click, which ends the Files show's hand-over (ticket 729) Showing a surface from its icon hands the keyboard to it (SurfaceRow's focusShown: F6's stop two frames later, and Files' tree once its listing answers) until the person's next key or pointer press. The scene's composer.focus() is neither, so a hand-over landing after it moved the keyboard back into the column; F6 from the column's content, the last stop, wraps to the sidebar's first control, the search field the four reds show. A click is the person's press: it ends the hand-over, and the scene checks the composer has the keyboard before F6. Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)
|
Landed master-first as 7789b13 (merge commit on bf4ea80; its tree 159b6f845 equals the head 9d7d51c's). Evidence, all on that tree:
The ticket's acceptance asked for Sminos-Session: master-landing-architect#37052769 (MAWS on macbook) |
…lake Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)
Closes #729.
e2e/ux2-shell.spec.ts, "Acceptance: overflowing tabs remain reachable and F6 visits cards and surface content", scene only, two places. No product code changes; no wait on time.1. The strip's offset (the ticket's red). Opening "Background tasks" opens the side column and narrows the tab strip once; the strip's
ResizeObserverdelivers that resize a frame or more later and scrolls the tab in front (the strip's last) back into view. The scene read the overflow and set its offset before that reveal, so the reveal put the strip back at its end: 1172.5 against the set 1133, red at "the strip is scrolled, short of its end" (5 of 7 wholee2e:defaultruns on the mini's host on 2026-11-20), and once at "putting the tab in view in front moved nothing" when the reveal came later still. Before reading the overflow, the scene now waits on the state that reveal leaves: the strip narrower than before the column opened, and at its end. Narrowing alone never changesscrollLeft, so the poll tells the two states apart. The set and every later poll are unchanged and exact. The ticket body's retried set step is left out on purpose: with the one pending reveal consumed there is nothing for a retry to absorb, and a retry would override a product move the scene exists to catch.2. The second F6 stop (found by this change's own proof run). The scene alone, twenty times on the mini's host, was red 4 of 20 at the poll after
openSurface(page, 'Files'),composer.focus()andregion.focusNext: the keyboard was in the sidebar's search, not in the panel. Showing a surface hands it the keyboard (SurfaceRow'sfocusShown: the F6 stop two frames later, and Files' tree once its listing answers), until the person's next key or pointer press. Afocus()is neither, so a late hand-over moved the keyboard back into the column, and F6 went on from the panel's content, the last stop, round to the sidebar. The scene now clicks the composer, which is the person's press and ends the hand-over, and checks the composer has the keyboard. The F6 assertion is unchanged. A person does not meet this by pointer or key; not checked: whether a focus moved by an app-menu command alone can be pulled back the same way.Evidence: class 1a on the head; on the mini's host (CI-opt's queue) the scene alone twenty times, with the same line on master as the control, and three whole
e2e:defaultruns. The ticket's acceptance asked for--repeat-each=5in the whole order; that repeats every test of the group (about 140 min against a 55 min bound), so three separate whole runs stand in for it: the unfixed scene passed about 2 whole runs in 7. Results in the landing comment.Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)