Very often, when I type something to search, a wrong page to the latest autocompleted website from my history opens instead
Categories
(Firefox for Android :: Toolbar, defect)
Tracking
()
People
(Reporter: julienw, Assigned: petru)
References
Details
(Keywords: regression)
Attachments
(5 files)
Steps to reproduce
- Make sure you have some webpages in your history.
- In the address bar, try to search something, but make sure the first few letters will trigger an autocomplete at some point.
- After typing the full search string, press enter
=> Notice that the page to the latest autocompleted page opens, instead of my search
For example at step 1, type https://www.parc-livradois-forez.org/
at step 2, type "parc "
Notice that before the final space, the previous website is completed, but if you type the space it disappears. Still pressing enter will visit it.
I can wait anytime after pressing the space, it will still go to the website.
However if I wait a bit, then press any other character after that, then this will go to search instead.
Also if I press more character than just "parc ", for example "parc de la vill", it will very often to go the website https://www.parc-livradois-forez.org/ instead of searching, but sometimes it will search.
I noticed a few things:
- if I press the backspace key at one point, then it never goes to the website and goes to search always
- I couldn't pinpoint exactly the cases where it is 100% reproducible. I think the STR above makes it 100% reproducible for me.
Device information
- Firefox version: 147 (nightly from 10/11/2025) but this happens for maybe 2 weeks for me so 146 is also affected. I'm not sure for 145 but I'd say it's not.
- Android device model: S12e
- Android OS version: 12
| Reporter | ||
Comment 1•2 months ago
|
||
[Tracking Requested - why for this release]: this is a very painful bug
Updated•2 months ago
|
Comment 2•2 months ago
|
||
The bug is marked as tracked for firefox147 (nightly). However, the bug still isn't assigned.
:royang, could you please find an assignee for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit BugBot documentation.
| Reporter | ||
Updated•2 months ago
|
| Assignee | ||
Comment 3•2 months ago
|
||
Hello,
Can you post a video of the issue?
Trying it in Nightly I can't reproduce.
| Assignee | ||
Comment 4•2 months ago
|
||
Asking also for QA's help in finding steps to reproduce.
| Assignee | ||
Comment 5•2 months ago
|
||
Speculative fix to avoid a potential race condition between updated autocomplete
suggestions and the query edited by user to ensure that the right text is commited
when pressing Go on the keyboard.
Updated•2 months ago
|
| Assignee | ||
Comment 9•2 months ago
|
||
Thank you for this!
Based on the recording it seems like royalsociety.org was the last shown autocomplete suggestion in the address bar before being used instead of the typed text.
Think this scenario will be fixed by the patch we just merged.
Comment 10•2 months ago
|
||
| bugherder | ||
Comment 11•2 months ago
|
||
:petru do you think this low-risk to uplift to beta?
| Assignee | ||
Comment 12•2 months ago
|
||
This is low risk but since I was not able to reproduce it I'd wait on uplifting until getting a confirmation that the issue was fixed in the current Nightly.
@Julien / QA Can you confirm?
| Reporter | ||
Comment 13•2 months ago
|
||
I think this is fixed but it's hard to say for sure, given that this isn't happening always. But I think I didn't see the issue for some time now.
Comment 14•2 months ago
|
||
Verified on the latest Nightly 147.0a1 (24.11.2025) using Google Pixel 10 (Android 16), Google Pixel 3 XL (Android 9), and Motorola Moto G72 (Android 13). The issue could not be reproduced on any of these devices.
Please note that we were also unable to reproduce the bug on older builds.
Comment 15•2 months ago
|
||
:petru, this is the last week of beta for Fx146. There are only two beta builds left, if this is safe for a beta uplift request or should ride the train with Fx147
| Assignee | ||
Comment 16•2 months ago
|
||
Speculative fix to avoid a potential race condition between updated autocomplete
suggestions and the query edited by user to ensure that the right text is commited
when pressing Go on the keyboard.
Original Revision: https://phabricator.services.mozilla.com/D273262
(cherry picked from commit b80d5c5f9fc018dbb3b6bd4d652aaa7933dcd5c4)
Updated•2 months ago
|
| Assignee | ||
Comment 17•2 months ago
|
||
(In reply to Donal Meehan [:dmeehan] from comment #15)
:petru, this is the last week of beta for Fx146. There are only two beta builds left, if this is safe for a beta uplift request or should ride the train with Fx147
Thank you!
Patch is safe and seems to have fixed things so we'd definitely want it uplifted, added a request now.
Comment 18•2 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: Sometimes the autocomplete suggestion from the addressbar is loaded instead of the user query.
- 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=1999634#c0
- Risk associated with taking this patch: low
- Explanation of risk level: Small targeted patch confirmed by QA to not cause issues.
- String changes made/needed: --
- Is Android affected?: yes
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Comment 19•2 months ago
|
||
| uplift | ||
Comment 20•2 months ago
|
||
I was not able to reproduce this issue on the affected builds, but I can confirm that the search is working as expected on Firefox 146 beta 8 using all 3 search engines (Google, Bing and DuckDuckGo) on Google Pixel 10 Pro (Android 16) and Lg G7 Fit (Android 9).
Updated•2 months ago
|
Description
•