Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Address bar doesn't search history

  • 6 respostas
  • 2 têm este problema
  • 1 visualização
  • Última resposta por somename5733

more options

My wife's Firefox isn't showing search results from her history when typing in the address bar. In fact, nothing is being displayed when typing in the address bar. You can still search via Google by hitting Enter, but the autocomplete doesn't show/work.

I've tried:

  • Checking the settings (confirming they're enabled, disabling them, restarting FF, enabling them, restarting FF)
  • Restarting with add-ons disabled
  • Exporting and re-importing bookmarks
  • Renaming 'places.sqlite' and restarting
  • Creating a new FF profile, signing into FF Sync to import her bookmarks, etc.

Nothing works. The address bar autocomplete simply doesn't work. Advice much appreciated!

My wife's Firefox isn't showing search results from her history when typing in the address bar. In fact, nothing is being displayed when typing in the address bar. You can still search via Google by hitting Enter, but the autocomplete doesn't show/work. I've tried: * Checking the settings (confirming they're enabled, disabling them, restarting FF, enabling them, restarting FF) * Restarting with add-ons disabled * Exporting and re-importing bookmarks * Renaming 'places.sqlite' and restarting * Creating a new FF profile, signing into FF Sync to import her bookmarks, etc. Nothing works. The address bar autocomplete simply doesn't work. Advice much appreciated!

Modificado por BWPanda a

Solução escolhida

Ok, I figured it out.

I setup a new profile, confirmed autocomplete worked. I then copied `places.sqlite` from the main profile to the new one and checked again - still worked (restarted FF in-between). I did this for everything that FF Sync was syncing (e.g. bookmarks, extensions, passwords, etc.). I manually copied these things from the main profile to the new, checking after each one to see if the autocomplete still worked or not. It did, until I copied `prefs.js`, then it stopped working. So I had found the suspect.

Then I opened `prefs.js` and searched for 'bar' (since I'd read somewhere before in my previous research into this issue about a setting with 'bar' in the name that had something to do with this). For each setting, I reset the value in the main profile (via `about:config`) and then checked to see if the autocomplete worked or not. It started working after I reset the value for the `browser.urlbar.maxRichResults` setting (the current value that caused the issue was `0`, the default value that works is `10`). I'm not sure how/why this got set to `0`, and I can't find this setting in the UI, but at least I found the issue and it's working properly again.

Ler esta resposta no contexto 👍 0

Todas as respostas (6)

more options

Wow, people work hard to get that effect every time Firefox updates. They have to use userscripts to do so, edit them almost every update, and make sure a special about:config preference is toggled on.

Had you tested with an empty profile? Syncing may possibly be importing a problematic thing from the old profile into the new profile.

(Also, would this be the Windows 10 machine with the Firefox problem? Just checking to be sure.)

more options

I hadn't tested with an empty profile before, but I just created a new profile and the address bar does indeed work as expected in that case. So it does seem that something in the synced data is causing the issue...

Yes, the problem is on my wife's Windows 10 machine running Firefox (I'm just posting these comments from my Linux machine running Brave).

more options

I don't do Sync, so i don't know all what it syncs between profiles, but you should be able to import bookmarks and passwords without problems.

If importing bookmarks does cause the issue, you can export them as html from the old profile, and import that into the new profile.

more options

Solução escolhida

Ok, I figured it out.

I setup a new profile, confirmed autocomplete worked. I then copied `places.sqlite` from the main profile to the new one and checked again - still worked (restarted FF in-between). I did this for everything that FF Sync was syncing (e.g. bookmarks, extensions, passwords, etc.). I manually copied these things from the main profile to the new, checking after each one to see if the autocomplete still worked or not. It did, until I copied `prefs.js`, then it stopped working. So I had found the suspect.

Then I opened `prefs.js` and searched for 'bar' (since I'd read somewhere before in my previous research into this issue about a setting with 'bar' in the name that had something to do with this). For each setting, I reset the value in the main profile (via `about:config`) and then checked to see if the autocomplete worked or not. It started working after I reset the value for the `browser.urlbar.maxRichResults` setting (the current value that caused the issue was `0`, the default value that works is `10`). I'm not sure how/why this got set to `0`, and I can't find this setting in the UI, but at least I found the issue and it's working properly again.

more options

Nice detective work!

Thanks for reporting your solution and marking it.

more options

I switched off search suggestions and increased browser.urlbar.maxRichResults and it worked out, thanks!