Closed Bug 1637746 Opened 4 years ago Closed 1 year ago

AutoComplete for URLs isn't working. (urlbar)

Categories

(Firefox :: Address Bar, defect, P2)

77 Branch
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: dai5, Unassigned)

References

(Depends on 2 open bugs)

Details

Attachments

(1 file)

Attached image Example of my problem (deleted) —

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15

Steps to reproduce:

I can reproduce by following these steps:

  1. Type visir.is in the URL bar and select the top link in the suggested list (highlighted in attachment)
  2. Close the tab, open a new one and type in "v".

Actual results:

Visir.is as previously visited does not appear or is auto-completed in the URL bar unless typing in the full address (visir.is). Then I'll have the same results as the very first time I typed "visir.is".

Expected results:

As soon as I typed in "v" I expected "visir.is" to be autocompleted as it's the only website starting with "v" that I have visited.

However, if I type in "visir.is" again and select the 3rd link in the suggested list (see attachment), close the tab, open a new one and type in "v" then "visir.is" is auto-completed.

In the attached file, there are 3 links. First is visir.is (http!), second is a google search with the param "visir.is" and the 3rd link is visir.is (https).

By entering "visir.is" with the 3rd link (the https) then autocomplete works. The default link is http, it redirects to https but doesn't auto-complete. I don't know why http is the default suggested link.

This happens with various domains, another example is "mbl.is".

Hi, dai5!

Thanks for your contribution!

Maybe I am misunderstanding the issue but I assume to get the URL saved you have to use the entire URL at least once but if you use the first highlighted option for google as you mentioned it works as a suggestion and it will not be saved as you've entered on the site. If you use the highlighted option it will not get saved on the URL bar but it will remain highlighted on your google search as an already used site.

Please let us know if this issue is reproduced in the latest Nightly edition. You can download it from here: https://nightly.mozilla.org/

If you still have the issue please create a new profile, you have the steps here: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager
support.mozilla.orgsupport.mozilla.org

Once you have all this information, please let us know so we can continue investigating.

Regards,

Flags: needinfo?(dai5)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Address Bar

We autofill (complete inline) when the page has been visited a sufficient amount of times to surpass a threshold, one visit may not be enough, though if you Star/Bookmark the page, we autofill it immediately.
Does this help?

(In reply to Marco Bonardo [:mak] from comment #3)

We autofill (complete inline) when the page has been visited a sufficient amount of times to surpass a threshold, one visit may not be enough, though if you Star/Bookmark the page, we autofill it immediately.
Does this help?

No I don't think that's it, I used Firefox for years and it would never autofill various websites I visit 20 times a day - the problem seems to be that it will never (in my experience) autofill http websites, but when I go to the same website via. https it will immediately autofill that website. No threshold, I go there once and it will autofill.

In my case, when I visit google.com for the first time the urlbar will suggest https://google.com and later when I type in "g" in the urlbar it will autofull "google.com". When I visit visir.is and mbl.is it will suggest http://visir.is and http://mbl.is. It will never autofill "visir.is" if I type in "v" (or "m" for mbl.is).

The problem seems to be that for some reason the first suggestions to both these websites is via http, not https. If I go to the 3rd suggestion (see attachment) it will autofull the next time I type on the first letter for both websites because the 3rd suggestion is https.

I've been able to reproduce this issue on various computers, various versions of Firefox and on Windows, MacOS and Ubuntu.

Flags: needinfo?(dai5)

Ok, that is strange, but I can reproduce the bug. We should investigate what's up, I tried monitoring scores and these entries don't seem to build up a score very fast (I pretty much never see the typed bonus). After a few visits I'm still at 150 for http:// and 300 for https://www.
I suspect it's related to the fact http redirects to https://www, end then we end up in one of the autofill bugs where either we don't count www (bug 1630431) or we don't manage redirects properly (bug 1493543)

This is likely a dupe of bug 1493543, but let's keep both as examples for now.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Depends on: 1630431, 1493543
Ever confirmed: true
Priority: -- → P2

Judging by what you said about managing redirects mak, I think I might be having this bug with gamepedia.com, since most wiki domains on that site instantly redirect to a sub page of the site... do subpages count toward the domain autofill score?
currently experiencing a similar problem with trying to get "autonauts.gamepedia.com" to autofill, though it's possible I haven't visited enough yet, depending on the exact threshold. I'd like to check the score to see if that's the case, but how do you do that?

Flags: needinfo?(mak)

(In reply to Phillip M. from comment #6)

do subpages count toward the domain autofill score?

Yes, if they are on the same domain, and not on a subdomain.

To enforce autofill for a domain anyway it is sufficient to bookmark even just a single page of that domain.

Flags: needinfo?(mak)

I'm not sure if these are duplicates.
I don't see unpopular URLs working flawlessly being mentioned here.

Edge, Chrome, Brave:
Visit tiktok.com - open new tab, start typing "t" - gets autocompleted to tiktok.com.

Firefox:
Visit tiktok.com - open new tab, start typing "t" - nothing.
(Erroneously) visit tiktik.com - open new tab, start typing "t" - gets autocompleted to tiktik.com from now on.

I'm not sure what you mean, but typing a url once and having it autofill would only work in an empty new profile, the system is based on a threshold and on a decently aged profile the problem should not exist. In an empty profile it's missing some training.

In response to Marco Bonardo's comment #3, it appears that the autofill feature in Firefox does not work for certain http websites unless the page has been visited a certain number of times, or has been bookmarked. However, from my experience, when I access a website via https it will immediately autofill without needing to visit the page multiple times. For example, when I visit google.com for the first time, the urlbar will suggest https://google.com and later when I type in "g" in the urlbar it will autofill "google.com". Similarly, when I visit visir.is and mbl.is it will suggest http://visir.is and http://www.thebestfishfinder.com , but it will never autofill "visir.is" if I type in "v" (or "m" for mbl.is).

This works as designed, but we are working towards improvement of the scoring approach.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: