Visual viewport breaks scroll position saving for Session Store/Session History
Categories
(Firefox :: Session Restore, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox62 | --- | unaffected |
firefox63 | + | wontfix |
firefox64 | --- | wontfix |
firefox65 | --- | wontfix |
firefox66 | --- | fixed |
People
(Reporter: JanH, Assigned: JanH)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(11 files)
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details |
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Assignee | ||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Assignee | ||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
Assignee | ||
Comment 18•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 19•6 years ago
|
||
Comment 20•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 21•6 years ago
|
||
Comment 22•6 years ago
|
||
Assignee | ||
Comment 23•6 years ago
|
||
Assignee | ||
Comment 24•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 28•6 years ago
|
||
Assignee | ||
Comment 29•6 years ago
|
||
Assignee | ||
Comment 30•6 years ago
|
||
Assignee | ||
Comment 31•6 years ago
|
||
Assignee | ||
Comment 32•6 years ago
|
||
Assignee | ||
Comment 33•6 years ago
|
||
Assignee | ||
Comment 34•6 years ago
|
||
Assignee | ||
Comment 35•6 years ago
|
||
Assignee | ||
Comment 36•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 38•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 39•6 years ago
|
||
Comment 40•6 years ago
|
||
(In reply to Jan Henning [:JanH] from comment #35)
Created attachment 9034289 [details]
Bug 1498812 - Part 9: Switch session store/session history to use visual
viewport for scroll position tracking. r?mikedeboer,snorpFor simplicity's sake, for now we keep storing only one scroll position per
history entry (bug 1499210), so if we have to choose between the layout and
the
visual viewport, the latter is a vastly better choice, as it more accurately
represents the scroll position as perceived by the user, especially when the
page has been pinch-zoomed.
Without having looked at the patches, the immediate concern that rises with me is about how we capture and properly restore pinch-zoomed content. If it's yet another variation on full-page-zoom, then I'm not worried, of course.
Comment 41•6 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #40)
(In reply to Jan Henning [:JanH] from comment #35)
Created attachment 9034289 [details]
Bug 1498812 - Part 9: Switch session store/session history to use visual
viewport for scroll position tracking. r?mikedeboer,snorpFor simplicity's sake, for now we keep storing only one scroll position per
history entry (bug 1499210), so if we have to choose between the layout and
the
visual viewport, the latter is a vastly better choice, as it more accurately
represents the scroll position as perceived by the user, especially when the
page has been pinch-zoomed.Without having looked at the patches, the immediate concern that rises with me is about how we capture and properly restore pinch-zoomed content. If it's yet another variation on full-page-zoom, then I'm not worried, of course.
Pinch-zoom is distinct from full-page-zoom. The state of where we've pinch-zoomed to is captured by the resolution (essentially, the zoom level) and the visual viewport offset. We are already saving and restoring the resolution in the session store, and with this patch we'll be doing that with the visual viewport offset as well, so the entire pinch-zoomed state will be saved and restored.
Comment 42•6 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #41)
Pinch-zoom is distinct from full-page-zoom. The state of where we've pinch-zoomed to is captured by the resolution (essentially, the zoom level) and the visual viewport offset. We are already saving and restoring the resolution in the session store, and with this patch we'll be doing that with the visual viewport offset as well, so the entire pinch-zoomed state will be saved and restored.
So does this mean that we need similar changes for desktop sessionstore?
Assignee | ||
Comment 43•6 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #42)
(In reply to Botond Ballo [:botond] from comment #41)
Pinch-zoom is distinct from full-page-zoom. The state of where we've pinch-zoomed to is captured by the resolution (essentially, the zoom level) and the visual viewport offset. We are already saving and restoring the resolution in the session store, and with this patch we'll be doing that with the visual viewport offset as well, so the entire pinch-zoomed state will be saved and restored.
So does this mean that we need similar changes for desktop sessionstore?
Once Desktop gets pinch-zooming, too, yes.
Comment 44•6 years ago
|
||
Comment 45•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/466e822d2986
https://hg.mozilla.org/mozilla-central/rev/bbbb9e3c793d
https://hg.mozilla.org/mozilla-central/rev/bf744ce7867a
https://hg.mozilla.org/mozilla-central/rev/7b00521b6f31
https://hg.mozilla.org/mozilla-central/rev/710922bc053a
https://hg.mozilla.org/mozilla-central/rev/4eccacfc8801
https://hg.mozilla.org/mozilla-central/rev/c4fbfcb5239b
https://hg.mozilla.org/mozilla-central/rev/2d9a52630c04
https://hg.mozilla.org/mozilla-central/rev/39207d39e5c2
https://hg.mozilla.org/mozilla-central/rev/f0f5124781cc
https://hg.mozilla.org/mozilla-central/rev/a99bf382e5f7
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Description
•