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

Issue 22831045: Delay virtual keyboard hiding for 100ms (Closed)

Created:
7 years, 4 months ago by bshe
Modified:
7 years, 3 months ago
Reviewers:
sadrul, kevers
CC:
chromium-reviews
Visibility:
Public.

Description

Delay virtual keyboard hiding for 100ms This CL should fix this issue that we are experiencing(note it is not always reproducible): - In a maximized window, clicking button may not take any effect due to immediate keyboard relayout (go to http://unixpapa.com/js/testkey.html and try hit reset button after typed a bunch of keys) It also workarounds the other two issues: 1. keyboard flicking when quickly switch from one input field to another field 2. In webdev javascript console, the input feild temoporary lost focus when candidate popup window shows and it may try to hide and relayout keyboard, which makes the console unuseable with virtual keyboard. The root problem for the above two issues are tracked in issue 281493. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220648

Patch Set 1 #

Total comments: 6

Patch Set 2 : comments #

Total comments: 6

Patch Set 3 : #

Total comments: 8

Patch Set 4 : More comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -47 lines) Patch
M ui/keyboard/keyboard_controller.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M ui/keyboard/keyboard_controller.cc View 1 2 3 6 chunks +36 lines, -14 lines 0 comments Download
M ui/keyboard/keyboard_controller_unittest.cc View 1 2 3 7 chunks +72 lines, -33 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
bshe
Hi Kevin. Would you mind to take a look at this CL? Thanks! Biao
7 years, 4 months ago (2013-08-23 21:09:28 UTC) #1
kevers
LGTM with nits. https://codereview.chromium.org/22831045/diff/1/ui/keyboard/keyboard_controller.h File ui/keyboard/keyboard_controller.h (right): https://codereview.chromium.org/22831045/diff/1/ui/keyboard/keyboard_controller.h#newcode67 ui/keyboard/keyboard_controller.h:67: // This functions should be called ...
7 years, 3 months ago (2013-08-26 15:50:18 UTC) #2
sadrul
Drive-by: when switching between input-fields (i.e. issue 1. listed in the CL description), why do ...
7 years, 3 months ago (2013-08-26 17:30:31 UTC) #3
bshe
Thanks for the drive-up, Sadrul. I was about to add you as my reviewer. :) ...
7 years, 3 months ago (2013-08-26 18:39:17 UTC) #4
sadrul
> Yes, the flicker that I saw at login screen is because of the event ...
7 years, 3 months ago (2013-08-26 23:09:12 UTC) #5
bshe
On 2013/08/26 23:09:12, sadrul wrote: > > Yes, the flicker that I saw at login ...
7 years, 3 months ago (2013-08-26 23:17:44 UTC) #6
sadrul
On 2013/08/26 23:17:44, bshe wrote: > On 2013/08/26 23:09:12, sadrul wrote: > > > Yes, ...
7 years, 3 months ago (2013-08-26 23:49:07 UTC) #7
bshe
On 2013/08/26 23:49:07, sadrul wrote: > On 2013/08/26 23:17:44, bshe wrote: > > On 2013/08/26 ...
7 years, 3 months ago (2013-08-27 00:19:27 UTC) #8
bshe
On 2013/08/27 00:19:27, bshe wrote: > On 2013/08/26 23:49:07, sadrul wrote: > > On 2013/08/26 ...
7 years, 3 months ago (2013-08-29 15:26:37 UTC) #9
sadrul
Looks good. Left a couple of comments. Please also update the CL description to note ...
7 years, 3 months ago (2013-08-29 17:06:33 UTC) #10
bshe
Thanks for review. I have changed this issue description and comments are inlined. https://codereview.chromium.org/22831045/diff/8001/ui/keyboard/keyboard_controller_unittest.cc File ...
7 years, 3 months ago (2013-08-29 18:19:02 UTC) #11
sadrul
https://codereview.chromium.org/22831045/diff/8001/ui/keyboard/keyboard_controller_unittest.cc File ui/keyboard/keyboard_controller_unittest.cc (right): https://codereview.chromium.org/22831045/diff/8001/ui/keyboard/keyboard_controller_unittest.cc#newcode34 ui/keyboard/keyboard_controller_unittest.cc:34: base::TimeDelta::FromMilliseconds(kHideKeyboardDelayMs)); On 2013/08/29 18:19:02, bshe wrote: > I did ...
7 years, 3 months ago (2013-08-29 20:32:07 UTC) #12
bshe
Hi Sadrul. I think I have addressed your comment. Would you mind to take another ...
7 years, 3 months ago (2013-08-29 23:05:02 UTC) #13
sadrul
LGTM with some nits https://codereview.chromium.org/22831045/diff/26001/ui/keyboard/keyboard_controller.h File ui/keyboard/keyboard_controller.h (right): https://codereview.chromium.org/22831045/diff/26001/ui/keyboard/keyboard_controller.h#newcode69 ui/keyboard/keyboard_controller.h:69: bool WillHideKeyboard(); make this const ...
7 years, 3 months ago (2013-08-29 23:43:53 UTC) #14
bshe
Done. Thanks for review https://codereview.chromium.org/22831045/diff/26001/ui/keyboard/keyboard_controller.h File ui/keyboard/keyboard_controller.h (right): https://codereview.chromium.org/22831045/diff/26001/ui/keyboard/keyboard_controller.h#newcode69 ui/keyboard/keyboard_controller.h:69: bool WillHideKeyboard(); On 2013/08/29 23:43:54, ...
7 years, 3 months ago (2013-08-30 15:54:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/22831045/46001
7 years, 3 months ago (2013-08-30 16:11:43 UTC) #16
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 20:50:49 UTC) #17
Message was sent while issue was closed.
Change committed as 220648

Powered by Google App Engine
This is Rietveld 408576698