Closed Bug 1607020 Opened 5 years ago Closed 5 years ago

Cursor ends up in wrong spot when typing values into Betterment retirement calculator

Categories

(GeckoView :: IME, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dholbert, Assigned: m_kato)

Details

STR:

  1. Open Fenix (not sure if other versions are affected)
  2. Visit https://www.betterment.com/retirement-calculator/
  3. Tap any dollar-value field, e.g. household income
  4. Press backspace (this clears the "$0" contents)
  5. Type a few numerals (e.g. 123).
  6. (Optional) Repeat - backspace the field's contents and type a numeral

ACTUAL RESULTS
Quite often, when you type the first numeral, the caret ends up between the $ and that numeral. So subsequent numerals end up inserting before the first one, instead of after.

EXPECTED RESULTS
Cursor should stay at the end of the field, and numerals should be appended in the order you type them.

Chrome Beta is unaffected, so this is Firefox-specific (or Fenix-specific).
I'm testing on a Pixel 3 running Android 10.

Fennec is also unaffected. Not sure if that means this is a gecko regression since Fennec stalled out on its gecko version, or if this is really a Fenix frontend bug somehow.

Also: I can't reproduce in Firefox Nightly on desktop. (I tried both normal mode and RDM mode, and couldn't repro in either.)

So, this might be specific to Fenix ("Firefox Preview"). I'm using version 3.0.1 (based on Gecko 71.0-20191125..., built Monday 12/16 @ 10:55pm, according to settings|about)

This also might better belong in another component (perhaps a GeckoView component, or "DOM: forms"), but it's hard to know without knowledge of what's causing the caret to move. Probably needs a bit of JS-debugging to figure that out & identify what's actually happening when you type the first numeral in the textfield (there's clearly some magic because the site inserts a $ along with the numeral).

Set P3 for now because this is hard to reproduce on desktop.

Priority: -- → P3

Makoto has done a bunch of the GeckoView editor work, IIRC

Component: Layout: Form Controls → DOM: Editor
Flags: needinfo?(m_kato)
Priority: P3 → --

I think that this is Gboard only. I guess that this occurs that composition cannot be removed internally.

Component: DOM: Editor → General
Flags: needinfo?(m_kato)
Product: Core → GeckoView

not reproduced

  • SwiftKey
  • Hacker's Keyboard
  • Google Japanese Input
  • Wnn Keyboard
Assignee: nobody → m_kato

I believe that this already fixed by the latest GV and Fenix Nightly. Current Fenix Preview (not Nightly) uses GV71, but Nighty is GV 74.

Feel free to reopen this if this isn't fixed by Fenix Nightly.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME

Moving some cursor and key event bugs to the new GeckoView::IME component.

Component: General → IME
You need to log in before you can comment on or make changes to this bug.