Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Backspace in URL search bar skips last character if URL autocomplete present #3892

Closed
rickydam opened this issue Nov 13, 2018 · 12 comments · Fixed by #4139
Closed

Backspace in URL search bar skips last character if URL autocomplete present #3892

rickydam opened this issue Nov 13, 2018 · 12 comments · Fixed by #4139
Assignees
Labels
a-c Needs Android Components work bug QAApproved size S 1 day or less of work
Milestone

Comments

@rickydam
Copy link

Steps to reproduce

  1. Build focus-android in Android Studio or install Firefox Focus from the Play Store
  2. Open the app
  3. Tap on SKIP on the top left
  4. Type moz into the URL search bar (the autocomplete should show illa.org highlighted in pink)
  5. Press backspace
  6. Press backspace again

Expected behavior

The first backspace erases the z and the second backspace erases the o.
The URL search bar should now show m.

Actual behavior

The first backspace skips the z and the second backspace erases the o.
The URL search bar now shows mz.

Device information

  • Android device: OnePlus5T, Oreo 8.1.0
  • Focus version: 7.0.13 (Latest Play Store version as of Nov 13, 2018) and v8.0 build#11

Extra information

  • Keyboard: Gboard v7.7.12.219989447-release-arm64-v8a (Latest Play Store version as of Nov 13, 2018)
  • All my autocorrect options are off except auto-capitalisation.

Would you like to turn on search suggestions? pop up by Firefox Focus is there and left untouched.

Different but related to closed issue #778 and closed pull request #2304

Video: https://drive.google.com/file/d/1vlAPMb1N7O1MdVOzL80ZWMq_mNoCRwB1/view?usp=sharing

@vesta0 vesta0 added the P3 label Nov 13, 2018
@vesta0 vesta0 added this to the Backlog (P2, P3) milestone Nov 13, 2018
@vesta0 vesta0 added the bug label Nov 13, 2018
@ekager
Copy link
Contributor

ekager commented Nov 15, 2018

Ah at first I thought this was the same as #778, but now I'm understanding what you're seeing.

The cursor goes to the wrong position when you press delete after it has autocompleted. I think this is a release blocker.

@vesta0 I'm moving this to a P1.

ekager added a commit to ekager/focus-android that referenced this issue Nov 15, 2018
@ghost ghost assigned ekager Nov 15, 2018
@ghost ghost added review and removed P1 labels Nov 15, 2018
@vesta0 vesta0 modified the milestones: Backlog (P2, P3), v8.0 Release Nov 15, 2018
@ghost ghost removed the review label Nov 15, 2018
@sv-ohorvath
Copy link
Contributor

I can still reproduce this on Nightly & Beta 8.0.1 if I turn off everything related to Gboard auto-correct. If they are on, this doesn't happen.
Recording

@sv-ohorvath sv-ohorvath reopened this Nov 23, 2018
@ekager ekager removed their assignment Nov 26, 2018
@sblatz sblatz self-assigned this Nov 27, 2018
@sblatz
Copy link
Contributor

sblatz commented Nov 27, 2018

@ekager did this commit fix any variation of the issue?

To me this seems like an issue with the autocomplete Android component.

@sblatz
Copy link
Contributor

sblatz commented Nov 27, 2018

I confirmed this is an android component issue, as I'm able to reproduce on the reference browser. Filed here: mozilla-mobile/android-components#1489

@pocmo
Copy link
Contributor

pocmo commented Nov 27, 2018

Quick question about the priority: Since this seems to be confirmed for both 8.0 and the already released 7.0.x (and I wouldn't be surprised if earlier versions too): Is this indeed a release blocker?

@sblatz
Copy link
Contributor

sblatz commented Nov 27, 2018

Good point, @pocmo. Pinging @vesta0.

@vesta0
Copy link
Collaborator

vesta0 commented Nov 27, 2018

@pocmo I agree and removed the label release blocker but this is still high priority. Thanks for looking into it.

@vesta0 vesta0 removed this from the v8.0 Release milestone Nov 30, 2018
@mcomella
Copy link
Contributor

mcomella commented Jan 3, 2019

We spoke to Arturo: someone in SF will take care of this because we need to be able to test any fix on Echo Show as well.

@Sdaswani
Copy link

Sdaswani commented Jan 3, 2019

@vesta0 just confirming this is still a high priority? #3892 (comment)

@vesta0
Copy link
Collaborator

vesta0 commented Jan 3, 2019

@Sdaswani @mcomella yes it is. I didn't consider it to be a release blocker but it is definitely high priority and needs to be fixed. Thank you!

@vesta0 vesta0 added the size S 1 day or less of work label Jan 4, 2019
@pocmo
Copy link
Contributor

pocmo commented Jan 8, 2019

A patch for that landed in 0.37.0 and is going to be released today. Removing the a-c label.

@pocmo pocmo removed the a-c Needs Android Components work label Jan 8, 2019
@vesta0 vesta0 added the a-c Needs Android Components work label Jan 11, 2019
@ghost ghost removed the In Progress label Jan 16, 2019
@sv-ohorvath
Copy link
Contributor

Verified as fixed on Nightly 9.0 GV 64.
Devices: Samsung Galaxy S8 (Android 8.0), HTC Desire 820 (Android 6.0.1)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a-c Needs Android Components work bug QAApproved size S 1 day or less of work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants