Resolution doesn't get applied after one touch pinch
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(3 files)
Fennec nightly, do a one touch pinch on a bugzilla page. It remains blurry. Looks like the main thread doesn't take the new resolution, because pinching afterwards resets the zoom back to what it was before the one touch pinch.
Comment 1•5 years ago
|
||
Not a recent regression: issue goes at least as far back as Firefox 62.
Comment 2•5 years ago
|
||
And Firefox 55, which is around the time one-touch pinch was introduced.
Comment 3•5 years ago
|
||
Though it's not the case that one-touch pinch is just completely broken, as e.g. on planet.mozilla.org it works fine (increasing resolution and all).
Assignee | ||
Comment 4•5 years ago
|
||
Maybe we're trying to apply the zoom on the scrollable div instead of the RCD.
Bug 1111333 - the original for reference
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
The patch for this is simple enough. Time to write some tests! rolls up sleeves
Assignee | ||
Comment 9•5 years ago
|
||
Assignee | ||
Comment 10•5 years ago
|
||
Assignee | ||
Comment 11•5 years ago
|
||
Assignee | ||
Comment 12•5 years ago
|
||
Sometimes we can get empty transactions after a scrollframe is
layerized. In such cases the isLayerized check would incorrectly detect
the scrollframe as not being layerized because it would only look at the
data for the empty transaction.
Depends on D23494
Assignee | ||
Comment 13•5 years ago
|
||
The helper_basic_onetouchpinch.html is basically a copy of
helper_basic_zoom.html with a few things changed (most importantly, the
touch event sequence).
Depends on D23495
Comment 14•5 years ago
|
||
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/754f833aaa41 Redirect one-touch-pinch scale gestures to the root content APZC. r=botond https://hg.mozilla.org/integration/autoland/rev/6bd80d61cee8 Skip over empty transaction buckets in isLayerized. r=botond https://hg.mozilla.org/integration/autoland/rev/589f41b2e253 Add mochitests to exercise the one-touch-pinch code. r=botond
Comment 15•5 years ago
|
||
Backed out for memory leaks.
backout: https://hg.mozilla.org/integration/autoland/rev/8f2a6dbf221ca51fcb80f1a94eea41d377a0c91c
failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=234318839&repo=autoland&lineNumber=3087
Comment 16•5 years ago
|
||
Huh. That seems to be a legitimate bug in nsDOMWindowUtils::SetDisplayPortForElement
, introduced in this commit:
Comment 17•5 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #16)
Huh. That seems to be a legitimate bug in
nsDOMWindowUtils::SetDisplayPortForElement
, introduced in [this
commit](https://hg.mozilla.org/mozilla-central/rev/
484e07a716f1aac33b4fd9ee246c7eab8b504523):
-> bug 1535862.
Assignee | ||
Comment 18•5 years ago
|
||
Thanks for the quick diagnosis and fix! I'll reland these patches on Monday.
Comment 19•5 years ago
|
||
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aededeb1f164 Redirect one-touch-pinch scale gestures to the root content APZC. r=botond https://hg.mozilla.org/integration/autoland/rev/729056f6dc85 Skip over empty transaction buckets in isLayerized. r=botond https://hg.mozilla.org/integration/autoland/rev/cb58de9731cb Add mochitests to exercise the one-touch-pinch code. r=botond
Comment 20•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/aededeb1f164
https://hg.mozilla.org/mozilla-central/rev/729056f6dc85
https://hg.mozilla.org/mozilla-central/rev/cb58de9731cb
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Description
•