Closed Bug 1980777 Opened 11 months ago Closed 8 months ago

[composable toolbar] Cursor jumps in edit mode

Categories

(Firefox for Android :: Toolbar, defect, P3)

All
Android
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox146 --- verified

People

(Reporter: michel, Assigned: petru)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group3])

Attachments

(1 file)

Steps to reproduce

  1. Visit a long URL that exceeds the width of the toolbar
  2. Tap on the URL to enter edit mode
  3. Place the cursor at the end and start typing something

Expected behavior

The cursor should always be on the right of the entered char

Actual behavior

The cursor sometimes ends up on the left of the last entered chars, just before them

Device information

  • Firefox version: -
  • Android device model: -
  • Android OS version: -

Any additional information?

Please see the attached video

This seems like a Compose bug.
Reported it here - https://issuetracker.google.com/issues/436116928.

Blocks: ct-bugs
No longer blocks: 1948591

The severity field is not set for this bug.
:royang, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(royang)
Severity: -- → S3
Flags: needinfo?(royang)
Priority: -- → P3
See Also: → 1984987
Duplicate of this bug: 1984142
Duplicate of this bug: 1989516
Whiteboard: [fxdroid][group3]
Assignee: nobody → petru
Status: NEW → ASSIGNED
Duplicate of this bug: 1993741
Duplicate of this bug: 1995476

This issue is not limited to the end of the address bar. When I keep backspace pressed to delete an overflown URL, the caret will disappear at the left side, and after releasing my finger, some text from the front will re-appear.

This should be fixed in the next Nightly by the work from bug 1994013 and related.

Depends on: 1994013
Flags: qe-verify+

I confirmed that the bug has been fixed on Nightly. It was still broken on a Nightly from a few days ago, and fixed on today's Nightly.

146.0a1 (Build #2016123015), ebd252259b1b0cb286e12edc2e14b9f483444920
GV: 146.0a1-20251028215909

To test, I tried typing lots of text, keeping backspace pressed and pasted a URL that did not fit in the location bar. Before the fix there was an obvious lag in handling/processing, with the fix the caret is at the expected positions.

Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED

Verified as fixed on the latest Firefox for Android Nightly 146.0a1 from 10/29 using a Samsung Galaxy Note 8 (Android 9), and a Pixel 6 (Android 16).

Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: