Skip to content

iOS 27: covered check refuses taps on system-app toolbars (Contacts sheet, Settings) #4491

Closed

Description

@thymikee

Purpose

On iOS 27, the snapshot occlusion check marks controls [covered] that XCTest reports hittable, and it refuses press @ref and find text … click even though a coordinate press at the same point works. An external user's simulator stack reported this on agent-device 0.21.36 with an iOS 27.2 iPhone 18 Pro simulator. It reproduces on main (eec35e9) on an iOS 27.0 iPhone 18 Pro simulator.

  • Contacts > New Contact, after typing a first name: press @e6 (Done) fails with COMMAND_FAILED: Ref @e6 is covered by another visible element. The hint names toolbar "Toolbar" at (0, 62 402x812) in snapshot -i, and toolbar "Toolbar" at (0, 83 402x48) in the full projection.
  • Settings > General: snapshot -i marks every row covered. press @e8 and find text About both fail with Covered by the toolbar "Toolbar" at (0, 0 402x874).

Causes

  1. Contacts: the sheet's _UIFloatingBarContainerView (0,62 402x812) encloses its own navigation bar and table. Before it is listed a bar-height CNPassthroughToolbar (0,83 402x48) that encloses nothing. The toolbar-host reach treats any earlier toolbar sibling as the previous presentation's host, so the sheet's own content is classified as "beneath" and covered.
  2. Contacts: that passthrough toolbar is drawn inside the sheet's navigation bar and backs it, but it covers Done.
  3. Settings: the iOS interactive projection drops the SwiftUI app root, because collectIosActionWrapperSuppression reads the full-screen app node "Settings" as a wrapper of the "Settings" back button. Without a viewport root, the full-screen toolbar exemption does not apply.

Required behavior

  • A toolbar sibling counts as the previous presentation's host only if it encloses a bar or scroll container.
  • A toolbar inside the navigation bar that holds the target does not cover the target.
  • The interactive projection never suppresses the application/window root as an action wrapper.
  • Genuine covers keep covering: a sheet presented over the target, a toolbar that extends past the navigation bar, and a confirmation menu over a row.

Completion conditions

  • Regression fixtures captured from both screens fail on main and pass with the fix.
  • On an iOS 27 simulator, snapshot -i shows no [covered] on these screens, and press @ref and find text About dispatch.
  • Each new exemption has a negative test for the closest real cover.

Dependencies

None. Builds on the toolbar-host exemptions from #3097 and #3162.

Activity

  1. apex-sentinel-staging commented on Nov 12, 2026

    @apex-sentinel-staging

    Apex Sentinel · Issue review

    Suggested label: bug

    The report describes existing interactive snapshot behavior incorrectly marking hittable controls as covered on iOS 27, with repro commands, error messages, and specific suspected causes. It provides concrete reproduction and completion conditions a maintainer could use.

    Required sections

    • Steps to reproduce (missing)
    • Expected and actual behavior (missing)
    • Version or environment (missing)
  2. added a commit that references this issue on Nov 12, 2026
    9676eed
  3. added
    bug
    on Nov 13, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions