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

Issue 2434483003: Fix keyboard-activated context menus (Closed)

Created:
4 years, 2 months ago by David Tseng
Modified:
4 years, 1 month ago
Reviewers:
afakhry, oshima
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix keyboard-activated context menus In Ash, there is logic to close menus then asynchronisly perform an accelerator command. However, the accelerator that opens the context menu itself can and does trigger the close path depending on how a person executes the command. On Chrome OS, the shortcut to open a context menu is Search+Shift+Volume Up. Any of these keys should leave the menu as is otherwise, the context menu is effectively a no-op when triggered from the keyboard. TEST=on device, hit search; verify apps list opens. Press Search+Shift+Volume up; verify context menu opens. Press Search+m with ChromeVox on, verify context menu opens. BUG=621331, 616130 Committed: https://crrev.com/ae9dad85f214ce7a33c821e28b1dacbadea9bac0 Cr-Commit-Position: refs/heads/master@{#427178}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Simplify to #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M ash/common/accelerators/accelerator_table.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
David Tseng
4 years, 2 months ago (2016-10-19 17:23:50 UTC) #3
David Tseng
+ oshima who's an OWNER
4 years, 2 months ago (2016-10-19 22:50:55 UTC) #5
David Tseng
On 2016/10/19 22:50:55, David Tseng wrote: > + oshima who's an OWNER Friendly ping; would ...
4 years, 2 months ago (2016-10-20 20:45:43 UTC) #6
oshima
https://codereview.chromium.org/2434483003/diff/1/ash/common/accelerators/accelerator_controller.cc File ash/common/accelerators/accelerator_controller.cc (right): https://codereview.chromium.org/2434483003/diff/1/ash/common/accelerators/accelerator_controller.cc#newcode596 ash/common/accelerators/accelerator_controller.cc:596: return false; Looks like this is caused by the ...
4 years, 2 months ago (2016-10-21 18:10:42 UTC) #7
David Tseng
https://codereview.chromium.org/2434483003/diff/1/ash/common/accelerators/accelerator_controller.cc File ash/common/accelerators/accelerator_controller.cc (right): https://codereview.chromium.org/2434483003/diff/1/ash/common/accelerators/accelerator_controller.cc#newcode596 ash/common/accelerators/accelerator_controller.cc:596: return false; On 2016/10/21 18:10:42, oshima wrote: > Looks ...
4 years, 2 months ago (2016-10-21 20:29:26 UTC) #8
oshima
lgtm https://codereview.chromium.org/2434483003/diff/1/ash/common/accelerators/accelerator_controller.cc File ash/common/accelerators/accelerator_controller.cc (right): https://codereview.chromium.org/2434483003/diff/1/ash/common/accelerators/accelerator_controller.cc#newcode596 ash/common/accelerators/accelerator_controller.cc:596: return false; On 2016/10/21 20:29:25, David Tseng wrote: ...
4 years, 1 month ago (2016-10-24 18:53:04 UTC) #10
David Tseng
https://codereview.chromium.org/2434483003/diff/1/ash/common/accelerators/accelerator_controller.cc File ash/common/accelerators/accelerator_controller.cc (right): https://codereview.chromium.org/2434483003/diff/1/ash/common/accelerators/accelerator_controller.cc#newcode596 ash/common/accelerators/accelerator_controller.cc:596: return false; On 2016/10/24 18:53:04, oshima wrote: > On ...
4 years, 1 month ago (2016-10-24 19:03:56 UTC) #13
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/2434483003/20001
4 years, 1 month ago (2016-10-24 23:04:38 UTC) #17
oshima
On 2016/10/24 19:03:56, David Tseng wrote: > https://codereview.chromium.org/2434483003/diff/1/ash/common/accelerators/accelerator_controller.cc > File ash/common/accelerators/accelerator_controller.cc (right): > > https://codereview.chromium.org/2434483003/diff/1/ash/common/accelerators/accelerator_controller.cc#newcode596 ...
4 years, 1 month ago (2016-10-24 23:21:34 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-24 23:21:56 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-10-24 23:24:36 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ae9dad85f214ce7a33c821e28b1dacbadea9bac0
Cr-Commit-Position: refs/heads/master@{#427178}

Powered by Google App Engine
This is Rietveld 408576698