Typing character isn't inserted at cursor position with GBoard after modifying github issue number (#xxxx)
Categories
(GeckoView :: IME, defect, P1)
Tracking
(firefox89 fixed, firefox90 verified)
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
(Whiteboard: [geckoview:m90])
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
From https://github.com/mozilla-mobile/fenix/issues/18923
This seems to occur on the latest version of GBoard. (I cannot reproduce this on the latest emulator image of Android 7 and Android 11)
Steps to reproduce
- go to ticket #18989
- enter edit mode on the initial comment
- place the cursor after the word "reduced" and type "All OK."
- then go to the start and delete the last digit from the displayed ticket number and then pick the same ticket number from the pop-up
- then go place the cursor to after "All OK" and start typing
Result
The cursor jumps back to just after the ticket number and everything I type follows this
Expected behavior
The cursor doesn't jump and everything I type follows "All OK."
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
When tapping panel (step 4), GBloard seems to call InputConnection.closeConnection
without endBatchEdit
call. So batch count is broken until focus is lost then taken...
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
The latest version of GBoard seems to call InputConnection.closeConnection
without calling InputConnection.endBatchEdit
. Since we recycle
InputConnection
object, we have to reset batch edit count on
closeConnection
.
Also there is no way to write GV-junit and mochitests because we cannot check
whether current text transaction is batch mode or not.
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/8141e79fd68b Reset batch edit count on InputConnection.closeConnection. r=geckoview-reviewers,agi
Comment 5•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
Comment on attachment 9218262 [details]
Bug 1706499 - Reset batch edit count on InputConnection.closeConnection.
Beta/Release Uplift Approval Request
- User impact if declined: This occurs on github.com's comment textbox. After editing text into
#<number>
, when user types any character, this character isn't inserted at caret position. - Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See https://github.com/mozilla-mobile/fenix/issues/18923#issuecomment-818674977
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Low. Reset internal flag when InputConnection (this is an object for IME control) is closed.
- String changes made/needed: no
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Comment on attachment 9218262 [details]
Bug 1706499 - Reset batch edit count on InputConnection.closeConnection.
Evaluated as low risk and has a couple of duplicates filed, approved for 89 beta 9, thanks.
Comment 9•3 years ago
|
||
bugherder uplift |
Comment 10•3 years ago
|
||
Verified as fixed on Firefox Preview Nightly 90.0a1 5/7 using a OnePlus Nord N10 (Android 10).
Updated•3 years ago
|
Comment 11•2 years ago
|
||
Moving some cursor and key event bugs to the new GeckoView::IME component.
Description
•