Closed Bug 850071 Opened 12 years ago Closed 12 years ago

first character is entered after caret when inputting text into textfield on login.persona.org

Categories

(Firefox for Android Graveyard :: Keyboards and IME, defect)

20 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: ewong, Unassigned)

Details

description: this only occurs on Firefox Beta (20.0) unable to repro on Firefox Stable (19.0) or Chrome. steps: 1. goto http://login.persona.org 2. on keyboard enter 3 characters, such as: abc actual: text field displays bca expected: text field abc config: Galaxy Nexus Android 4.1.1 standard keyboard and Swype keyboard
Using Firefox Beta 20.0 from the Play Store on Android 4.2.2: In adb logcat, I see this stack trace when the first character is entered in the 'enter email address' field. The cursor then moves to the beginning of that field. > java.lang.IllegalArgumentException: invalid selection notification range > at org.mozilla.gecko.GeckoEditable.onSelectionChange(GeckoEditable.java:577) > at org.mozilla.gecko.GeckoAppShell.notifyIMEChange(GeckoAppShell.java:625) > at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method) > at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method) > at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:565) > at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:82) I do not see the same issue in the most recent Release, Aurora, and Nightly versions for Android Firefox on the same device. (p.s., if the first character matches an address that could be previously known, there is no exception and the options are shown). This could possibly be an issue due to Persona code, but given that this is only this Beta build, it seems more likely to be a generic issue. :stomlinson or :seanmonstar might be able to help define the problem better.
we have an `onchange` listener that simply checks that the value is different from the previous one when submit was clicked, but it does nothing with a selection. This is the HTML of that element, which looks like it tries to turn off some stuff that the Android keyboard would try to do: <input id="authentication_email" type="email" autocapitalize="off" autocorrect="off" spellcheck="false" value="" maxlength="254" placeholder="enter email address">
I cannot reproduce in the latest Nightly. Please reopen if it's still reproducible.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Verified with Firefox for Android trunk nightly 2013-04-25 on Nexus S (Android 4.1.2 stock).
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.