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)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: Gijs, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Australis:M8])
Attachments
(1 file)
|
1.50 KB,
patch
|
mconley
:
review+
|
Details | Diff | Splinter Review |
This leads to warnings in the console for long items (eg. springs) and adds bogus stuff to the navbar or palette.
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #784334 -
Flags: review?(jaws)
| Assignee | ||
Updated•12 years ago
|
Blocks: australis-cust
| Assignee | ||
Comment 2•12 years ago
|
||
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 3•12 years ago
|
||
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?
| Assignee | ||
Comment 4•12 years ago
|
||
(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. :-\
Comment 5•12 years ago
|
||
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.
| Assignee | ||
Comment 6•12 years ago
|
||
(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 7•12 years ago
|
||
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+
| Assignee | ||
Comment 8•12 years ago
|
||
Whiteboard: [Australis:M8][fixed-in-ux]
| Assignee | ||
Comment 9•12 years ago
|
||
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.
Description
•