Closed Bug 1999177 Opened 6 months ago Closed 5 months ago

Cannot scroll through URL bar using caret

Categories

(Firefox for Android :: Toolbar, defect)

Firefox 147
All
Android
defect

Tracking

()

VERIFIED FIXED
147 Branch
Tracking Status
firefox145 --- unaffected
firefox146 --- verified
firefox147 --- verified

People

(Reporter: jakea, Assigned: petru)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [fxdroid][group3][composable toolbar])

Attachments

(6 files)

Attached video Demo

This appears to be a regression, as it doesn't happen in stable.

The new behaviour is the one that we get from upstream, by integrating the BasicTextField from Jetpack Compose.
Agree this is a loss in control over interacting with the url.
Opened https://issuetracker.google.com/issues/459087295 @ Google for getting an official response/workaround/fix.

An important note is that the behavior is not fully broken, users can still swipe the text to get to the very end/beginning of it. As such I'll mark this as an S3.

Severity: -- → S3
Keywords: regression
Regressed by: 1994013

Set release status flags based on info from the regressing bug 1994013

Seen on Reddit as a high frustration point in 147. Recording where it can’t scroll to the beginning https://streamable.com/oxdn6u

https://www.reddit.com/r/firefox/comments/1p9mqgj/firefox_android_marking_text_in_the_url_bar_is/

This is a bug in the upstream component we're using that Google recently said they won't fix - https://issuetracker.google.com/issues/459087295.
Will be looking for a workaround in code but until then there is a simple workaround for user interactions: scroll the text by swiping it manually left-right instead of scrolling it through the cursor.

Blocks: ct-bugs
Whiteboard: [fxdroid][group3][composable toolbar]

By using the BasicTextField version with TextFieldState instead of the one
with TextFieldValue.

Assignee: nobody → petru
Status: NEW → ASSIGNED
Pushed by imoraru@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a5862a7e7064 https://hg.mozilla.org/integration/autoland/rev/43e127c6f2be Revert "Bug 1999177 - Support cursor scroll in the composable toolbar r=android-reviewers,moyin" for causing linting failures on browser_ext_urlclassifier.js.
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch

@QA Please help check this issue is fixed and nothing got broken in the UX for entering or editing the URL/search terms.

Flags: qe-verify+

The patch landed in nightly and beta is affected.
:petru, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(petru)

Verified as implemented on the latest Firefox for Android Nightly 147.0a1 from 12/4 using a Samsung Galaxy S24 (Android 15), and a Pixel 6 (Android 16).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Duplicate of this bug: 2001290

firefox-release Uplift Approval Request

  • User impact if declined: Brings parity between the old and the new toolbar through supporting a common UX scenario: being able to scroll the currently edited URL by dragging the edit cursor to the beginning or end of said url.
    Comes to ensure that when the new toolbar is enabled through Nimbus for most users in release it would have all the expected functionality.
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: https://bugzilla.mozilla.org/show_bug.cgi?id=2001290#c0
  • Risk associated with taking this patch: medium
  • Explanation of risk level: Complex functionality verified though by QA.
  • String changes made/needed: --
  • Is Android affected?: yes
Attachment #9531967 - Flags: approval-mozilla-release?
Flags: qe-verify+

By using the BasicTextField version with TextFieldState instead of the one
with TextFieldValue.

Original Revision: https://phabricator.services.mozilla.com/D274742

petru this requires a rebased patch to release. The current patch conflicts because bug 1983833 is not in release.. Nvm I'm not sure why i was getting errors, but just kicked off a try build to make sure the linting failure wont occur when uplifted https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=168777

Attachment #9531967 - Flags: approval-mozilla-release? → approval-mozilla-release+

Verified as fixed on the latest Firefox for Android Beta 147.0b3 using a Motorola Moto G30 (Android 12), and a Lenovo TB X606X (Android 10).

Flags: needinfo?(petru)
Duplicate of this bug: 2003086

Verified on the latest RC 146.0.1 build.

The caret can be placed in any position in the URL.

Device used: Samsung Galaxy S25 Ultra (Android 15).

Marking the ticket as verified on 146 as well.

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

Attachment

General

Created:
Updated:
Size: