Software keyboard isn't shown again on contenteditable.
Categories
(GeckoView :: IME, defect, P1)
Tracking
(firefox83 fixed)
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
(Whiteboard: [geckoview:m82][geckoview:m83])
Attachments
(1 file)
From https://github.com/mozilla-mobile/fenix/issues/11785
Steps to reproduce
- Go to www.Onlinegdb.com/online_c++_compiler
- click on the centre text box
- keyboard appears
- press back
- click again on the centre text box
Expected behavior
Keyboard appears. Note that for most other text boxes this is the current behaviour
Actual behavior
Nothing.
Device information
Android device: Asus Zenfone
Fenix version: Nightly
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
This site uses Ace editor (https://ace.c9.io/).
Assignee | ||
Comment 2•4 years ago
|
||
https://jsfiddle.net/qhpwj1L9/4/
Ace doesn't use contentedtiable, it uses <textarea>
to get input. Chrome opens software keyboard, but Firefox doesn't. I guess that this issue will occurs on Firefox for Windows and editor won't set InputContext on this situation.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Actually software keyboard is opened by the following situations.
- Click event in editor
- Get new focus event.
Ace editor has small <textarea> element to handles some input events.
When clicking editable-like area (but this isn't ediable on Ace editor),
mousedown handler calls event.preventDefault()
then set focus to
<textarea> element. So editor doesn't get click event and focus is still
keep in <textarea> element. At finally, we cannot open software keyboard
again since focus isn't changed.
So even if focus isn't changed, we should call SetInputContext to open
software keyboard.
Also, actually we doesn't have generic test code for notification of
software keyboard change (bug 1670539). I will add the test by bug 1670539.
Comment 6•4 years ago
|
||
bugherder |
Comment 7•4 years ago
|
||
Regressions: bug 1675313
Comment 8•2 years ago
|
||
Moving some keyboard bugs to the new GeckoView::IME component.
Description
•