Closed Bug 2010941 Opened 8 months ago Closed 8 months ago

Autofill suggests urls that aren't relevant to the user

Categories

(Firefox :: Address Bar, defect, P1)

defect

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox147 + wontfix
firefox148 + fixed
firefox149 + fixed

People

(Reporter: jteow, Assigned: jteow)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [sng])

Attachments

(4 files)

A number of users on Reddit have reported seeing a high number of autofill suggestion of a URL they rarely visit.

One way we can mitigate this is by :mak's suggesting de-emphasizing not-typed links:

SELECT SUM(f) FROM (
            SELECT CAST(MAX(h.frecency) * CASE MAX(h.typed) WHEN 0 THEN 0.5 ELSE 1 END AS INTEGER) AS f
            FROM moz_places h
            WHERE origin_id = moz_origins.id
            AND last_visit_date >
              strftime('%s','now','localtime','start of day',
                       '-90 day','utc') * 1000000
            GROUP BY date(last_visit_date / 1000000, 'unixepoch')
          )

As I suspect most of the issue is interstitial pages, or anyway pages that the user is less likely to type/pick/remember.

Duplicate of this bug: 2011183
Duplicate of this bug: 2009430

James, given all this feedback is recent, is that a regression and if it is, what is the regressor? Thanks

Flags: needinfo?(jteow)
Blocks: 2010694
Flags: needinfo?(jteow)
Keywords: regression
Regressed by: 2001284
Duplicate of this bug: 2011515
Attachment #9538285 - Attachment description: Bug 2010941 - Penalize non-typed urls in calculating origins threshold - r?mak! → Bug 2010941 - Part 1: Autofill origins only when they are typed - r?mak!

The bug is marked as tracked for firefox147 (release), tracked for firefox148 (beta) and tracked for firefox149 (nightly). However, the bug still has low severity.

:cbellini, could you please increase the severity for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(cbellini)
Attachment #9539011 - Attachment description: Bug 2010941 - Part 2: Fix tests - r?mak! → WIP: - Bug 2010941 - Part 2: Fix tests - r?mak!
Attachment #9539011 - Attachment description: WIP: - Bug 2010941 - Part 2: Fix tests - r?mak! → Bug 2010941 - Part 2: Fix tests - r?mak!
Pushed by nfay@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c3e66f22bef8 https://hg.mozilla.org/integration/autoland/rev/1ece16b1f0a5 Revert "Bug 2010941 - Part 2: Fix tests - r=mak,urlbar-reviewers,places-reviewers" for causing bc failures @ browser_move_tab_to_new_window.js

Backed out for causing bc failures @ browser_move_tab_to_new_window.js

Backout link

Push with failures

Failure log

Flags: needinfo?(jteow)
Flags: needinfo?(jteow)
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [search] [qa-triage-done-c149/b148][qa-ver-needed-c149/b148]

The patch landed in nightly and beta is affected.
:jteow, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(jteow)
Duplicate of this bug: 2010694

There's a strong chance we'll uplift this to Beta but we're going to wait a bit more time to see if there are any issues that pop-up as a result of the change.

I also think S3 is a sufficient evaluation.

Flags: needinfo?(jteow)
Flags: needinfo?(cbellini)
Duplicate of this bug: 2013581
Attachment #9541813 - Flags: approval-mozilla-beta?
Attachment #9541814 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined: On Release we found users often saw autofill results that were not relevant to them. This patch adjusts the algorithm and makes it less likely for origins matching URLs that were rarely visited and only through link clicks to appear more frequently than other origins that were typed more often in the address bar.
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: While we do need to recalculate rows in the moz_origins database which affects the autofill user experience, we saw no spike of related bugs following the patch landing in Nightly. While tweaking autofill does have an impact to UX of the address bar, a regression would probably come from the form of less ideal suggestions as opposed to something that is completely broken.
  • String changes made/needed: No.
  • Is Android affected?: no
Attachment #9541814 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9541813 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Duplicate of this bug: 2013537
Duplicate of this bug: 2013703
Duplicate of this bug: 2014051
Duplicate of this bug: 2014855
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: