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

Issue 1010853002: Reset the background of title label when selected by arrow keys. (Closed)

Created:
5 years, 9 months ago by Jun Mukai
Modified:
5 years, 9 months ago
Reviewers:
tapted, Matt Giuca
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset the background of title label when selected by arrow keys. In the old app-list, the key selection doesn't signal any events to AppListItemView, so it can't update the background color at that point. BUG=467517 R=mgiuca@chromium.org Committed: https://crrev.com/2b7b3c8c3a6d31a2d308063f73ba5e0e6cf6ea15 Cr-Commit-Position: refs/heads/master@{#320800}

Patch Set 1 #

Total comments: 2

Patch Set 2 : commends addressed #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -26 lines) Patch
M ui/app_list/views/app_list_item_view.h View 2 chunks +4 lines, -4 lines 0 comments Download
M ui/app_list/views/app_list_item_view.cc View 1 2 chunks +22 lines, -22 lines 0 comments Download
M ui/app_list/views/apps_grid_view.cc View 1 chunk +1 line, -0 lines 1 comment Download

Messages

Total messages: 10 (3 generated)
Jun Mukai
5 years, 9 months ago (2015-03-16 17:37:26 UTC) #1
Matt Giuca
lgtm https://codereview.chromium.org/1010853002/diff/1/ui/app_list/views/app_list_item_view.h File ui/app_list/views/app_list_item_view.h (right): https://codereview.chromium.org/1010853002/diff/1/ui/app_list/views/app_list_item_view.h#newcode86 ui/app_list/views/app_list_item_view.h:86: void SetTitleSubpixelAA(); Please move the implementation of this ...
5 years, 9 months ago (2015-03-16 18:22:59 UTC) #2
Jun Mukai
https://codereview.chromium.org/1010853002/diff/1/ui/app_list/views/app_list_item_view.h File ui/app_list/views/app_list_item_view.h (right): https://codereview.chromium.org/1010853002/diff/1/ui/app_list/views/app_list_item_view.h#newcode86 ui/app_list/views/app_list_item_view.h:86: void SetTitleSubpixelAA(); On 2015/03/16 18:22:59, Matt Giuca wrote: > ...
5 years, 9 months ago (2015-03-16 20:49:55 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1010853002/20001
5 years, 9 months ago (2015-03-16 20:50:25 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-16 22:00:02 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/2b7b3c8c3a6d31a2d308063f73ba5e0e6cf6ea15 Cr-Commit-Position: refs/heads/master@{#320800}
5 years, 9 months ago (2015-03-16 22:01:13 UTC) #8
tapted
5 years, 9 months ago (2015-03-17 03:28:31 UTC) #10
Message was sent while issue was closed.
drive-by (no action required :)

https://codereview.chromium.org/1010853002/diff/20001/ui/app_list/views/apps_...
File ui/app_list/views/apps_grid_view.cc (right):

https://codereview.chromium.org/1010853002/diff/20001/ui/app_list/views/apps_...
ui/app_list/views/apps_grid_view.cc:1109: selected_view_->SchedulePaint();
I suspect the old selected view also needs an update, but probably after
updating the selection (i.e. not in this `if` block, but down below). But it's
minor - you will just miss out on some subpixel AA if you use arrow keys, which
should be fine -- I wouldn't do anything.

The app list font on Windows is changing in M42. I think it doesn't look as bad
without subpixel AA, so it might be time just to give up on subpixel AA.

Although, I will definitely need to fix http://crbug.com/462136 for Mac first --
there's a bug causing a "don't do subpixel AA" failing to get through to skia.

Powered by Google App Engine
This is Rietveld 408576698