Closed Bug 1822576 Opened 3 years ago Closed 3 years ago

Search bar dropdown list glitches when very fast typing / delete

Categories

(Core :: XUL, defect)

Firefox 113
Desktop
Windows 10
defect

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox111 --- unaffected
firefox112 --- unaffected
firefox113 + fixed

People

(Reporter: alice0775, Assigned: emilio)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(2 files)

Attached image screenshot

Search bar dropdown list glitches

Steps to reproduce:

  1. Enable Search Bar
  2. Very fast typing hjhjhjhj or any word
  3. Press and hold Back Space key
  4. Repeat from step2.

Actual results:
Eventually, the dropdown does not render correctly.
The dropdown height is not properly adjusted, so the results list appears to be overlapping.

Expected Results:
The dropdown should be changed to an appropriate height depending on the number of listings.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=40a93120bacc5957b5da058bfcab903a2a184adf&tochange=aa9a63adab87ae4bdd4841965e6c26db12584f0c

:emilio, since you are the author of the regressor, bug 1822131, could you take a look? Also, could you set the severity field?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)

Alternative STR:

  1. Enable search bar.
  2. Mouse click the search bar to focus it.
  3. Without typing anything, press down arrow once to call out the search engines dropdown list.
  4. Type a letter.

This reproduces the bug more reliably for me.

Or, even simpler, click the magnifying glass icon to pop out the list and start typing.

Assignee: nobody → emilio
Flags: needinfo?(emilio)

Since we rely on the richlistbox having a fixed height with multiple
items, then measure (so shrinking breaks that measurement).

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4212646e1303 Don't allow shrinking autocomplete-richlistitems. r=Gijs
Duplicate of this bug: 1822716
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch

Immediately after this was fixed I began experiencing multiple issues related to the search bar on Nightly - including when typing fast. I filed bug 1823144

See Also: → 1823144
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: