Add more test cases for bug 1563640
Categories
(GeckoView :: IME, defect, P3)
Tracking
(firefox150 fixed)
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: m_kato, Assigned: m_kato)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
After dispatching enter key, SwiftKey sets composing selection to previous selection then commit. So I should add this IC calls to junit.
| Assignee | ||
Updated•5 months ago
|
| Assignee | ||
Comment 1•5 months ago
|
||
I would like to add a test case to enumerate InputConnection calls by
SwiftKey.
Backed out for causing junit failures
| Assignee | ||
Comment 5•5 months ago
|
||
Hmm, I cannot reproduce this on local. I need to test more in taskcluster....
| Assignee | ||
Comment 6•5 months ago
|
||
I am re-thinking a fix of bug 1563640. It is better to ignore update composition during batch edit.
https://treeherder.mozilla.org/jobs?repo=try&revision=9f96851e9797f70202b6bd4b4c61ced6a5dc527b
| Assignee | ||
Comment 7•4 months ago
|
||
| Assignee | ||
Comment 8•4 months ago
|
||
Original bug (bug 1563640) is that SwiftKey calls meaningless
setComposingRegion() and finishComposingText() when user presses enter
key. Android can have two caret types, one is normal caret and the other
is IME caret. But Gecko has only normal caret. So this SwiftKey's behavior
causes that the caret position is changed unfortunately.
I added a workaround to ignore these. But this causes test failures on some
tests that is disabled now. So this fix re-writes it.
This fix is that we don't update composition immediately during batch mode.
We wait until batch mode is finished and then update composition.
| Assignee | ||
Updated•4 months ago
|
Comment 10•4 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/72cde5f9cfad
https://hg.mozilla.org/mozilla-central/rev/b215ef0afbeb
Description
•