Backgrounding the app dismisses any presented SFSafariViewControllers #399

Closed
opened 2023-05-25 06:14:01 +00:00 by saagarjha · 3 comments

Title. Also it seems to reset the app layout, perhaps related?

Title. Also it seems to reset the app layout, perhaps related?
Owner

What kind of device are you using? An iPad, perchance?

What kind of device are you using? An iPad, perchance?
shadowfacts added the
bug
label 2023-05-25 06:38:45 +00:00
shadowfacts added this to the 2023.6 milestone 2023-05-25 06:38:47 +00:00
Owner

Notes for self: This is caused by the splitViewControllerDidCollapse (or the expand?) logic to transfer state to the tab bar. The system changes the window to a horizontally-compact size to take snapshots, which triggers the collapse. The VC dismissing should be fixable (possible dupe of #316).

The layout may be more involved since it involves the collection view size changing -> cell heights change, so the same absolute content offset has a different visual position. The switch back may result in a third visual position for the same absolute content offset (I think) if the collapse/expanded caused additional cells to be laid out.

Notes for self: This is caused by the splitViewControllerDidCollapse (or the expand?) logic to transfer state to the tab bar. The system changes the window to a horizontally-compact size to take snapshots, which triggers the collapse. The VC dismissing should be fixable (possible dupe of #316). The layout may be more involved since it involves the collection view size changing -> cell heights change, so the same absolute content offset has a different visual position. The switch back may result in a third visual position for the same absolute content offset (I think) if the collapse/expanded caused additional cells to be laid out.
Author

Yep, it’s iPad.

Yep, it’s iPad.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: shadowfacts/Tusker#399
No description provided.