Closed Bug 900442 Opened 12 years ago Closed 12 years ago

Add-on toolbar shouldn't be evicting stuff when we wrap its contents

Categories

(Firefox :: Toolbars and Customization, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 28

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

(Whiteboard: [Australis:M8])

Attachments

(1 file)

This leads to warnings in the console for long items (eg. springs) and adds bogus stuff to the navbar or palette.
Comment on attachment 784334 [details] [diff] [review] Add-on toolbar shouldn't be evicting stuff when we wrap its contents Or perhaps I should pick someone who's not on holiday...
Attachment #784334 - Flags: review?(jaws) → review?(mconley)
Comment on attachment 784334 [details] [diff] [review] Add-on toolbar shouldn't be evicting stuff when we wrap its contents Review of attachment 784334 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/components/customizableui/content/toolbar.xml @@ +387,5 @@ > return; > } > let toolbar = mutations[0].target; > + // Can't use our own attribute because we might not have one if we're set to > + // collapsed Why are we even wrapping the add-on bar items?
(In reply to Mike Conley (:mconley) from comment #3) > Why are we even wrapping the add-on bar items? We wrap everything in all registered toolbars, I think... Not sure we can fix that. :-\
The add-on bar is kind of a special-case. I'm wondering if maybe the better approach is to skip wrapping items in it entirely.
(In reply to Mike Conley (:mconley) from comment #5) > The add-on bar is kind of a special-case. I'm wondering if maybe the better > approach is to skip wrapping items in it entirely. I would understand that, but that'd involve special-casing it in CustomizeMode, which seems weird...
Comment on attachment 784334 [details] [diff] [review] Add-on toolbar shouldn't be evicting stuff when we wrap its contents (In reply to :Gijs Kruitbosch from comment #6) > (In reply to Mike Conley (:mconley) from comment #5) > > The add-on bar is kind of a special-case. I'm wondering if maybe the better > > approach is to skip wrapping items in it entirely. > > I would understand that, but that'd involve special-casing it in > CustomizeMode, which seems weird... It does. :/ The add-on bar shim is just weird in general. :) So I guess this added weirdness is acceptable.
Attachment #784334 - Flags: review?(mconley) → review+
Whiteboard: [Australis:M8][fixed-in-ux]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:M8][fixed-in-ux] → [Australis:M8]
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: