Repository navigation
Engine: a shared-mode click whose activation clicked its in-window point holds the screen until the window order reads back, capped at 200 ms (#321) - #325
Merged
Conversation
…int holds the screen until the window order reads back, capped at 200 ms, with transientRaise recorded (refs #321) Ruling 90ec27dd. The delivery guard of a shared-mode pointer action whose activation (its own or the held one it joins) clicked its in-window activation point reads the order for at least 150 ms after the events and releases the hold once it reads back, or at the 200 ms cap by the timer whatever the order. Clicks without that activation click (Chromium's) and the paste route keep the 100 ms cap and 60 ms least wait; dedicated mode is unchanged. Every delivery record carries transientRaise {seen, ms?, outlivedHold}; raiseLeft is unchanged. Sminos-Session: cursor235#b93055dd (cua on macbook)
…d's transientRaise, the hold's cap amended (refs #321) Sminos-Session: cursor235#b93055dd (cua on macbook)
… ran it, so a sharer's cap and least wait are its own (refs #321) The review of 602b709..6c96be2 (one P2): another connection's action sharing the activation before the owning action's events took its open hold and inherited its policy (a pointer joining a paste's got the 100 ms cap, a paste joining a pointer's the 200 ms one). deliver(ranBy:) now takes the pending hold only for the action that ran the activation; any other takes a hold of its own, classified by itself. Both interleavings covered; the Decision Log entry records it. Sminos-Session: cursor235#b93055dd (cua on macbook)
…rder reads back (refs #321) Sminos-Session: cursor235#b93055dd (cua 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. |
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.
Summary
In shared mode, a click in a background Safari or TextEdit window often raised that window above the person's own window for a moment (102 of 220 Safari clicks showed it). Now the screen stays frozen until the window order is back as it was, so the raise happens out of sight: 3 of 220 on this branch, 0 of 30 on the final head.
Closes #321
The rule (design session rulings e48e53de, 90ec27dd and 3f99bd19; the spec's #321 Decision Log entry)
activationPointGuardMinimumMs), because a raise can come 4–160 ms after the down;activationPointHoldCapMs), up from 100. The cap's timer releases the hold whatever the order, so nothing can freeze the screen longer; a unit test proves it while each repair blocks for 300 ms.deliver(ranBy:)). Another connection's action sharing the activation takes a hold of its own, classified by itself.transientRaise {seen, ms?, outlivedHold}is on every delivery record.raiseLeftis unchanged.Cost
Per affected click:
Limits: "invisible, not absent"
Live proof (GitHub-hosted macOS; main 602b709 against the branch)
The evidence is in
docs/evidence/2026-11-07-shared-raise/.outlivedHoldscreenHoldMsp50 /cappedtransientRaisechecked against the watcher:outlivedHoldmatched the visible raises 3 of 3.Runs:
The kit is
probe/321-ab(01130b9), off main.Tests and review
Engine: 943 tests (1 skipped: Spike: visible controls under collapsed-frame containers on cut pages (revisit seeding) #304's gated replay). There are 10 new tests across
ClickDeliveryTests,FocusHoldTestsandPasteActivationTests.reviewer-high: two rounds over 602b709..3436cfa.
CI:
The head adds only the evidence folder.
Sminos-Session: cursor235#b93055dd (cua on macbook)