Closed Bug 699155 Opened 14 years ago Closed 14 years ago

Tabs list ordering

Categories

(Firefox for Android Graveyard :: General, defect, P2)

defect

Tracking

(firefox11 fixed, fennec11+)

VERIFIED FIXED
Tracking Status
firefox11 --- fixed
fennec 11+ ---

People

(Reporter: wesj, Assigned: sriram)

Details

Attachments

(1 file)

Playing with context menus, I've opened links in background tabs and noticed that they often appear in the tabs list "out of order". I think maybe the simplest things is just to ensure that tabs show up in the order they were opened.
Assignee: nobody → sriram
Attached patch PatchSplinter Review
This patch gets the Tabs list in order and uses it for populating the list. HashMap doesnt always preserve the order. Also, the values are copied into list's adapter. Having a reference can cause problems. Hence the values have to be copied.
Attachment #571567 - Flags: review?(mark.finkle)
Comment on attachment 571567 [details] [diff] [review] Patch I don't see any users of the HashMap getTabs call. Maybe we should just make getTabs return the ArrayList?
Attachment #571567 - Flags: review?(mark.finkle) → review+
I too looked at the same. I thought of cleaning up Tabs along with changes that Lucas had proposed -- making it a normal class and not a singleton.
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
20111103121050 http://hg.mozilla.org/projects/birch/rev/d479ad392377 Samsung Nexus S (Android 2.3.6)
Status: RESOLVED → VERIFIED
These patches were backed while investigating Talos failures. Now that tests are green again, we will need to reland.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
20111114041052 http://hg.mozilla.org/projects/birch/rev/859ecdfe0168 Samsung Galaxy SII (Android 2.3.4)
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
Flags: in-litmus?(fennec)
Whiteboard: [QA+]
Test case created in BFT - Tabbed Browsing: https://litmus.mozilla.org/show_test.cgi?id=40430
Flags: in-testsuite?
Flags: in-testsuite+
Flags: in-litmus?(fennec)
Flags: in-litmus+
Whiteboard: [QA+]
tracking-fennec: --- → 11+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: