Closed Bug 1933696 Opened 1 year ago Closed 1 month ago

genius.com - Unable to fully type when suggestions are still loading

Categories

(GeckoView :: IME, defect, P2)

ARM
Android
defect

Tracking

(Webcompat Priority:P2, Webcompat Score:6, firefox147 verified)

VERIFIED FIXED
147 Branch
Webcompat Priority P2
Webcompat Score 6
Tracking Status
firefox147 --- verified

People

(Reporter: rbucata, Unassigned)

References

()

Details

(Keywords: inputmethod, webcompat:platform-bug, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs][webcompat:sightline])

User Story

platform:android
impact:annoyance
configuration:general
affects:all
branch:release
diagnosis-team:dom
user-impact-score:300

Attachments

(2 files)

Environment:
Operating system: Android
Firefox version: Firefox 110.0

Steps to reproduce:

  1. Navigate to: https://genius.com/
  2. Tap on the search bar
  3. Once prompted, type a sentence and observe

Expected Behavior:
Typing works correctly

Actual Behavior:
Typing shows issues if the suggestions are not loaded completely

Notes:

  • Reproduces regardless of the status of ETP
  • Reproduces in firefox-nightly, and firefox-release
  • Does not reproduce in chrome

Created from https://github.com/webcompat/web-bugs/issues/119275

Attached video Chr vs FF

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Whiteboard: [webcompat-source:web-bugs] → [webcompat-source:web-bugs][webcompat:sightline]
Severity: -- → S4
User Story: (updated)

I chased this all the way up to here https://searchfox.org/mozilla-central/rev/d4235354139ae0da3b15b89943b140b510a74f2f/widget/android/GeckoEditableSupport.h#149 and noticed we missed some ::OnNativeCall, so we missed some characters when typing. Then this seems to relate to how native events are dispatched on Android?

Masayuki, do you have ideas about this? I could ask the android folks to take a look if this is not something for DOM.

Flags: needinfo?(masayuki)

Android specific IME part is maintained by Makoto-san. Makoto-san, do you have any ideas?

Flags: needinfo?(masayuki) → needinfo?(m_kato)
Keywords: inputmethod

As long as I looking video, text selection is updated incorrectly. But I cannot reproduce this... I have to find reproducing way.

Flags: needinfo?(m_kato)

Thanks for looking this Makoto-san.

I can reproduce this quite easily, just typing fast. For example, if I type helo, the last o often got eaten by something...Let me know if you want me to generate something for you.

For the purpose of triaging this, given I don't see evidences that the site does something wrong, so I'll label this as a platform bug for now.

I can reproduce this with either ATOK Pro or Gboard.

When I type text with ATOK Pro, the composition string was forcibly committed when (?) the throbber appears. Could be caused by focus handling?

Webcompat Priority: --- → P2
Webcompat Score: --- → 6

Geckoview::IME seesm to be a good component for start.

Component: Site Reports → IME
Product: Web Compatibility → GeckoView
User Story: (updated)
User Story: (updated)
Flags: needinfo?(m_kato)

This will be fixed by bug 1995911. Content has a lot of child documents, so GeckoEditable tries to reset keyboard from GeckoEditableSupport::TransferParent per finishing to create a child document.

Flags: needinfo?(m_kato)
Status: NEW → RESOLVED
Closed: 3 months ago
Duplicate of bug: 1995911
Resolution: --- → DUPLICATE

REOPENING because we're generally keeping site issue bugs separate for each site and not duping them. I've added a dependency instead.

Status: RESOLVED → REOPENED
Depends on: 1995911
No longer duplicate of bug: 1995911
Resolution: DUPLICATE → ---
Status: REOPENED → RESOLVED
Closed: 3 months ago3 months ago
Resolution: --- → FIXED

We can close it as fixed when the problem is confirmed fixed on nightly

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

After landing bug 1995911, composing text isn't committed during inputting a text. (Before that such as Firefox beta, when starting search, text is often committed)

Status: REOPENED → RESOLVED
Closed: 3 months ago2 months ago
Resolution: --- → FIXED

Verified as FIXED using RC Build fenix android-arm64-v8a

Tested with:

Browser / Version: Firefox 146.0 Build 2016129538
Operating System: Google Pixel 3 (Android 12) -1080 x 2160 pixels, 18:9 ratio (~443 ppi density)
Operating System: Oppo Find X5 (Android 13) - 1080 x 2400 pixels, 20:9 ratio (~402 ppi density)

Status: RESOLVED → VERIFIED

I'm a bit confused - bug 1995911 landed in 147 but this was verified as fixed in 146?

Flags: needinfo?(rbucata)

This bug had no milestone set, so when we are doing a re-verification with the RC Build, if it has the current version fixed (146 in our case) we are acting accordingly.

Flags: needinfo?(rbucata)

Right, but my point is that if bug 1995911 is what was expected to fix this, 146 should still reproduce. Working correctly on 146 isn't the expected result.

Flags: needinfo?(rbucata)
Flags: needinfo?(m_kato)

Correct, I can still see a delay in 146 RC Build. I've missed that, sorry about the confusion

Flags: needinfo?(rbucata)
Status: VERIFIED → RESOLVED
Closed: 2 months ago2 months ago
Target Milestone: --- → 147 Branch

I've re-edited the report and added the 147 milestone. Please feel free to modify as you see fit, if it is not correct.

Flags: needinfo?(ryanvm)

Sounds like the bug should be reopened then unless it's been verified on a Nightly 147 build...

Status: RESOLVED → REOPENED
Flags: needinfo?(m_kato)
Resolution: FIXED → ---
Target Milestone: 147 Branch → ---
Flags: needinfo?(ryanvm)

Raul, can you confirm it's been fixed in 147?

Flags: needinfo?(rbucata)

The latest Beta for Firefox Android works as expected, version 147b2. When typing, the caret does not jump, and words are typed correctly while suggestions are loading

Flags: needinfo?(rbucata)
Status: REOPENED → RESOLVED
Closed: 2 months ago1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch

Verified, the issue no longer reproduces.

Tested with:

  • Browser / Version: Fenix 147.0-candidate build 1
  • Operating System: Google Pixel 5 (Android 14)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: