New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 749425 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 6
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug


Participants' hotlists:
Fixing-touch


Sign in to add a comment

Virtual Keyboard does not load if a physical mouse is connected

Project Member Reported by omrilio@chromium.org, Jul 27 2017

Issue description

Reproducible on M61/M60

What steps will reproduce the problem?
(1) Open device in tablet mode
(2) Connect an external mouse via USB

What is the expected result?
I can still type my password and login using virtual keyboard

What happens instead?
Virtual keyboard disappears. This should only happen if I connect an external keyboard


Note that what I am scared might happen is that the mouse also reports keyboard and confuses ChromeOS.
 
What kind of mouse are you using? If it has buttons (beyond the normal left/right click), it may be exposing those as a keyboard. Other USB devices do this as well (eg. security key), which is why we give the user the option to re-enable the virtual keyboard in the System Menu.
Is there no way we can do better detection of when it's an actual keyboard or not?
Owner: yhanada@chromium.org
Status: Started (was: Untriaged)
I found code[1] to decide the connected device is keyboard or not. It checks the existence of character keys?

[1]: https://cs.chromium.org/chromium/src/ui/events/ozone/evdev/event_device_info.cc?type=cs&sq=package:chromium&l=410
Many mouses which has extra buttons claims that they support full keyboard key events. It's really difficult to distinguish those mouses and actual keyboards from our side.

Comment 5 by oka@chromium.org, Feb 20 2018

Drove by.
How about a heuristics to consider a device a mouse if it HasKeyboard and HasMouse at the same time?

Comment 6 by oka@chromium.org, Feb 20 2018

I think false positive is better than false negative, hence the suggestion.
Cc: yhanada@chromium.org
Components: IO>Keyboard
Owner: ----
Status: Available (was: Started)
I'm not working on this actively.
Issue 870447 has been merged into this issue.
Labels: M-69
This issue is reproducible on 10895.11.0, 69.0.3497.24 dev-channel convertible device (eve), slate (scarlet) devices
Labels: -Pri-2 -M-69 Pri-3
Status: WontFix (was: Available)
This is hardware related -- the mouse claims to be a keyboard
Cc: omrilio@chromium.org sammiequon@chromium.org
 Issue 878795  has been merged into this issue.

Sign in to add a comment