Fenix: [Bug] tap and drag to select text is crazy

Created on 24 Sep 2020  ·  8Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

As explained in https://github.com/mozilla-mobile/fenix/issues/10618#issuecomment-697107024:

  1. Tap and hold any text.
  2. Drag to another part of the paragraph to select text.

Expected behavior

Select text range, just like any other app.

Actual behavior

Firefox selects just one word, and then you need to use the handles to select the rest.. and it works weird because the nav bar moves.

Device information

  • Android device: SM-T720
  • Fenix version: 81.1.1 (Build #2015764547)
triage 🐞 bug

Most helpful comment

See it in action. Left side is Samsung browser 12.1.2.5. Right side is Firefox 81.1.1 (Build #2015764547).

ezgif com-video-to-gif

All 8 comments

See it in action. Left side is Samsung browser 12.1.2.5. Right side is Firefox 81.1.1 (Build #2015764547).

ezgif com-video-to-gif

Can you check with Nightly? There are some touch scrolling fixes that might improve this situation. I did a quick check on Pixel 2XL running Nightly and did not see the address bar move with the text selection handles for me on https://paste.mozilla.org

I just tested. It's much better as it doesn't seem so crazy, but it is still away from normal Android experience.

Firefox selects just one word, and then you need to use the handles to select the rest..

This still happens.

and it works weird because the nav bar moves.

This is fixed.

Selecting one word is standard Android behavior - it's also what chrome, gmail, and other android apps do. Will close since the navbar dragging is fixed, and the others are Android behavior.

Nope. On any other Android app, this is what you do with your finger to select a text range:

  1. Tap on the word
  2. Hold
  3. Drag
  4. Release

Firefox needs:

  1. Tap
  2. Hold
  3. Release
  4. Tap on the handle
  5. Hold
  6. Drag
  7. Release

It's obviously not standard. Just check the Samsung browser part of https://github.com/mozilla-mobile/fenix/issues/15391#issuecomment-698421694.

Chrome on Android 8:
a67a41d8-49bb-4e7e-b4b9-6a60db3ede8a

Apps usually allow you to select more than 1 word.

Sorry about that! Let me move this to our GeckoView team to see what we can do there.

Was this page helpful?
0 / 5 - 0 ratings