Closed Bug 1763928 Opened 4 years ago Closed 2 hours ago

Bad font smoothing / fuzzy text on offerup messaging pages

Categories

(Core :: Graphics: WebRender, defect)

Unspecified
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr91 --- unaffected
firefox99 --- wontfix
firefox100 --- wontfix
firefox101 --- fix-optional

People

(Reporter: yoasif, Assigned: gw, NeedInfo)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(3 files, 1 obsolete file)

Attached image bad offerup.png

Noticed this for a little bit.

Steps to reproduce:

  1. Create offerup account: https://offerup.com
  2. Message a seller

What happens:

The text looks strange / badly smoothed. This is most obvious in the "chat bubbles", especially in the white text on the green background.

This is a regression.

I captured a singlefile of a message page to make it easier to share (not everyone is going to want to sign up for this service).

Screenshots of good and bad are also attached.

10:34.35 INFO: Narrowed integration regression window from [8e9c1ffd, 41535e3d] (3 builds) to [8e9c1ffd, b7f88e5c] (2 builds) (~1 steps left)
10:34.35 INFO: No more integration revisions, bisection finished.
10:34.35 INFO: Last good revision: 8e9c1ffdeed84e460a9ba7f9e83ca24319a15c87
10:34.35 INFO: First bad revision: b7f88e5c537bb7d64ba9d4cb58b052650d510638
10:34.35 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=8e9c1ffdeed84e460a9ba7f9e83ca24319a15c87&tochange=b7f88e5c537bb7d64ba9d4cb58b052650d510638

Attached image good offerup.png
Attached file test case bad smoothing offerup (obsolete) —
Has Regression Range: --- → yes
Has STR: --- → yes
Regressed by: 1749380

Set release status flags based on info from the regressing bug 1749380

:gw, since you are the author of the regressor, bug 1749380, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(gwatson)

I did my best to reduce this. It's a really fragile bug so I hope it's still reproducible with this file. It seems to preserve the bug on my machine. Does this reduced version reproduce the bug on your machine?

Flags: needinfo?(yoasif)

(In reply to G from comment #5)

I did my best to reduce this. It's a really fragile bug so I hope it's still reproducible with this file. It seems to preserve the bug on my machine. Does this reduced version reproduce the bug on your machine?

Thanks G, yes - it still reproduces the bug on my machine.

Flags: needinfo?(yoasif)
Attachment #9271588 - Attachment is obsolete: true
Assignee: nobody → gwatson
Flags: needinfo?(gwatson)

The issue here is that there are two rotateX(-180deg) transforms. The first one affects the off-screen surface that is created due to the border-radius of 4px around the enclosing div. Since that transform results in a z-flip, we don't currently detect it as being in the same 2d coord system that can have snapping applied. The z-flip doesn't actually matter here, since we're in a 2d rendering context only. I need to work out how to correctly detect this case, which is quite subtle due to how complex the current WR z-flattening code is.

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(gwatson)
Severity: -- → S4
Flags: needinfo?(gwatson)
See Also: → 1767579
Blocks: 1782834

The severity field for this bug is set to S4. However, the following bug duplicate has higher severity:

:gw, could you consider increasing the severity of this bug to S3?

For more information, please visit auto_nag documentation.

Flags: needinfo?(gwatson)
Severity: S4 → S3
Flags: needinfo?(gwatson)
Blocks: wr-blurry
No longer blocks: 1782834

I think this is probably resolved on nightly with all the recent snapping work. The test case looks OK to me?

Flags: needinfo?(yoasif)
Status: NEW → RESOLVED
Closed: 2 hours ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: