Open Bug 1735008 Opened 3 years ago Updated 1 year ago

Text jumps up and down when scrolling after zooming

Categories

(Core :: Graphics: WebRender, defect)

Firefox 93
defect

Tracking

()

People

(Reporter: sheelgautam995, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(3 files)

Attached video Recording.m4v

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0

Steps to reproduce:

  1. Go to a website with text (happens on all websites).
  2. Zoom using trackpad and not from zoom controls.
  3. Scroll up and down normally

Actual results:

The text shifts up and down (see attached video). Its really noticeable. This issue is not present on either Chrome or Safari.

Expected results:

Text should not jump up and down.

Attached file about:support

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

Component: Untriaged → Panning and Zooming
Product: Firefox → Core
Component: Panning and Zooming → Graphics: WebRender

Such a bug has existed forever, but I think it became worse sometime between June and August.

Blocks: wr-snap
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Unspecified → All
Hardware: Unspecified → All

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)
Attached video recording2.m4v

An extreme example on a normal website.

This bug happens on Firefox for Android as well. It is especially noticeable when using Desktop version of websites.

Severity: -- → S4
Flags: needinfo?(jmathies)

A more subtle example is how the text changes size on the spinning button at top left on the website https://projects.verou.me/prefixfree/ - text rendering when in an animated state seems to have different snapping?

Fixing that type of problem in general for all types of animations is probably hard. Scrolling is a very common case where we should be able to avoid it though.

Another example is visible in the bug https://bugzilla.mozilla.org/show_bug.cgi?id=1782405 where the test case https://codepen.io/konstantindenerz/full/oNNaEVp when animating looks like about a half-pixel sampling offset is applied to filters compared to not animating?

Edit: seems like a different issue from the scrolling, nevermind.

Blocks: 1782834
See Also: → 1807622
See Also: → 1816268

Emilio's test case in bug 1801098#c17 is quite nice. I do easily see this bug on the zoomed test case by dragging the vertical scrollbar (with a local m-c build with pixel snapping).

See Also: → 1801098
See Also: → 1844354
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: