Repository navigation
fix: keep Task progress double-clicks from changing the window - #207937
vyctorbrzezowski merged 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. |
|
Codex review: passed. What this changesThis PR prevents mouse events from portaled content from starting a native window drag through its logical header ancestor. Example: Double-click the Task progress step “Verify the progress card” in the macOS Details panel.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored draft addresses a current event-routing bug with a focused fix and no actionable findings. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherControl UI header handlers translate mouse gestures into native window-drag bridge messages; the desktop host handles the resulting window gesture. flowchart TD
A[Mouse press] --> B[Solid event delivery]
B --> C[Shared window drag handler]
C --> D[Physical path and interactive checks]
D --> E[Native WebKit bridge]
E --> F[Desktop window gesture]
Technical reviewBest possible solution: Keep the physical event-path check in the shared drag handler so portaled content retains normal interaction while passive header space remains draggable. Do we have a high-confidence way to reproduce the issue? The header binding, portaled Details content, and missing current-main path check establish the failure route; the PR reports red/green browser reproduction, which this read-only review did not rerun. Is this the best way to solve the issue? The fix restores the existing drag-surface invariant at its shared owner without adding state, changing native contracts, or scattering event suppression across cards. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 848732ff9f98. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +5, Tests +33. Total +38 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 28, 2026, 10:36 PM ET / November 29, 2026, 03:36 UTC. |
|
Merged via squash.
|
* commit '1b246c09b0c1d41ed0f090f07fc50381decba90d': (574 commits) fix: stop the manual handoff UI test from hanging after completion (#207945) fix: surface favorites and recommended models in picker search (#201450) fix: show the saved quota reset when chat skips its only model (#207210) fix: avoid reloading unchanged plugins after Gateway boot (#207949) fix: keep Task progress double-clicks from changing the window (#207937) fix(doctor): continue repairs past retained conflicting exec approvals (#207951) test(reply): make account isolation assertion decisive (#207793) fix: keep task progress compact when reopening Details (#207943) fix(ui): restore the saved reading position after an empty search (#207673) fix: remove four Memory Wiki settings that had no effect (#207882) test(ios): verify send-at-tap feedback and work grouping (#207913) test(agents): reject unsuccessful live replay completions (#207724) fix(cron): keep a started cron turn running when its job is edited (#207947) improve(ui): put waiting for a free agent under automation timing (#201282) chore(ui): refresh control ui locales (#207514) fix: distinguish unresolved delivery failures from delivery history (#207897) test(doctor): require security check in proxy ordering assertion (#207912) fix: keep update rollback tests in sync with shipped workers (#207822) test(agents): fix provider header filtering coverage (#207732) refactor: remove the bundled GBrain adapter (#207924) ...
* commit 'a012e91c821705e443e42660c34e352623fb0a70': (584 commits) fix: confirm recovered config edits while the Gateway is busy (#207918) fix: make desktop chat presence avatars slightly smaller (#207966) fix: list and select routed Claude models without requiring Claude CLI (#207806) fix(ci): check out verifier before plugin preflight reuse test(reply): prove channel replacement on user messages (#207813) fix(release): bootstrap smoke uses persistent agent creation fix(ui): stop model picker Enter checks from failing on cold opens (#207963) fix: explain when a provider policy stops a chat reply (#207411) fix: show context usage during Claude CLI turns (#207036) fix: align the side panel with its resize divider (#207936) fix: stop the manual handoff UI test from hanging after completion (#207945) fix: surface favorites and recommended models in picker search (#201450) fix: show the saved quota reset when chat skips its only model (#207210) fix: avoid reloading unchanged plugins after Gateway boot (#207949) fix: keep Task progress double-clicks from changing the window (#207937) fix(doctor): continue repairs past retained conflicting exec approvals (#207951) test(reply): make account isolation assertion decisive (#207793) fix: keep task progress compact when reopening Details (#207943) fix(ui): restore the saved reading position after an empty search (#207673) fix: remove four Memory Wiki settings that had no effect (#207882) ...
…law#207937) Co-authored-by: Vyctor H. Brzezowski <[email protected]>
What Problem This Solves
In the Mac app, double-clicking the text of a step in Task progress could change the window instead of keeping the interaction in the card. The Details button itself did not trigger the problem.
User Impact
Clicks inside the card stay in the card. Empty titlebar space still supports window dragging and double-clicks. No settings or layout changes are needed.
Why This Change Was Made
The Details panel is rendered outside the header, but Solid still delivers its mouse events to the header. The shared window-drag handler now checks that the pointer actually hit the drag surface or one of its descendants before passing the gesture to the desktop host.
Evidence