Skip to content

[Bug]: Simlock pool iPhone Duo is squeezed when unfolded, and 3D says it needs Device Hub 0.11.0 #38343

Open

Description

@AI-JamesHenry

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Run a Simlock 0.8.0 gateway and worker on a Mac with Xcode 27.2 and the iPhone Duo runtime (com.apple.CoreSimulator.SimRuntime.iOS-27-2-iPhone19-4, 24B91016s). Turn on capabilities.agent-device, capabilities.stream and capabilities.input on both.
  2. In T3 Code on another machine, turn on Labs > Simlock device hosts and add the gateway as a Simlock pool source.
  3. Open an iPhone Duo from that pool in the Device panel.
  4. Unfold it with agent-device through the pool: agent-device fold open.
  5. Look at the flat view, then hover the 3D (cube) button.

Expected behavior

  • The flat view shows the inner panel at its real aspect. Simlock streams it at 720×506, wider than it is tall, and switches size mid-stream on a fold.
  • For a pool device, the 3D button either works or says why it can't, for example that the source doesn't report hinge support.

Actual behavior

  • The 720×506 inner-panel picture is drawn into a portrait iPhone Duo frame, so the app is squeezed horizontally by about 2×: text and UI come out tall and narrow.
  • The 3D button is disabled with "iPhone Duo 3D requires Device Hub 0.11.0 or newer", although the environment's Device Hub is 0.22.1. In the web bundle, that message is shown whenever the stream status lacks supportsHingeAngle, which a Simlock stream never reports. Simlock answers hinge control with {ok:false} on every platform.

Folding itself works: agent-device fold open and fold closed change the device, and Simlock's stream follows the panel in use.

Impact

Major degradation or frequent failure

Version or commit

T3 Code 0.1.10

Environment

Gateway and worker: Mac mini M1, macOS 27.0.1, Xcode 27.2 (27B52), Simlock 0.8.0, agent-device 0.21.36. T3 Code environment: Mac mini M4 Pro, Device Hub 0.22.1, agent-device 0.21.36. Connected over Tailscale.

Logs or stack traces

Simlock worker log for the Duo's lease, unfolded:

Screen stream opened {"codec":"h264","height":506,"leaseId":"…","width":720}

Workaround

Use a local iPhone Duo, driven by T3's own Device Hub, when you need to see unfolded layouts or use 3D. Pool Duos are fine for agents.

Related: #28712 (the same kind of stretch in Android's 3D view), #32527 (touch on local iPhone Duo simulators), #16630 (introduced supportsHingeAngle). Simlock side: callstackincubator/simlock#1686 (hinge control and fold state for iOS).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions