GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — fix(device): Android fold 3D view keeps the frame's aspect by juliusmarminge · Pull Request #28779 · pingdotgg/t3code Conversation
Member
ProblemIn the 3D Device view, any Android device that reports a hinge gets the foldable model, and the frame is mapped edge to edge onto its inner screen. That screen is shaped by the last fold-like frame or the default inner display (about 0.96). So a phone-shaped frame, such as the Change
Scope and approvalFixes #28712 Verification
Claude Opus 5.5 (lead, tests, implementation) and GPT-6.1 Sol (review, proof audit, captures) in Claude Code / Codex via T3 Code. 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
These tests reproduce #28712: an Android profile with a fold angle sizes the fold's inner and cover screens from a fold aspect rather than the frame, so a 1080x2400 phone frame, a 1920x1200 tablet frame, and a phone frame that follows a fold-like one are drawn stretched. They assert the textured screen region keeps the frame's aspect open and closed, and that a touch on the frame's edge maps back to that edge. Co-Authored-By: Claude Opus 5.5 <[email protected]> The fold model sized its inner and cover screens from a fold aspect and mapped the whole frame edge to edge, so phone and tablet frames were drawn stretched. Each screen now fits the frame at its own aspect, letterboxed on the bezel, and touches map the visible frame to 0..1. Fold-like frames still fill the panel. Fixes #28712 Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The Android fold viewer now preserves the live frame’s aspect ratio and maps touches to the fitted content rather than its letterbox bars. The change is limited to viewer rendering and input coordinates, with no product-default or persistent-data changes. No code changes detected at You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Fit inner and cover displays packages/client-runtime/src/device/androidFoldScene.ts, packages/client-runtime/src/device/androidFoldScene.test.ts |
The scene fits inner and cover screen geometry to the active display layout. It stores fitted coordinates for angle updates. Tests check phone and tablet aspect ratios. |
Map fitted screen points packages/client-runtime/src/device/androidFoldScene.ts, packages/client-runtime/src/device/androidFoldScene.test.ts |
Screen-point mapping accounts for zoom, capture, bounds, and rotation. Tests check bezel mapping, out-of-frame rejection, and clamping. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix · Severity of issue fixed: Low
Possibly related PRs
Suggested reviewers: t3dotgg
2c4afThe fitted screens preserve frame aspect. A very small touch offset remains, but it does not block merging.
Explanation
The description covers the problem, implementation, scope and linked issue, verification results, and checks that were not performed. It provides focused test outcomes and relevant before-and-after evidence.
Explanation
The prior assessment's evidence remains valid. The current production change fits frames within the fold model's inner and cover screens and refits both displays when setDisplay runs. The incremental test change adds direct coverage for phone and tablet frame aspects after a fold-sized frame. These changes meet the coding requirements in [#28712].
Explanation
The production and test changes remain focused on frame aspect handling in [#28712]. The incremental test covers phone and tablet frame fitting in the Android fold scene. No unrelated change is evident.
d6681b70-174c-4194-b1e0-828519799fefpackages/client-runtime/src/device/androidFoldScene.test.tsLimit details: You’ve used all 10 included reviews currently available.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Moves the aspect regression from the phone viewer harness into the fold scene test, where the bug lives, and drops the viewer fixture changes. AI-assisted; verified with the tests and tools listed above.
Dismissing prior approval to re-evaluate 2c4afd0
|
The automated pipeline stopped on this pull request and will not merge it: the capture step could not show the problem on the base commit, so there is nothing to prove fixed. Opened each app and entered Device setup. Requested the Resizable emulator; the first request timed out. Retried after one minute and obtained a lease. Ran agent-device fold open; the emulator console refused the posture and reported that a foldable profile with hw.sensor.hinge=yes was required. The requested 3D interaction sequence could not begin on either commit. It stays open for a person to finish or close. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
a10fc26 to
5bae529
Compare
|
The automated pipeline stopped on this pull request and will not merge it: the fix is written and reviewed, but proving it needs something no worker has:
It stays open for a person to finish or close. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Android 3D view stretches the frame when a hinge-capable emulator isn't on its fold inner display
There was an error while loading. Please reload this page.