Skip to content

iPad: All Tabs closes without the phone's chrome; Settings card clears its top - #1129

Open
advenimus wants to merge 3 commits into
yetanotherbrowser:mainfrom
advenimus:advenimus/ipad-small-fixes
Open

advenimus wants to merge 3 commits into
yetanotherbrowser:mainfrom
advenimus:advenimus/ipad-small-fixes

Conversation

@advenimus

@advenimus advenimus commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

What changes

Two small iPad fixes:

  • After All Tabs closes, the phone's address bar, back button and stack circle no longer flash over the page.
  • The Settings card's close button no longer touches the card's top edge, and a tap beside the card closes it.

Why it happened

  • All Tabs: the tablet tree mounted the phone's ChromeLayer under the gallery. As All Tabs closed, chromeOpacity went back to 1 and the phone chrome faded in, then vanished. The iPad no longer mounts it, draws no stack circle, and the cards that aren't chosen fade in place. The closing plan takes a "has a stack" input for this.
  • Settings card: the card's head started at the card's very top. It now sits 12 points in, the same as the sides. The dimmed area beside the card took no taps; it now closes the card, as a form sheet does.

Proof

  • Logic:
    • TabletWorkspaceTests hosts the real RootController at iPad size and checks that no phone chrome is mounted before, during and after All Tabs. The same window at iPhone width does mount it, which shows the check can see it. This fails on main.
    • TabStackTests covers the flat closing plan.
  • UI: TabletLayoutUITests taps an All Tabs card and checks the workspace returns.
  • Visible change: before and after, iPad Pro 13" simulator, light mode.
Before (main) After (this branch)
Settings card Settings card

Checked on

  • iPad Pro 13" and iPhone 18 Pro simulators, iOS 27.2. Yab Dev on an iPad Air.
  • Engine(s) tried: WebKit (the iOS app).

Checklist

  • The suites this touches pass. Known failures that also fail on main: TabletLayoutTests.testNativeTabletKeepsBothWebViewsAndDraftsWhileResizingAndRotating and one Duo layout test.
  • ./design-check --base origin/main and scripts/swift-parse-check --base origin/main are clean.
  • Both fixes restore how the iPad is meant to look, so they need no approval.

The tablet tree mounted ChromeLayer while All Tabs was up, so the phone's
plate, back button and the stack's circle faded in over the page as the
gallery closed (chromeOpacity returning to 1) and vanished only when it
was gone. The iPad's All Tabs lives in the sidebar: the phone chrome is no
longer mounted there, the circle is not drawn, and the other cards fade in
place rather than flying into a circle the iPad doesn't have.
…eside it closes it

On iPad Settings is a card, but its head started at the card's very top,
so the close button sat against the edge. It now stands 12 points in, as
from the sides. The dimmed ground beside the card took no taps; a tap
there now closes it, as a form sheet does.
The phone's chrome on iPad was behind both the download question missing
and the plate flashing after All Tabs. A test hosts the real
RootController at an iPad's size and checks no ChromeHostController is
mounted with All Tabs shut, opening, closing into a card and gone; the
same window at an iPhone's width mounts it, so the probe is shown to see
it. A UI test taps an All Tabs card and checks the workspace returns.
@greptile-apps

greptile-apps Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed changes appear safe to merge, with no actionable regressions found.

Summary

This PR removes phone controls from the iPad All Tabs transition and adjusts the Settings card.

  • iPad All Tabs closes without showing the phone’s page controls.
  • The iPad Settings card leaves room above its close button and closes from a tap beside it.

No actionable regressions were found in the reviewed code. Validation here was static only. The reported simulator results were not independently repeated; this Linux environment cannot run the iOS app or capture its UI.

Reviews (1) · Last reviewed commit: "test: the iPad's tree never mounts the p..." · Reviewed by Greptile

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.

1 participant