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

Issue 1741093002: Fixes alternating keyboard and mouse hot-tracking in menus (Closed)

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

Description

Fixes alternating keyboard and mouse hot-tracking in menus This scenario: 1. Open app menu with extension buttons overflow 2. Place mouse pointer over one of them (triggers hot-tracking) Call that "button1" 3. Move visible focus with a keyboard (down) to the next extension button (call that button2) 4. Move a mouse just enough to re-trigger a hot-tracked state on "button1". 5. Press [arrow down] key again. This should move to "button2" but used to move instead to "button3" (since step 4 did not update the hot-tracked state in menu controller and the last updated state in MenuController refers to step 3). BUG=590351 TEST=see steps above Committed: https://crrev.com/0a4f75a3aea3dd256ea741e524817ea7958b6f10 Cr-Commit-Position: refs/heads/master@{#378300}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fixes alternating keyboard and mouse hot-tracking in menus (rebased) #

Total comments: 6

Patch Set 3 : Fixes alternating keyboard and mouse hot-tracking in menus (comments) #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -36 lines) Patch
M ui/views/controls/menu/menu_controller.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M ui/views/controls/menu/menu_controller.cc View 1 2 10 chunks +66 lines, -35 lines 2 comments Download
M ui/views/controls/menu/menu_controller_unittest.cc View 1 3 chunks +128 lines, -0 lines 0 comments Download
M ui/views/controls/menu/menu_item_view.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1741093002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1741093002/1
4 years, 9 months ago (2016-02-26 22:05:42 UTC) #2
varkha
sky@, I'd like you to review this CL. It was split from hot-tracking visuals CL ...
4 years, 9 months ago (2016-02-26 22:07:10 UTC) #4
varkha
https://codereview.chromium.org/1741093002/diff/1/ui/views/controls/menu/menu_controller.cc File ui/views/controls/menu/menu_controller.cc (right): https://codereview.chromium.org/1741093002/diff/1/ui/views/controls/menu/menu_controller.cc#newcode2111 ui/views/controls/menu/menu_controller.cc:2111: SetHotTrackedButton(button_hot); This block will not be necessary after https://codereview.chromium.org/1661673004/ ...
4 years, 9 months ago (2016-02-26 22:09:06 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/28210) android_clang_dbg_recipe on ...
4 years, 9 months ago (2016-02-26 22:30:24 UTC) #8
varkha
https://codereview.chromium.org/1741093002/diff/1/ui/views/controls/menu/menu_controller.cc File ui/views/controls/menu/menu_controller.cc (right): https://codereview.chromium.org/1741093002/diff/1/ui/views/controls/menu/menu_controller.cc#newcode2111 ui/views/controls/menu/menu_controller.cc:2111: SetHotTrackedButton(button_hot); On 2016/02/26 22:09:06, varkha wrote: > This block ...
4 years, 9 months ago (2016-02-26 22:34:42 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1741093002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1741093002/20001
4 years, 9 months ago (2016-02-26 22:36:17 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/163142) linux_chromium_chromeos_ozone_rel_ng on ...
4 years, 9 months ago (2016-02-26 23:09:22 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1741093002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1741093002/60001
4 years, 9 months ago (2016-02-27 00:27:48 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-02-27 01:43:27 UTC) #19
sky
https://codereview.chromium.org/1741093002/diff/60001/ui/views/controls/menu/menu_controller.cc File ui/views/controls/menu/menu_controller.cc (right): https://codereview.chromium.org/1741093002/diff/60001/ui/views/controls/menu/menu_controller.cc#newcode572 ui/views/controls/menu/menu_controller.cc:572: return processed; Do you need to update this branch ...
4 years, 9 months ago (2016-02-29 16:33:32 UTC) #20
varkha
https://codereview.chromium.org/1741093002/diff/60001/ui/views/controls/menu/menu_controller.cc File ui/views/controls/menu/menu_controller.cc (right): https://codereview.chromium.org/1741093002/diff/60001/ui/views/controls/menu/menu_controller.cc#newcode572 ui/views/controls/menu/menu_controller.cc:572: return processed; On 2016/02/29 16:33:32, sky wrote: > Do ...
4 years, 9 months ago (2016-02-29 19:09:44 UTC) #22
sky
LGTM
4 years, 9 months ago (2016-02-29 20:58:41 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1741093002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1741093002/100001
4 years, 9 months ago (2016-02-29 21:33:00 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 9 months ago (2016-02-29 22:52:11 UTC) #27
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 22:53:09 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0a4f75a3aea3dd256ea741e524817ea7958b6f10
Cr-Commit-Position: refs/heads/master@{#378300}

Powered by Google App Engine
This is Rietveld 408576698