Closed Bug 1579597 Opened 1 year ago Closed 11 months ago

Pinch zoom incorrectly renders top bar on reddit

Categories

(Core :: Panning and Zooming, defect, P3)

71 Branch
defect

Tracking

()

RESOLVED WORKSFORME

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).

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

(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

Summary: Pinch zoom incorrectly renders flexbox → Pinch zoom incorrectly renders top bar on reddit
Attached image chrome-reddit.gif

(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.

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.

Priority: -- → P3

I don't think this reproduces anymore? Seems the same in firefox, chrome and safari for me.

Yeah, I suspect this bug only occurred with WebRender enabled, and was fixed by bug 1609002.

Can confirm that this is fixed in Nightly with WR.

Thanks.

Status: UNCONFIRMED → RESOLVED
Closed: 11 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.