Open Bug 1096012 Opened 10 years ago Updated 2 years ago

Tab-titles without favicons only use grayscale antialiasing

Categories

(Core :: Graphics: Text, defect)

x86_64
Windows
defect

Tracking

()

REOPENED

People

(Reporter: elbart, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: regression)

Attachments

(3 files, 1 obsolete file)

STR:
Open about:newtab (grayscale) and about:home (cleartype) and switch between them.

Or alternatively
http://www.trilithium.com/johan/2005/02/no-favicon/ (grayscale)
and
http://www.google.com (cleartype)

Or
http://elbart.bplaced.net/test_favicon_no.htm (grayscale)
and
http://elbart.bplaced.net/test_favicon.htm (cleartype)


Regression-ranges:
m-c:
Ever since the merge of ux on 2013-11-19

ux:
First regression where grayscale was used for all tabtitles instead of cleartype:
Last good revision: 902b4c695658 (2012-11-13)
First bad revision: a2a83a2c24cf (2012-11-14)
Pushlog:
http://hg.mozilla.org/projects/ux/pushloghtml?fromchange=902b4c695658&tochange=a2a83a2c24cf


Second regression where cleartype for titles with favicons was fixed:
Last good revision: a9e45ebd6683 (2013-09-13)
First bad revision: 14a05f3555df (2013-09-14)
Pushlog:
http://hg.mozilla.org/projects/ux/pushloghtml?fromchange=a9e45ebd6683&tochange=14a05f3555df
Attached image favicon_aa_edited.png
Keywords: regression
See Also: → 994640
Hello Reporter, it seems that the behavior that you are observing is the expected one. I would request you to look into the details and comments of bug 994640 (comment #3). If you agree I will go ahead and close this bug. Please let us know.
Flags: needinfo?(elbart)
(In reply to Kanchan Kumari QA from comment #2)
> Hello Reporter, it seems that the behavior that you are observing is the
> expected one. I would request you to look into the details and comments of
> bug 994640 (comment #3).

No, that's not what the reporter is talking about.

The issue reported here is that the text of the tab title is being rendered differently (cleartype antialiasing vs grayscale antialiasing) depending on whether there's a favicon or not.

That seems like a genuine bug: the presence or absence of the icon shouldn't affect how the text is rendered.

Given the age of this report, however, the obvious question arises: does this still occur with current versions, or has it gotten resolved in the meantime?
(In reply to Jonathan Kew (:jfkthame) from comment #3)
> Given the age of this report, however, the obvious question arises: does
> this still occur with current versions, or has it gotten resolved in the
> meantime?

Still happening.
Flags: needinfo?(elbart)
OK, I checked on my Win8.1 laptop and I can confirm I'm seeing the same thing, both with Firefox 45 (release) and 48 (nightly).

I guess the presence of the favicon may be affecting how things get layerized, or something like that, and that in turn determines whether subpixel AA gets used. So it's not necessarily a "Graphics:Text" issue per se; it might be more appropriate under Layers? Or is it something about how the front-end is constructed, that in turn influences how layers are created...?

On my (very high-dpi) screen, the effect is barely visible, but for users with lower-res displays the discrepancy will tend to be more glaring. ISTM we should be able to arrange for the text in tab titles to render consistently with subpixel AA regardless of the presence or absence of the favicon.
Status: UNCONFIRMED → NEW
Component: Graphics: Text → Graphics
Ever confirmed: true
OS: Windows 7 → Windows
I found that it happens when .tab-label overlaps .tab-background-start or .tab-background-end (I believe the latter can currently only happen when something like an addon or a user style hides the tab close button).
Can you still reproduce the issue in latest stable Firefox version or in latest Nightly?
Flags: needinfo?(elbart)
Attached file favicon yes.htm
Yes.
Flags: needinfo?(elbart)
Attached file favicon no.htm (obsolete) —
Attached file favicon no.htm
Attachment #8796788 - Attachment is obsolete: true
Please attach as attachment here your about:support (use "copy text to clipboard" button) from Nightly.
Flags: needinfo?(elbart)
To what end? It's happening independent of gfx-card or driver-version, with a new profile and with e10s on and off.
Flags: needinfo?(elbart)
To all end and I wasn't talking about dependency, I was talking about complete information from about:support from Nightly. Could you post it?
Flags: needinfo?(elbart)
I'm asking because it could be fixed in Nightly which contains fixes for bug #1007702 and bug #1303570,
about:support is needed for checking what preferences are modified and backended is used where.
It should be fixed starting from Mozilla Firefox 52 per:
- Skia being enabled by default(Windows - bug #1007702, Linux - bug #1278957, Mac - bug #1207332)
- bug #1303570 (leftovers will be tracked in bug #1307833).

Duping this bug to bug #1307833 to later easier tracking, instead of incomplete or worksforme, because of no reporter reply.
No longer blocks: australis-merge
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(elbart)
Resolution: --- → DUPLICATE
See Also: 994640
Using Skia doesn't magically make us use sub-pixel AA where we were using grayscale AA. Please test this before concluding that it's fixed.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: