DescriptionRegression: Search+Key pops up app launcher
We decided to fix this issue even though it only happens when the
following 'wrong' key sequence is pressed:
- SearchKey [pressed]
- Key [pressed]
- SearchKey [released]
- Key [released]
Resulted wrong behavior: the AppLancher appears.
The Cause:
----------
When the search key is used as a modifier, the following pressed key is
rewritten and consumed. It doesn't get forwarded to
AcceleratorController managed by the AcceleratorManager in the
FocusManager. The AcceleratorController needs to know the previous
Accelerator to determine the correct behavior.
The 'Suggested' Fix:
--------------------
Track the system-wide current and previous key accelerators and require
that the ToggleAppList would only be triggered if LWIN [pressed] is
immediately followed by LWIN [released].
BUG=410835
TEST=manual, ash_unittests
Committed: https://crrev.com/5546373f24680054ad4e1eca425b5b1b7291dfe9
Cr-Commit-Position: refs/heads/master@{#305278}
Patch Set 1 #Patch Set 2 : #
Total comments: 10
Patch Set 3 : #
Total comments: 17
Patch Set 4 : #
Total comments: 3
Patch Set 5 : #Patch Set 6 : #
Total comments: 4
Patch Set 7 : #
Total comments: 14
Patch Set 8 : #Patch Set 9 : #Patch Set 10 : The StickyKeysBrowserTest.SearchLeftOmnibox test that used to fail was broken, used to assume the c… #
Total comments: 6
Patch Set 11 : #Patch Set 12 : Fixing the stale patch #Patch Set 13 : #
Messages
Total messages: 54 (12 generated)
|