Pinch zoom incorrectly renders top bar on reddit
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
People
(Reporter: soundbot, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:71.0) Gecko/20100101 Firefox/71.0
Steps to reproduce:
Open reddit: https://www.reddit.com/r/firefox/comments/d0fa5q/daily_nightly_discussion_for_20190906_post_about/
Actual results:
When you zoom in using pinch-zoom, the top navbar renders incorrectly (see the screenshot).
Comment 1•5 years ago
|
||
To clarify, are you setting apz.allow_zooming=true
? The article talks about doing that but you didn't mention it in your steps.
(In reply to Botond Ballo [:botond] from comment #1)
To clarify, are you setting
apz.allow_zooming=true
? The article talks about doing that but you didn't mention it in your steps.
Yes, apz.allow_zooming
is set to true
Comment 3•5 years ago
•
|
||
(In reply to Sound from comment #0)
When you zoom in using pinch-zoom, the top navbar renders incorrectly (see the screenshot).
Just to clarify -- is the incorrect thing that the searchbar is cut off on the right side? Or is there something else broken there that you were meaning to highlight?
(I don't think this bug has to do with flexbox. That top bar might use flexbox, but it's sized to the viewport width, and we're likely just coming up with the wrong size for the viewport during the zoom operation, I think. Note that other content is cut off, too, e.g. the text at the bottom right of the screenshot.)
--> adjusting bug title based on my current understanding
(In reply to Daniel Holbert [:dholbert] from comment #3)
Just to clarify -- is the incorrect thing that the searchbar is cut off on the right side? Or is there something else broken there that you were meaning to highlight?
I shouldn't even be there. I've captured a video how Chrome does it (see attached chrome-reddit.gif) - basically it treats the whole page as an image, whereas Firefox tries to do something funky with the top bar.
Comment 6•5 years ago
|
||
Thanks. Please note that pinch zooming support (apz.allow_zooming=true
) on desktop is at a pretty early stage so some things like things are expected to be broken.
Updated•5 years ago
|
Comment 7•5 years ago
|
||
I don't think this reproduces anymore? Seems the same in firefox, chrome and safari for me.
Comment 8•5 years ago
|
||
Yeah, I suspect this bug only occurred with WebRender enabled, and was fixed by bug 1609002.
Comment 10•5 years ago
|
||
Thanks.
Description
•