Skip to content

fix: correct screen size and taps on iPadOS 15 landscape home screen - #115

Draft
gmegidish wants to merge 3 commits into
mainfrom
fix/ipad-landscape-square-screen
Draft

gmegidish wants to merge 3 commits into
mainfrom
fix/ipad-landscape-square-screen

Conversation

@gmegidish

@gmegidish gmegidish commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Fixes #113. Rebased onto #107.

On iPadOS 15, SpringBoard reports a square frame in landscape (1133×1133 on iPad mini 6). device.info returned it as the screen size, and the touch and dump geometry took the portrait width from it, so .landscapeLeft taps on the home screen landed 389 points off.

The main display size is now measured once from an XCTest screenshot. UIScreen can't be used: the runner has no launch screen, so it runs letterboxed and reports a legacy size (768×1024 on iPad, 320×480 on iPhone). #107's interface orientation still decides portrait vs landscape; this replaces its three reads of SpringBoard's frame (device.info, the dump's device frame, springboardToInterface) with the measured size. The foldable secondary-display path is unchanged.

Verification

  • Reproduced on iPad mini 6 / iPadOS 15.5 simulator with 0.0.37: landscape device.info = 1133×1133; tapping Contacts at its visible position does nothing, adding 389 to y opens it.
  • iPhone 17 Pro / iOS 26.5 and iPad mini 6 / iPadOS 17.5, fix: lay out screen size, screenshots and the ui tree in the foreground app's orientation #107 + this: mobilecli's new orientation spec (screen size vs screenshot, dumped icons on screen, tapping Safari and Settings › General, portrait and landscape) passes 21/21.
  • iPadOS 15.5 with this branch's CI simulator build (Xcode 27 builds don't run on iOS 15)

@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
Pre-merge checks: Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Title check Pending This assessment has not completed. The check will be retried on the next pre-merge check run.
Description check Pending This assessment has not completed. The check will be retried on the next pre-merge check run.

@gmegidish
gmegidish force-pushed the fix/ipad-landscape-square-screen branch from 8d443b0 to b72cd7d Compare November 11, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iPadOS 15 landscape: square SpringBoard screen size causes taps to miss home-screen icons

1 participant