New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 734922 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Regression: Font issue is observe in Omnibox.

Reported by abom...@etouch.net, Jun 20 2017

Issue description

Chrome Version:61.0.3136.0 (Official Build)  fa10d4397863ac2df5724e53131b3e61a0d0ebb4-refs/heads/master@{#480665}
OS:Mac (10.12.6,10.11.6)

What steps will reproduce the problem?
1. Launch chrome and navigate to chrome://version/,chrome://settings/help (any internal page)
2. Observe font of ‘chrome://‘ word.

Actual: Font issue is observe in Omnibox. (i.e. Thin/Faint ‘chrome://‘ is seen.)
Expected: Font issue should not be seen

This is regression issue, broken in ‘M 61’ and below is manual bisect info:
Good build:61.0.3135.4
Bad build:61.0.3136.0

Note: Issue is not seen on Window and Linux OS.
 
Actual:exp.png
49.6 KB View Download

Comment 1 by abom...@etouch.net, Jun 20 2017

Cc: k...@chromium.org
Labels: hasbisect
Owner: sdy@chromium.org
Status: Assigned (was: Unconfirmed)
Narrow bisect:
https://chromium.googlesource.com/chromium/src/+log/8b5035694768d164e3992856d3901664dd9b8ce3..f6e429ff2786b7d1d2c16bd4902fa4b4b9ee5ce5?pretty=fuller&n=10000

Suspecting: r480444

Kindly help to re-assign, if your changes are not cause for this issue.

Comment 2 by meh...@chromium.org, Jun 20 2017

This is happening on normal links too.

Screenshots are attached.



actual.png
41.9 KB View Download
expected.png
46.5 KB View Download

Comment 3 by sdy@chromium.org, Jun 20 2017

Status: Started (was: Assigned)
Yep — it only worked before due to a macOS bug which we no longer trigger. I'm going to try to find a good way to bring back proper text smoothing.
Labels: ReleaseBlock-Beta
Adding blocker label, since this is a recent regression. Please remove if not the case.

Thanks.!
Project Member

Comment 5 by bugdroid1@chromium.org, Jun 22 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4d77c849b825d8520ec86ec053d0962607d7fab9

commit 4d77c849b825d8520ec86ec053d0962607d7fab9
Author: Sidney San Martín <sdy@chromium.org>
Date: Thu Jun 22 05:55:57 2017

[Mac] Bring back subpixel AA while the omnibox is being edited.

This regressed in r480444, which wrapped the tab strip's
NSVisualEffectView in another view so that it won't be asked for (often
incorrect) hints about text smoothing. Without the hints, many AppKit
controls disable subpixel AA if subclasses override drawing methods or
draw text themselves. This could be considered an AppKit bug — the
behavior should be the same with/without an NSVisualEffectView in play.

This change sets `drawsBackground = NO` on the field editor and stops
overriding `drawViewBackgroundInRect:` and `isOpaque`, which makes
NSTextView opt back into subpixel AA.

We'll need to make the same kinds of changes in other places,
the omnibox is just the most glaring one.

Bug:  734922 
Change-Id: I7e604d862f54bf5b4d122566664baeca3d98bae4
Reviewed-on: https://chromium-review.googlesource.com/544196
Reviewed-by: Trent Apted <tapted@chromium.org>
Commit-Queue: Sidney San Martin <sdy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#481458}
[modify] https://crrev.com/4d77c849b825d8520ec86ec053d0962607d7fab9/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm
[modify] https://crrev.com/4d77c849b825d8520ec86ec053d0962607d7fab9/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm

Comment 6 by sdy@chromium.org, Jun 22 2017

Status: Fixed (was: Started)
This missed today's Canary but should be in tomorrow's (61.0.3139.0).

Comment 7 by abom...@etouch.net, Jun 27 2017

With response to comment #6:
Above issue is still reproducible on Latest Dev Chrome Version: 61.0.3141.0 (Official Build) 180095eb1bca7df1cdcb02547340499c2ee3af6e-refs/heads/master@{#482153} and Latest Canary Version:61.0.3142.0 (Official Build) using Mac Pro (10.12.3)

Please find the attached screencast and screenshot:
Actual_font.png
61.0 KB View Download
Actual_fonts.mov
655 KB Download

Comment 8 by sdy@chromium.org, Jun 27 2017

Re. #7, I can see a slight difference in the screenshot. I cannot see a difference in the movie. The antialiasing is lighter now because it's using the white background of the omnibox instead of incorrectly grabbing an off-white color from the translucent NSVisualEffectView behind the tab strip.

If there's a bigger difference that I'm not noticing, could you tell me more about what it is?
omnibox_aa.gif
16.3 KB View Download

Comment 9 by sdy@chromium.org, Jun 27 2017

(The gif attached to #8 is animated, you may have to click on it to see it animate.)

Comment 10 by abom...@etouch.net, Jun 28 2017

With respect to comment #8 and #9:
Yes, It's a slight difference and it maybe because of white background of the omnibox

Comment 11 by abom...@etouch.net, Jul 11 2017

Labels: TE-Verified-M61 TE-Verified-61.0.3153.4
Note: Above issue is fixed on latest Dev version 61.0.3153.4 for MAC OS (10.12.3)

Sign in to add a comment