|
|
Chromium Code Reviews
DescriptionDo not hide the cursor on a key up
When pressing an accelerator, the user may release the modifier key first.
e.g. press Ctrl, press A, release Ctrl, release A
This CL prevents the cursor from being hidden in this scenario.
BUG=454902
TEST=WindowManagerTest.UpdateCursorVisibilityAccelerator
Committed: https://crrev.com/04be0abc78b0726b72750d4a0b273280c23a30b7
Cr-Commit-Position: refs/heads/master@{#319885}
Patch Set 1 #
Total comments: 1
Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Messages
Total messages: 46 (21 generated)
pkotwicz@chromium.org changed reviewers: + tdanderson@chromium.org
tdanderson@ PTAL
LGTM
pkotwicz@chromium.org changed reviewers: + sadrul@chromium.org
Sadrul, do you also want to take a look?
LGTM On linux, if the cursor is in an editable textfield (e.g. omnibox), and the user presses ctrl, A, then releases ctrl but keep pressing the A key, then the content of the omnibox gets overwritten, and a stream of 'a' is added to the textfield. I suspect the behaviour is the same on ChromeOS? If so, then I think the cursor should be hidden. From what I understand, the cursor will in fact correctly hide after this change because we should continue to get press-events if the user does keep pressing the A key. But can you please confirm this before landing? https://codereview.chromium.org/960073002/diff/1/ash/wm/cursor_manager_chrome... File ash/wm/cursor_manager_chromeos_unittest.cc (right): https://codereview.chromium.org/960073002/diff/1/ash/wm/cursor_manager_chrome... ash/wm/cursor_manager_chromeos_unittest.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights reserved. lol
Sadrul, thanks! I did not think of that scenario. I have confirmed that pressing Ctrl+A and releasing Ctrl puts a stream of 'a's in the omnibox and hides the cursor
The CQ bit was checked by pkotwicz@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tdanderson@chromium.org, sadrul@chromium.org Link to the patchset: https://codereview.chromium.org/960073002/#ps20001 (title: " ")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960073002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator...) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ni...)
Patchset #3 (id:40001) has been deleted
Sadrul, can you please take another look? I have modified WindowManagerTest.UpdateCursorVisibilityAccelerator and have moved the new test that WindowManagerTest
Sadrul, Ping!
On 2015/03/03 20:41:21, pkotwicz wrote: > Sadrul, Ping! LGTM (sorry, I saw my name in green, so I mistakenly assumed you weren't blocked on my review).
The CQ bit was checked by pkotwicz@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tdanderson@chromium.org Link to the patchset: https://codereview.chromium.org/960073002/#ps60001 (title: " ")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960073002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator...)
The CQ bit was checked by pkotwicz@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960073002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by pkotwicz@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960073002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by pkotwicz@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960073002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by pkotwicz@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960073002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by pkotwicz@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tdanderson@chromium.org, sadrul@chromium.org Link to the patchset: https://codereview.chromium.org/960073002/#ps80001 (title: " ")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960073002/80001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by pkotwicz@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960073002/80001
Message was sent while issue was closed.
Committed patchset #4 (id:80001)
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/04be0abc78b0726b72750d4a0b273280c23a30b7 Cr-Commit-Position: refs/heads/master@{#319885} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
