Closed
Bug 1671217
Opened 4 years ago
Closed 4 years ago
MobileViewportManager never sets mIsFirstPaint to false when in VisualViewportOnly mode
Categories
(Core :: Panning and Zooming, task)
Core
Panning and Zooming
Tracking
()
RESOLVED
FIXED
83 Branch
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
Details
Attachments
(1 file, 1 obsolete file)
Here is where MobileViewportManager::mIsFirstPaint gets set to false, but that never runs on desktop because of this early exit.
This is more of a perf problem than a correctness problem, AFAICT. It means we end up doing a bunch of work that we don't need to.
Assignee | ||
Comment 1•4 years ago
|
||
Easy to fix, but sadly makes writing a test for bug 1669982 harder because we won't call UpdateDisplayPortMargins as much.
Assignee: nobody → kats
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
There should be no user-visible correctness change here, just doing less
unnecessary work.
Assignee | ||
Comment 4•4 years ago
|
||
There should be no user-visible correctness change here, just doing less
unnecessary work.
Updated•4 years ago
|
Attachment #9181603 -
Attachment is obsolete: true
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/950fb95c5769 Ensure we clear mIsFirstPaint in the visual-viewport-only MVM case. r=tnikkel
Comment 6•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox83:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•