Skip to content

iOS back: navigation bar button not found on iPhone Duo layouts (split view swipe changes nothing) #4527

Closed

Description

@thymikee

Purpose

#4508 made back on iOS press the navigation bar back button. On an iPhone Duo with the inner panel lit, it doesn't find the button. It falls back to a back swipe, and the swipe changes nothing.

Reproduction (origin/main ddbfc85566, 0.21.38-dev, Xcode 27.1, iPhone Duo iOS 27.1)

  1. open com.apple.Preferences, then fold open.
  2. Go to Settings > General > About. The inner panel shows a split view.
  3. Run back --json.

Result: COMMAND_FAILED / BACK_SWIPE_NO_CHANGE ("The back swipe changed nothing"). The runner log shows BACK_NAVIGATION_BAR_BUTTON found=no pressed=no, and the screen stays on About. snapshot lists [button] "BackButton" in that layout.

  • With the Duo closed (compact), back succeeds, but through the swipe (found=no), not the button.
  • On an iPhone 17, found=yes pressed=yes confirmed=yes.

Required behavior

  • back finds and presses the navigation bar back button in the Duo's open, half-open and closed layouts, including the split-view detail column.
  • When no back button exists in the column with focus, the swipe targets that column instead of the whole window.

Completion

  • A simulator run on the iPhone Duo in all three poses, recorded per docs/agents/device-foldable.md, with the runner log showing found=yes where the button exists.

Activity

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

    @apex-sentinel-staging

    Apex Sentinel · Issue review

    Suggested label: bug

    The report describes a regression from #​4508 where back --json fails on a specific layout with detailed reproduction steps, command output (BACK_NAVIGATION_BAR_BUTTON found=no), and expected behavior (pressing the back button in split-view detail columns). It provides enough detail for a maintainer to investigate the found=no detection issue on foldable devices.

    Required sections

    • Steps to reproduce
    • Expected and actual behavior (missing)
    • Version or environment (missing)
  2. added
    bugSomething isn't working
    and removed on Nov 14, 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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions