Closed Bug 1710648 Opened 4 years ago Closed 4 years ago

[Phase 2] The QS sponsored URL flickers while typing a keyword if the website was already visited multiple times

Categories

(Firefox :: Address Bar, defect, P1)

Desktop
All
defect
Points:
2

Tracking

()

VERIFIED FIXED
90 Branch
Iteration:
90.2 - May 3 - May 16
Tracking Status
firefox89 --- verified
firefox90 --- verified

People

(Reporter: cmuntean, Assigned: adw)

References

Details

Attachments

(2 files)

Attached image flicker v2.gif

[Affected versions]:

  • Firefox Nightly 90.0a1 (Build ID: 20210511093339);

[Affected Platforms]:

  • Windows 10 x64;
  • macOS 10.15.7;
  • Linux Mint 20 x64;

[Prerequisites]:

  • Have the latest Firefox Nightly installed.
  • Have the following prefs set:
  • browser.urlbar.quicksuggest.enabled to true.
  • browser.urlbar.quicksuggest.seenRestarts to '89'.
  • browser.urlbar.quicksuggest.showedOnboardingDialog to true.
  • browser.urlbar.experimental.firefoxSuggestLabels.enabled totrue`.

[Steps to reproduce]:

  1. Open the Firefox browser with the profile from prerequisites.
  2. Navigate to "https://www.amazon.com/" website.
  3. Perform 3 different searches.
  4. Close the tab and open a new one.
  5. Start typing "amazon prime" in the Awesomebar.
  6. Delete one character at a time and observe the QS displayed while typing.

[Expected result]:

  • There is no flicker while typing the keyword.

[Actual result]:

  • The QS sponsored URL flickers while typing the keyword.

[Notes]:

  • Attached a screen recording of the issue.
  • The issue is also reproducible if the "Show search suggestions ahead of browsing history in address bar results" option is unchecked.
  • We had this issue in the past and was fixed, however, it seems that now is reproducible. Here is the old bug: Bug 1698496.

This extends the flicker-protection logic for suggested-index results to quick
suggest results. This is a narrow fix for the bug, and I've added the same TODO
that I added to the muxer in bug 1709992 D114669.

Assignee: nobody → adw
Status: NEW → ASSIGNED
Iteration: --- → 90.2 - May 3 - May 16
Points: --- → 2
Priority: -- → P1

Cosmin, so we can speed this up, could you please test the builds in the link in comment 2? They should fix bug 1710657 too.

Flags: needinfo?(cmuntean)
Blocks: 1710657

(In reply to Drew Willcoxon :adw from comment #3)

Cosmin, so we can speed this up

Just to be clear, I mean that if you have time, it would be nice to verify that the patch fixes flickering for you before we land it. We've gone through several of these flicker bugs before where I land a fix but it turns out it didn't fix some other case or caused new flicker, so we have to file new bugs and make new patches, which is a pain especially around uplift. Of course I'm trying to test as much as I can, but I often miss things.

Hi @Drew! I have verified this bug using the Nightly try build from comment 2. The flickering issue and Bug 1710657 are no longer reproducible with this build.

  • I have verified these scenarios on Windows 10 x64, macOS 10.15.7 and Ubuntu 20.04. I have also performed exploratory testing and I haven't encountered any new issues.

I will perform another round of testing as soon as the patch lands on Nighty.

Flags: needinfo?(cmuntean)
Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/55581a0b936e Prevent quick suggest results from flickering now that they don't have a suggestedIndex. r=mak
Blocks: 1711006
Summary: The QS sponsored URL flickers while typing a keyword if the website was already visited multiple times → [Phase 2] The QS sponsored URL flickers while typing a keyword if the website was already visited multiple times
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

I have verified this issue on the latest Nightly 90.0a1 build (Build ID: 20210513093303) on Windows 10 x64, macOS 10.15.7 and Ubuntu 20.04.

  • The issue is no longer reproducible with the latest Nightly build.
  • Also the behavior described in Bug 1710657 is no longer reproducible.

Comment on attachment 9221426 [details]
Bug 1710648 - Prevent quick suggest results from flickering now that they don't have a suggestedIndex.

Beta/Release Uplift Approval Request

  • User impact if declined: This will allow us to roll out phase 2 of Firefox Suggest to all en-US users on 89, not only those who have "Show search suggestions ahead of bookmarks and history" checked (the default). Without this, we'll have to wait until 90 to roll out phase 2 for users who have unchecked that preference. That would probably be OK, so this is more of a nice to have.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Please see earlier comments in this bug (should be clear)
  • List of other uplifts needed: Bug 1709992
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This is a targeted patch that only affects quick suggest results, which will only be enabled in phase 2 of the Firefox Suggest rollout.
  • String changes made/needed:
Attachment #9221426 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Flags: in-testsuite-
QA Whiteboard: [qa-triaged]

Comment on attachment 9221426 [details]
Bug 1710648 - Prevent quick suggest results from flickering now that they don't have a suggestedIndex.

Approved for 89.0b13.

Attachment #9221426 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

I have verified this issue on the latest Beta 89.0b13 on Windows 10 x64, macOS 10.15.7 and Linux Mint 20.

  • The issue is not reproducible with the latest Beta 89.0b13.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
See Also: → 1713140
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: