Closed Bug 1498830 Opened 6 years ago Closed 3 years ago

Stored resolution from PresState overrides fresh resolution stored for current history entry

Categories

(Firefox for Android Graveyard :: Session Restore, defect, P2)

All
Android
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: JanH, Assigned: JanH)

Details

When navigating away from a history entry, we capture the current resolution and scroll position into the PresState.
Additionally, the session store also continuously keeps track of the current resolution and scroll position per tab.

If we're restoring a tab whose current history entry also has a PresState, the scroll position and resolution contained in the PresState is most likely out of date compared to the per-tab resolution/scroll position captured by the session store.
However due to the way resolution restoring works, the session store sets the restore resolution before the resolution from the PresState is restored, so the PresState resolution overwrites the session store resolution.
Type: enhancement → defect
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.