Closed Bug 1735447 Opened 3 years ago Closed 3 years ago

Screen resize causes display faults/miscalculation

Categories

(Core :: Layout, defect)

Firefox 93
defect

Tracking

()

RESOLVED DUPLICATE of bug 1733475

People

(Reporter: vark, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0

Steps to reproduce:

Load page, swap from maximised to standard display, observed that various div and span (inline-block) widths get miscalculated on redraw following resize, scrolling causes extensive display tearing that wasn't present previously. All sizes are correct on initial page load.

Actual results:

divs and spans that should have cleanly resized to the new width are either not changed in size at all, or calculate the size wrongly. This disrupts the entire display. Also noted that the scrolling process also caused display issues, primarily tearing. Noted in v92.0.1 and v93.

Expected results:

Sizes should recalculate cleanly and resizing/movement should not cause display errors.

I am happy to create access to a test version of this website for troubleshooting as I've not yet put together an isolated test case.

The Bugbug bot thinks this bug should belong to the 'Core::Layout' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Layout
Product: Firefox → Core

Yeah, having access to a repro case would be amazing, thanks, could you post it as a private comment (there's a checkbox to the top right of the comments field) so we can access?

Also, lacking that, it would be interested to know if it works on Nightly.

Flags: needinfo?(vark)

Will try it on Nightly, can't see the Private comment on this view to post access details.

At this point, I can't make it happen in Nightly, but I can in 93.0, with both safe mode and normal mode. About to compare graphic options to see if there is any difference.

Flags: needinfo?(vark)

Nightly does still show a "tearing" issue on scroll though (that is also present since 92), seeing if I can capture a video of it.

Feel free to mail access details to me if you want and I can post them in the bug as a private comment if you can't.

Private email sent with details

I posted the details from the reporter in a private comment above.

So the red bars in comment 0 are styled with width: 5vw;. After poking a bit, I'm fairly confident this is an instance of bug 1733475, which is an invalidation issue for viewport units in certain cases (in presence of a particular type of style sharing) which I broke in Firefox 91 (bug 1718337) but fixed for 94. That would explain why this can't be reproduced on Nightly, nor should be reproducible on Beta.

Given it's not a new regression in 93 I doubt we'll uplift the patch to release, but this bug should be fixed when Firefox 94 comes out the 2nd of November.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE

Is this fix applied to the last ESR version (91) as this is likely to be deployed by the end user at enterprise level where FF is in use. I can advise them that 92 thru 94 are not compatible/have a display issue.

There is still display tearing visible on resize/scroll, I'll raise that separately once I have a video of it.

Apologies, 92 and 93.

(In reply to Vark from comment #12)

Is this fix applied to the last ESR version (91) as this is likely to be deployed by the end user at enterprise level where FF is in use. I can advise them that 92 thru 94 are not compatible/have a display issue.

Not yet, but I did ask for uplift to ESR.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: