android shows zoomed in about:support page
Categories
(GeckoView :: General, defect, P3)
Tracking
(firefox76 fixed)
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: ktaeleman, Assigned: agi)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
STR:
- Enable webrender
- Open about:support
Notice how the page is zoomed in
Expected:
- Page fits to screen like in OpenGL mode.
See screenshots.
I think this is a regression as I can't remember it being this way before.
| Reporter | ||
Comment 1•5 years ago
|
||
| Reporter | ||
Comment 2•5 years ago
|
||
@botond: Any idea what would be going on here?
Comment 3•5 years ago
|
||
The special thing about about:support in comparison to regular webpages is that it's loaded in the parent process rather than the content process.
So, perhaps there's something particular to the combination of WebRender + parent process related to zooming that needs hooking up.
(In reply to Kris Taeleman (:ktaeleman) from comment #0)
I think this is a regression as I can't remember it being this way before.
A regression window might be useful.
Comment 4•5 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #3)
A regression window might be useful.
I got this regression window by running mozregression on GVE:
Comment 5•5 years ago
|
||
I can repro this with OpenGL compositing, too.
For example, if I run mozregression -n gve --pref gfx.webrender.force-disabled:true --launch 2020-03-16 and then navigate to about:support, it's zoomed in (and the contents of the page, if you scroll down to Graphics > Compositing, confirm that the pref had the intended effect of disabling WebRender).
| Assignee | ||
Comment 6•5 years ago
|
||
It's probably from
Agi Sferro — Bug 1554302 - Restore history when switching process during navigation. r=snorp
I can take a look tomorrow (keeping the ni so I remember)
Comment 7•5 years ago
|
||
(In reply to :Agi | ⏰ PST | he/him from comment #6)
It's probably from
Agi Sferro — Bug 1554302 - Restore history when switching process during navigation. r=snorp
Confirmed, backing this patch out locally fixes the issue for me.
Comment 8•5 years ago
•
|
||
What's hapenning at the platform level is, with bug 1554302 applied, we are getting a call to nsIDOMWindowUtils.setRestoreResolution(), with the resolution being 3.0, which we do not get without the patch. This overrides the platform's internal calculation of what the resolution should be (which would otherwise be something like ~0.7, depending on the screen size) and results in the zoomed-in rendering.
Comment 9•5 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #8)
we are getting a call to
nsIDOMWindowUtils.setRestoreResolution(), with the resolution being3.0
The call site of that in turn is in GeckoViewContentChild.js.
| Assignee | ||
Comment 10•5 years ago
|
||
Yeah we restore zoom state from the previous page which is not correct.
I can reproduce on OpenGL too.
Updated•5 years ago
|
| Assignee | ||
Comment 11•5 years ago
|
||
That data is not the right one anyway, since it comes from the previous page
rather than the current one.
Note: this is also broken on desktop too. It will be fixed once we move to main
process history (hopefully?).
Updated•5 years ago
|
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
| bugherder | ||
Description
•