Closed
Bug 607048
Opened 16 years ago
Closed 15 years ago
Icons cannot be removed from the add-ons bar
Categories
(Firefox :: Toolbars and Customization, defect)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
WONTFIX
| Tracking | Status | |
|---|---|---|
| blocking2.0 | --- | betaN+ |
People
(Reporter: ehsan.akhgari, Assigned: dietrich)
References
Details
(Whiteboard: [addon bar])
Attachments
(1 file)
|
1.07 KB,
patch
|
dao
:
review-
|
Details | Diff | Splinter Review |
STR:
1. Update to the latest nightly and install Firebug.
2. Right click on the add-ons bar and click Customize.
3. Try to drag the Firebug icon away from the add-ons bar. It doesn't work.
4. Drag a normal toolbar icon to this add-ons bar.
5. Try to drag that button away. It doesn't work either.
| Reporter | ||
Updated•16 years ago
|
blocking2.0: --- → ?
| Assignee | ||
Comment 1•16 years ago
|
||
This sounds like a regression post-landing of add-on bar, since I did this a few thousand times a day when making that patch.
| Assignee | ||
Updated•16 years ago
|
blocking2.0: ? → betaN+
| Assignee | ||
Comment 2•16 years ago
|
||
Ah ok, so it's quite likely that Firebug is using the statusbar shim, which means it's not customizable. I'll try to take a look and see.
If that's the case, this is a problem with the add-on.
OR.. we could remove the shim, forcing add-ons that use the statusbar to update to the add-on bar (something the Firebug people are vehemently against).
OR.. we could make the statusbar shim itself a customizable toolbaritem. This might be the easiest way forward, that pleases the most people.
| Reporter | ||
Comment 3•16 years ago
|
||
(In reply to comment #2)
> OR.. we could make the statusbar shim itself a customizable toolbaritem. This
> might be the easiest way forward, that pleases the most people.
This seems like the best thing to do to me too!
| Assignee | ||
Comment 4•16 years ago
|
||
| Assignee | ||
Updated•15 years ago
|
Whiteboard: [addon bar]
Comment 5•15 years ago
|
||
regarding dietrich’s options:
turn the temporary hack into a customizable widget: bug 599229
remove the hack asap: bug 598929
that means we’ll do both, most likely in this chronological order, so the firebug people will have to bite the bullet one day, anyway.
Comment 6•15 years ago
|
||
only: the information „the Firebug people [would be] vehemently against“ removing the compatibility hack was wrong.
you can read about their opinions e.g. here: http://code.google.com/p/fbug/issues/detail?id=3556 and in the comments to the bugs they merged into this one.
as soon as bug 598923 is fixed and there is a reliable way to add a similar button in the “bar down there” for both 3.6 and 4.0, they are not against removing temporary compatibility hacks, i think.
| Assignee | ||
Comment 7•15 years ago
|
||
Removing the compat shim is not the question for this bug. Please keep that discussion in bug 598929.
Comment 8•15 years ago
|
||
you were the one who said this would be one of the possible solutions. i just corrected one of your statements since it conveyed a wrong picture about the firebug devs and i provided links to the bugs you mentioned.
| Assignee | ||
Comment 9•15 years ago
|
||
That statement was derived from conversations with Firebug dev John. However, that's awesome if it's not a concern anymore!
I think we're going to make this change regardless, and once the add-on bar work is closer to complete (still a lot needs done) make the decision about the shim.
| Assignee | ||
Updated•15 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
| Assignee | ||
Updated•15 years ago
|
Attachment #487389 -
Flags: review?(dao)
| Assignee | ||
Comment 10•15 years ago
|
||
No test because I'm not sure what exactly to test other than that the DOM structure is still what we change it to, or that a toolbaritem should behave like a toolbaritem does.
| Assignee | ||
Updated•15 years ago
|
Whiteboard: [addon bar] → [addon bar][has patch][needs review dao]
Comment 12•15 years ago
|
||
Comment on attachment 487389 [details] [diff] [review]
wip
As discussed some time ago in the newsgroups, this would break add-ons putting items here, as their formerly permanent items would be able to disappear from the document.
You might also get a race condition here if the toolbar constructor removes <statusbar id="status-bar"/> before add-ons' XUL overlays are loaded.
Attachment #487389 -
Flags: review?(dao) → review-
Comment 13•15 years ago
|
||
Is there a way to allow a toolbaritem to be moved within a toolbar (or between toolbars) without allowing it to be moved back into the palette? There's the removable attribute, but AFAIK that would prevent any customization at all.
Also, in earlier versions of Status-4-Evar, I was using DOM to move the statusbar element to be the last on the addon-bar. However, re-parenting the statusbar element seemed to break the popup-menus that some icons had. I'm not sure if it was breaking the menu its self, or the mouse listeners registered on the icon... but this is something that needs to be watched for to see if it is actually a problem.
| Assignee | ||
Comment 14•15 years ago
|
||
(In reply to comment #12)
> Comment on attachment 487389 [details] [diff] [review]
> wip
>
> As discussed some time ago in the newsgroups, this would break add-ons putting
> items here, as their formerly permanent items would be able to disappear from
> the document.
>
> You might also get a race condition here if the toolbar constructor removes
> <statusbar id="status-bar"/> before add-ons' XUL overlays are loaded.
Yep, forgot that it's no longer in the document when removed to the palette.
In that case, it sounds like it's not really feasible.
We should instead implement bug 616016, until we determine if the shim should be removed. -> WONTFIX.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Comment 15•15 years ago
|
||
(In reply to comment #13)
> Also, in earlier versions of Status-4-Evar, I was using DOM to move the
> statusbar element to be the last on the addon-bar. However, re-parenting the
> statusbar element seemed to break the popup-menus that some icons had. I'm not
> sure if it was breaking the menu its self, or the mouse listeners registered on
> the icon... but this is something that needs to be watched for to see if it is
> actually a problem.
I suspect this was due to XBL reconstruction, which would indeed have affected this patch too.
Whiteboard: [addon bar][has patch][needs review dao] → [addon bar]
Comment 16•15 years ago
|
||
@comment 2:
the newest firebug build has now a toolbar button, which works like the old statusbar button.
finally i added “statusbar {display:none}”. now it just has to be removed for good via bug 598929.
You need to log in
before you can comment on or make changes to this bug.
Description
•