Repository navigation
fix(desktop): ignore snapshot shortcut repeats during flight - #11037
juliusmarminge merged 4 commits into
Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a small, focused desktop bug fix that drops shortcut repeats only during an active snapshot animation while preserving direct captures and post-landing requests. Tests cover burst handling and guard release on macOS and Windows, with no product-default or static-analysis changes. No code changes detected at You can add or adjust custom eligibility rules. Learn more. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughSnapshot transitions expose whether an active flight has landed. Shortcut captures are ignored during animation. Tests cover repeated triggers, post-landing capture, dismissal, and failed transitions. ChangesSnapshot animation shortcut gating
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to Repeated snapshot shortcut presses during an in-flight animation are ignored, and capture works again after landing. No merge-blocking risk was found. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
commented
Sep 11, 2026
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
commented
Oct 4, 2026
|
@coderabbitai review Please review current head 4090a6f. The current status still says "Review rate limited", so current-head review remains outstanding despite green CI. This is one retry request; no code changes have been made since that head. |
✅ Action performedReview finished.
|
Rapidly repeating the SnapShot shortcut could destroy an in-flight overlay and create another renderer before the previous animation landed. Ignore shortcut repeats while a flight is running, then accept new requests immediately after landing. Repeats are dropped, not queued; accessibility extraction and acknowledgement do not extend the guard. Dismissal, disposal and failure release it.
This replaces the earlier web scheduling experiment. The final diff changes only desktop capture handling and tests.
Measured behavior
Chart generated from the recorded measurements. The before/after videos below show the actual desktop runs; the chart summarizes completion counts rather than claiming a visual smoothness or FPS improvement.
Two bursts per variant, each sending 50 requests at 100 ms intervals through the registered shortcut callback in an isolated macOS Electron app:
The improvement is completion under spam, not increased steady-state FPS. FPS includes only completed flights, so the baseline represents two surviving flights. One baseline capture was interrupted before its flight started. All three separately tested spaced requests completed on the patched app. These callback-driven tests bypass physical both-Shift polling; Windows is covered by unit tests rather than a native benchmark.
Validation
Before video · After video · Method and limitations · Measurements
Videos were recorded separately from timing runs. Older assets on the evidence release describe the rejected scheduling experiment; the burst-* assets document this change.
Model: GPT-6. Harness: Codex.
October 4 branch update
Merged upstream
mainateac52f0087d9ba5dee5542f24788d1482affae43into this branch without rewriting its history. Updated head:4090a6fc8c744ab8c9b3311b6e980480af046723.@t3tools/desktop. Targeted lint passed; formatting and whitespace checks passed.Branch update validated with GPT-6.1 Sol through the Codex harness in T3 Code.