Files
OpenScreens/Apps/iOSUITests
Burak Goncu 938d550388 Put a session's controls out of the picture's way on a touch screen
The controls floated over the bottom of the picture for as long as a
session lasted. The bottom of a Mac's screen is its Dock, so the Dock
was covered and could not be touched; and the picture stopped short of
the bottom of the screen, leaving a black band under it.

Where the picture and the controls go is now worked out from what the
screen keeps content clear of (SessionChromeLayout):

- The picture goes down to the bottom edge. The home indicator hides
  itself during a session, and system gestures at the edges wait for a
  second swipe, so that the Dock is the Dock.
- Where the screen has a strip the picture cannot use, the controls
  stand in it, always in view and covering nothing: down the side of
  an iPhone Duo's cover display, under its status bar, and down the
  side opposite the sensors of any iPhone on its side.
- Anywhere else they come out of the top of the picture, over the
  middle of the menu bar, and are put away to a small handle as soon as
  the remote screen is touched. They can be moved to the bottom, or
  kept in view.
- The status bar is shown where it has a place of its own, beside a
  sensor housing, instead of that place being left black.

The trackpad deck no longer comes out by itself whenever a foldable
reports being partially open, which it does when held with the
slightest bend: only when it is open like a laptop, and it can be put
away then too.

The transfer list keeps to the edge the controls do not use.
2026-11-11 11:26:18 +03:00
..