Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Issue 2237003004: Fix omnibox flickering on macOS Sierra. (Closed)

Created:
4 years, 4 months ago by erikchen
Modified:
4 years, 4 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix omnibox flickering on macOS Sierra. The implementation of -[AutocompleteTextFieldEditor interpretKeyEvents:] invalidates layout twice, in ways that are somehow not compatible on macOS Sierra. This causes repaints on the next two frames, the first of which does not paint the text correctly. Forcing an explicit relayout causes there to be only a single repaint, with the correct contents. BUG=634318 Committed: https://crrev.com/c95767396148abe3e0b7d2ac07262a90dd76a6ae Cr-Commit-Position: refs/heads/master@{#411495}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
erikchen
mark: Please review.
4 years, 4 months ago (2016-08-11 20:53:27 UTC) #4
Mark Mentovai
LGTM Nice investigative work. Thanks very much for looking into this!
4 years, 4 months ago (2016-08-11 21:24:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2237003004/1
4 years, 4 months ago (2016-08-11 21:26:37 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/276418)
4 years, 4 months ago (2016-08-11 23:34:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2237003004/1
4 years, 4 months ago (2016-08-12 00:20:31 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-12 00:52:41 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 00:55:25 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c95767396148abe3e0b7d2ac07262a90dd76a6ae
Cr-Commit-Position: refs/heads/master@{#411495}

Powered by Google App Engine
This is Rietveld 408576698