Typing gets repeated when entering text 2 characters after @ in email fields
Categories
(GeckoView :: IME, defect)
Tracking
(firefox150 wontfix, firefox151 verified, firefox152 verified, firefox153 verified)
People
(Reporter: jesup, Assigned: m_kato)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
|
2.89 MB,
video/mp4
|
Details |
Steps to reproduce
- Go to any site with a login page with an email-entry field
- Type an email address. Two characters after typing '@' the contents of the field will get inserted at the local position.
example:
type ffgh@1 -> field reads ffgh@1
type '2' -> field reads ffgh@ffgh121 with the cursor after the 2
Device information
Samsung S20FE
- Firefox version: 150.0.1
- Android device model: Samsung Galaxy S20FE
- Android OS version: 13
Note: this only happens on one of our phones. No extensions.
Profile: https://share.firefox.dev/4nmJysT
| Assignee | ||
Comment 1•22 days ago
|
||
Is your keyboard Samsung keyboard? Although I try to reproduce on Galaxy S20 (JP) / Android 13 with Samsung keyboard (5.6.10.48), I cannot reproduce this by https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/email
| Assignee | ||
Updated•22 days ago
|
| Assignee | ||
Comment 2•21 days ago
•
|
||
Also, if you take a profiler data by Firefox Nightly, I would like to request that moz log module is IMEHandler:5 by about:logging. If text transaction doesn't wok on Gecko side, not Java side, we may be able to find it.
| Reporter | ||
Comment 3•21 days ago
|
||
I can try that. Not sure if it was samsung or gboard (probably default, which is likely samsung, but I'll check - daughter's phone)
| Assignee | ||
Comment 4•21 days ago
|
||
Thank you, I can reproduce this now on Nightly + Samsung keyboard. Probably this is a regression by bug 2012938
Comment 5•21 days ago
|
||
Set release status flags based on info from the regressing bug 2012938
Updated•21 days ago
|
| Assignee | ||
Comment 6•20 days ago
|
||
| Assignee | ||
Comment 7•20 days ago
|
||
This is a regression by bug 2012938.
Android IME (InputConnection) often requests current editable text
by synchronous. But Gecko has its on content process, so we have two
data for Java side (ShadowText) and content side (CurrentText). This
is synchronous when Gecko notifies IME of text/selection changes.
After bug 2012938 fix, it doesn't notify Gecko of IME composing range
during batch mode to avoid unnecessary selection changes. After ending
batch mode, we will send current composing ranges. Without text changes,
IME content observer doesn't notify widget of any changes. So calling
onIMESynchronized causes unexpected text/selection changes. Then text
transaction is broken.
So we shouldn't call it and not sync shadow text on ending batch mode.
| Reporter | ||
Comment 8•13 days ago
|
||
Can we get a fix out for this and uplift to beta?
Also: are there any workarounds?
Comment 9•12 days ago
|
||
Set release status flags based on info from the regressing bug 2012938
| Assignee | ||
Comment 10•12 days ago
|
||
(In reply to Randell Jesup [:jesup] (needinfo me) from comment #8)
Can we get a fix out for this and uplift to beta?
Yes, after landing this, I will request uplift.
Also: are there any workarounds?
This is a timing issue, If you use Samsung keyboard, disabling some "smart typing" features in Samsung Keyboard settings might be workaround.
Comment 11•7 days ago
|
||
Comment 12•7 days ago
|
||
| bugherder | ||
Comment 13•7 days ago
|
||
The patch landed in nightly and beta is affected.
:m_kato, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox152towontfix.
For more information, please visit BugBot documentation.
Comment 14•7 days ago
|
||
To add to comment 13, please also include a release uplift request. Depending on the risk, we should include this in a Fx151 dot release.
| Assignee | ||
Comment 15•6 days ago
|
||
This is a regression by bug 2012938.
Android IME (InputConnection) often requests current editable text
by synchronous. But Gecko has its on content process, so we have two
data for Java side (ShadowText) and content side (CurrentText). This
is synchronous when Gecko notifies IME of text/selection changes.
After bug 2012938 fix, it doesn't notify Gecko of IME composing range
during batch mode to avoid unnecessary selection changes. After ending
batch mode, we will send current composing ranges. Without text changes,
IME content observer doesn't notify widget of any changes. So calling
onIMESynchronized causes unexpected text/selection changes. Then text
transaction is broken.
So we shouldn't call it and not sync shadow text on ending batch mode.
Original Revision: https://phabricator.services.mozilla.com/D300235
Updated•6 days ago
|
Comment 16•6 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: When inputting any string on Samsung Keyboard, inputting text may be corrupted such as text is duplicated.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: This is a regression by bug 2012938. This fix removes unnecessary code to sync android's text.
- String changes made/needed?: No
- Is Android affected?: yes
Comment 17•6 days ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: When inputting any string on Samsung Keyboard, inputting text may be corrupted such as text is duplicated.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: This is a regression by bug 2012938. This fix removes unnecessary code to sync android's text.
- String changes made/needed?: No
- Is Android affected?: yes
| Assignee | ||
Comment 18•6 days ago
|
||
This is a regression by bug 2012938.
Android IME (InputConnection) often requests current editable text
by synchronous. But Gecko has its on content process, so we have two
data for Java side (ShadowText) and content side (CurrentText). This
is synchronous when Gecko notifies IME of text/selection changes.
After bug 2012938 fix, it doesn't notify Gecko of IME composing range
during batch mode to avoid unnecessary selection changes. After ending
batch mode, we will send current composing ranges. Without text changes,
IME content observer doesn't notify widget of any changes. So calling
onIMESynchronized causes unexpected text/selection changes. Then text
transaction is broken.
So we shouldn't call it and not sync shadow text on ending batch mode.
Original Revision: https://phabricator.services.mozilla.com/D300235
Updated•6 days ago
|
Updated•6 days ago
|
Updated•6 days ago
|
Comment 19•6 days ago
|
||
| uplift | ||
| Assignee | ||
Updated•6 days ago
|
Comment 20•5 days ago
|
||
This issue is verified as fixed on Firefox for Android Nightly 153 (2026-05-27) and Firefox 152 beta 4 under Samsung S24 Ultra (Android 16) and Huawei MediaPad T5 (Android 8). Confirming that the signin flow works without issues on the top 10 most visited sites.
Updated•5 days ago
|
Updated•5 days ago
|
Updated•5 days ago
|
Comment 21•5 days ago
|
||
| uplift | ||
| Assignee | ||
Updated•4 days ago
|
Updated•9 hours ago
|
Comment 23•6 hours ago
•
|
||
Verified as fixed on Firefox RC 151.0.3 with Asus Zenfone 9 ( Android 13) and Lenovo Yoga Tab 11 (Android 12).
Description
•