Closed Bug 916830 Opened 11 years ago Closed 11 years ago

Putting items back into the overflowable toolbars should append, not prepend, skipintoolbarset items

Categories

(Firefox :: Toolbars and Customization, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
Firefox 28

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

(Whiteboard: [Australis:P3][Australis:M9])

Attachments

(1 file)

As per summary
So this problem is breaking b-c tests for bug 876926. This is because we drag to the first item in the navbar, and because of some downloads initiated by previous tests, the downloads button got replaced by the indicator. Then because of the social UI resizing tests, we resize the window, and the button ends up in the overflow panel, and then when it comes out it's at the beginning in the navbar because of this bug. When dragging an item onto a skipintoolbarset item, we don't find that item in the placements, and insert it at the end of the navbar (this is a bug we can (and possibly should) fix separately). Because the test expects the item inserted at the beginning rather than at the end, the test fails. This patch only fixes the "don't insert this item at the beginning of the navbar" bug. I can file a followup bug about how our DnD code handles skipintoolbarset items if we think that's worthwhile. And in Cato style, we should be fixing the download-button to not be crazy. :-(
Blocks: 876926
Severity: normal → critical
Comment on attachment 805322 [details] [diff] [review] Putting skipintoolbarset items back in the nav-bar should insert at the end, Review of attachment 805322 [details] [diff] [review]: ----------------------------------------------------------------- LGTM!
Attachment #805322 - Flags: review?(mconley) → review+
Status: NEW → ASSIGNED
Whiteboard: [Australis:P3][Australis:M9][fixed-in-ux]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3][Australis:M9][fixed-in-ux] → [Australis:P3][Australis:M9]
Target Milestone: --- → Firefox 28
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: