Repository navigation
fix(macos): restore dashboard frame double-click zoom - #118976
Conversation
54719ad to
574366f
Compare
574366f to
5a80b11
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 6:02 PM ET / 22:02 UTC. ClawSweeper reviewWhat this changesThe PR adds a shared macOS dashboard drag-gesture handler that turns a left-button double-click into AppKit window zoom while retaining single-click dragging for native and WebView-backed titlebar surfaces. Merge readinessKeep open. The branch centralizes the two dashboard drag entry points so a second left click calls AppKit zoom instead of starting another drag; current Likely related people: Priority: P2 Review scores
Verification
How this fits togetherThe macOS dashboard overlays custom native drag views around a unified titlebar and receives drag requests from the hosted Control UI WebView. Both paths hand an in-flight mouse event to the dashboard flowchart LR
A[Native dashboard drag region] --> C[Dashboard drag gesture]
B[Control UI WebView drag message] --> D[Trusted drag request]
D --> C
C --> E{Left double-click?}
E -->|Yes| F[AppKit window zoom]
E -->|No| G[Window drag]
F --> H[Dashboard frame changes]
G --> H
Before merge
Agent review detailsSecurityNone. PR surfaceOther +61. Total +61 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain one shared gesture decision for both dashboard drag producers, merge it after exact-head macOS validation and owner review, and keep the regression test guarding single-click drag plus double-click zoom. Do we have a high-confidence way to reproduce the issue? Yes—current Is this the best way to solve the issue? Yes. Routing the two existing producers through one small AppKit gesture helper is the narrowest maintainable repair and avoids one-sided native-versus-WebView behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 65fa1f9a7bd1. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…r-admin-20260803 * origin/main: (89 commits) fix(googlechat): align doctor policy ownership with canonical account configuration (#118972) test(tui): prove editor input through PTY (#118982) fix(memory): persist trusted owner provenance at canonical transcript boundary (#118987) test(qa): cover health monitor and cache boundaries (#118961) fix(macos): restore dashboard frame double-click zoom (#118976) fix(googlechat): recover durable lanes after oversized attachments (#118986) test(qa): cover runtime telemetry evidence (#118950) fix(gateway): resolve SQLite usage details (#118918) test(cron): cover durable scheduler state (#118981) test(gateway): cover node exec approval relay (#118825) test(qa): add Active Memory recall coverage (#118963) test(qa): promote package-backed Docker artifact proof (#118826) test(qa): cover diagnostic event boundary (#118844) test(gateway): cover WebSocket runtime contracts (#118797) fix(signal): drain accepted websocket messages before shutdown (#118975) fix(plugins): remove stale load paths during uninstall (#118930) test(qa): cover bundled runtime discovery (#118922) chore(clawhub): cover plugin release policy contracts (#118971) test(qa): cover support export and stability (#118956) fix(feishu): enforce exact signed webhook request boundaries (#118758) ...
…ansports-20260803 * origin/main: (120 commits) test(ui): add service-worker update primary QA proof (#118805) test(qa): cover CLI onboarding and plugin install sources (#118882) test(qa): cover remote logging boundaries (#118951) fix(sms): retry transient MMS failures before durable adoption (#118994) test(qa): cover video generation invocation (#118864) test(qa): cover media reference intake (#118858) test(qa): cover image generation task lifecycle (#118915) feat(sms): track Twilio delivery status (#118665) test(tasks): cover TaskFlow registry lifecycle (#118983) test(gateway): verify SSH tunnel fallback (#118818) fix(security): harden network tool output at canonical owner boundaries (#118984) fix(googlechat): align doctor policy ownership with canonical account configuration (#118972) test(tui): prove editor input through PTY (#118982) fix(memory): persist trusted owner provenance at canonical transcript boundary (#118987) test(qa): cover health monitor and cache boundaries (#118961) fix(macos): restore dashboard frame double-click zoom (#118976) fix(googlechat): recover durable lanes after oversized attachments (#118986) test(qa): cover runtime telemetry evidence (#118950) fix(gateway): resolve SQLite usage details (#118918) test(cron): cover durable scheduler state (#118981) ...
What Problem This Solves
The macOS dashboard uses custom drag regions around its unified titlebar. Those regions always began a window drag, so the second click of a double-click was consumed and the normal titlebar zoom/maximize gesture never ran.
This routes left-mouse double-clicks on both native and WebView-backed drag surfaces to AppKit window zoom while preserving normal single-click dragging.
Evidence
zoom=0 drag=1.zoom=1 drag=0.NSWindow.performZoomproof changed the frame from800x632to1512x883and setisZoomed=true.git diff --checkpassed.Native proof limitation
A full macOS app build/test and visual Crabbox run were not available locally: this Mac has Command Line Tools but not full Xcode, no Parallels VM or SSH-accessible Mac is configured, and the AWS Mac no-spend/quota preflight requires unavailable broker-admin access. The PR macOS CI lane is therefore the authoritative full-Xcode validation gate.