Fennec/Fenix do not bring up virtual keyboard a testcase, Chrome does
Categories
(GeckoView :: IME, defect, P2)
Tracking
(Webcompat Priority:revisit, firefox71 affected)
Tracking | Status | |
---|---|---|
firefox71 | --- | affected |
People
(Reporter: twisniewski, Unassigned)
References
Details
Attachments
(1 file)
483 bytes,
text/html
|
Details |
In the attached testcase, Chrome still brings up the virtual keyboard when tapping on the overlay covering the textarea
, despite the mousedown
event being default-prevented. Firefox does not.
Chrome seems to be bringing up the keyboard because the textarea
is already focused, regardless of whether the muosedown
is canceled (if I remove the focus()
call from the testcase, Chrome also eats the event without bringing up the keyboard).
Note that I'm not sure if the same behavior will be present on desktop editions of the browser with touchscreens and virtual keyboards, so it might be Android-specific.
Whether Chrome's behavior is reasonable or not, it may be desirable to users, as per the related webcompat issue.
(not sure about the right component. but at least not DOM Events)
Comment 2•5 years ago
|
||
This could be a GV IME issue.
Comment 3•5 years ago
|
||
Hmm, our implementation is that nsIWidget::SetInputContex
t shows VKB. But SetInputContext
isn't called even if tapping textarea on sample HTML. So I guess that this may occur on Windows's VKB for tablet mode.
Isn't nsFocusManager::Focus
called on this HTML?
Comment 4•5 years ago
|
||
Nakano-san, do we have any change that IMEStateManater calls SetInputContext on this test case?
Comment 5•5 years ago
|
||
Hmm, I have no idea. It should be called from EditorEventListener::MouseClick()
via IMEStateManager::OnClickInEditor()
. I guess the changes for Fission must not affect this path.
Updated•4 years ago
|
Comment 6•4 years ago
|
||
I am working similar issue on another bug.
Comment 7•2 years ago
|
||
Moving some keyboard bugs to the new GeckoView::IME component.
Description
•