Closed Bug 551185 Opened 15 years ago Closed 15 years ago

autocomplete search results are empty when list is scrolled

Categories

(Firefox for Android Graveyard :: General, defect)

Fennec 1.1
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: aakashd, Assigned: vingtetun)

Details

Attachments

(1 file, 1 obsolete file)

Build Id: Mozilla/5.0 (X11; U; Linux armv7l; Nokia N900; en-US; rv:1.9.2.2pre) Gecko/20100309 Namoroka/3.6.2pre Fennec/1.1a2pre and Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.3a2pre) Gecko/20100309 Namoroka/3.7a2pre Fennec/1.1a2pre Steps to Reproduce: 1. Open the awesome bar 2. search for "moz" 3. clear the search string 4. scroll the awesome bar until the see all bookmarks row entry is not visible 5. type in "moz" again Actual Results: The number of results go from 2 to 3 Expected Results The number of results should not lower if the list is scrolled.
Flags: in-litmus?
Vivien, can you take a look at this?
Attached patch Patch (obsolete) — Splinter Review
This is a regression we have done for performance reason a few month ago, while investigating why the awesome panel was so slow to show and discover that checking and setting the position into invalidate was slow (bug 513949)
Assignee: nobody → 21
Attachment #431827 - Flags: review?(mark.finkle)
Attachment #431827 - Flags: review?(gavin.sharp)
Comment on attachment 431827 [details] [diff] [review] Patch >diff -r d5b24ba0dd28 chrome/content/browser.xul > flex="1" >+ oninput="this.popup.scrollToTop()" Is there somewhere in the XBL we can put this call?
Attached patch Patch v0.2Splinter Review
(In reply to comment #3) > (From update of attachment 431827 [details] [diff] [review]) > >diff -r d5b24ba0dd28 chrome/content/browser.xul > > flex="1" > >+ oninput="this.popup.scrollToTop()" > > Is there somewhere in the XBL we can put this call? yep. This is address as an <handler/> in this patch
Attachment #431827 - Attachment is obsolete: true
Attachment #432567 - Flags: review?(mark.finkle)
Attachment #432567 - Flags: review?(gavin.sharp)
Attachment #431827 - Flags: review?(mark.finkle)
Attachment #431827 - Flags: review?(gavin.sharp)
Attachment #432567 - Flags: review?(mark.finkle) → review+
Comment on attachment 432567 [details] [diff] [review] Patch v0.2 Hmm, so this undoes the optimization from bug 513949 for the typing case, but I guess we need to do that for correctness. I guess we don't want to just back out bug 513949 because it still helps first-open of the awesomebar? (i.e. invalidate() is called in that case, but the input handler isn't)
Attachment #432567 - Flags: review?(gavin.sharp) → review+
(In reply to comment #5) > (From update of attachment 432567 [details] [diff] [review]) > Hmm, so this undoes the optimization from bug 513949 for the typing case, but I > guess we need to do that for correctness. So it seems > I guess we don't want to just back out bug 513949 because it still helps > first-open of the awesomebar? (i.e. invalidate() is called in that case, but > the input handler isn't) Yeah, initial open can still benefit from bug 513949
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
litmus testcase https://litmus.mozilla.org/show_test.cgi?id=11621 has been created to regression test this bug.
Flags: in-litmus? → in-litmus+
verified FIXED On builds: Mozilla/5.0 (X11; U; Linux armv7l; Nokia N900; en-US; rv:1.9.2.2pre) Gecko/20100317 Namoroka/3.6.2pre Fennec/1.1a2pre and Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.3a3pre) Gecko/20100317 Namoroka/3.7a3pre Fennec/1.1a2pre
Status: RESOLVED → VERIFIED
tracking-fennec: ? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: