mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.14k stars 2.91k forks source link

iPad windows without tabs show up blank instead of the homepage #21090

Open data-sync-user opened 1 month ago

data-sync-user commented 1 month ago

Frequently on iPad the homepage is rendered at blank. If the user taps in the location bar it auto-corrects itself, and if they then tap back (to dismiss the location editing) the page appears as normal.

Repro steps:

  1. Launch iPad app, open 1 window
  2. Open 2nd window
  3. If needed, close all tabs (leaving only homepage) on 2nd iwndow
  4. Close 2nd window
  5. Re-open 2nd window

Expected: the homepage is displayed in the 2nd window

Actual: the homepage is rendered blank unless the user taps in the location bar etc.

!blankhome.mov|width=1280,height=888,alt="blankhome.mov"!

┆Issue is synchronized with this Jira Bug

data-sync-user commented 1 month ago

➤ Matt Reagan commented:

Norberto Andres Furlan Andrei Bodea FYI. This looks like a relatively recent regression

data-sync-user commented 1 month ago

➤ Matt Reagan commented:

Note: actually this seems to be part of a broader problem, it looks like tab restoration may be broken for secondary windows on current main. A similar issue happens when restoring a 2nd window on iPad that has tabs (not just homepage): https://mozilla-hub.atlassian.net/browse/FXIOS-9531 ( https://mozilla-hub.atlassian.net/browse/FXIOS-9531|smart-link )

This might be the same underlying issue so these two tickets should probably be investigated together.

data-sync-user commented 1 month ago

➤ Matt Reagan commented:

I can no longer replicate. It also sounds like it is likely the same root issue as https://mozilla-hub.atlassian.net/browse/FXIOS-9406 ( https://mozilla-hub.atlassian.net/browse/FXIOS-9406|smart-link ) .