Repository navigation
fix: recover hidden terminal renderer after window attach - #16548
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 2 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
CI failure attributionCI failed on
Matched log linesNot re-run automatically: Written by |
Dogfood tours of
|
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. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
|
Merge receipt for
Labeled |
00f182f Set Claude idle after reentrant stop without work (manaflow-ai#16635) d8ef7e7 Reject unknown and valueless options in cmux hooks setup (manaflow-ai#17183) 46b5f9c remote-tmux: let a failed socket request say what failed (manaflow-ai#17134) e88d636 remote-tmux: re-read a pane from tmux when its width changes, not only when it grows (manaflow-ai#17140) 984baea remote-tmux: close a window emptied by gathering its mirrors into a new one (manaflow-ai#17141) 9c41d59 fix: recover hidden terminal renderer after window attach (manaflow-ai#16548) 70854a5 ci: publish dogfood artifacts from red CI runs (manaflow-ai#17210) db77e58 fix(cli): reject missing notify text values (manaflow-ai#16778) 76ccbfc ci: activate org-member dogfood artifact publisher (manaflow-ai#17206)
Problem
A terminal created while its workspace is hidden can become visible after the portal has attached its geometry, but the renderer readiness transition may have already run before the hosted view entered the real window. With no later frame delta, the renderer stays released and the pane remains blank even though the PTY and screen buffer are alive.
Fix
Replay the renderer readiness transition from
viewDidMoveToWindowafter committed pane geometry is reapplied. This preserves the existing readiness guards and only retries when the portal, window, and drawable geometry are usable.Tests
swiftc -parse Sources/GhosttyTerminalView.swift Packages/macOS/CmuxTerminal/Tests/CmuxTerminalTests/TerminalSurfaceRendererPresentationTests.swiftpython3 scripts/verify-local.py --affected upstream/main --timeout 60git diff --checkFixes #16412