Backspace in URL search bar skips last character if URL autocomplete present
Closed this issue · 12 comments
Steps to reproduce
- Build
focus-android
in Android Studio or installFirefox Focus
from the Play Store - Open the app
- Tap on
SKIP
on the top left - Type
moz
into the URL search bar (the autocomplete should showilla.org
highlighted in pink) - Press backspace
- 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
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
@ekager did this commit fix any variation of the issue?
To me this seems like an issue with the autocomplete Android component.
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
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?
@pocmo I agree and removed the label release blocker but this is still high priority. Thanks for looking into it.
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.
@vesta0 just confirming this is still a high priority? #3892 (comment)
A patch for that landed in 0.37.0 and is going to be released today. Removing the a-c label.
Verified as fixed on Nightly 9.0 GV 64.
Devices: Samsung Galaxy S8 (Android 8.0), HTC Desire 820 (Android 6.0.1)