Closed
Bug 1450816
Opened 7 years ago
Closed 7 years ago
Remove toolbarpaletteitem-palette binding and combine toolbarpaletteitem and toolbarpaletteitem-palette-wrapping-label bindings
Categories
(Firefox :: Toolbars and Customization, task, P1)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
FIXED
Firefox 62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: ntim, Assigned: Paolo)
References
Details
Attachments
(1 file)
toolbarpaletteitem-palette looks unused.
toolbarpaletteitem-palette-wrapping-label is the same as toolbarpaletteitem, but with an extra label.
It should be trivial to convert them together.
Comment 1•7 years ago
|
||
(In reply to Tim Nguyen :ntim from comment #0)
> toolbarpaletteitem-palette looks unused.
Indeed - it looks like the CSS rule in xul.css for toolbarpaletteitem[place="palette"] is overridden by the same rule rule in browser.css that applies toolbarpaletteitem-palette-wrapping-label.
> toolbarpaletteitem-palette-wrapping-label is the same as toolbarpaletteitem,
> but with an extra label.
>
> It should be trivial to convert them together.
What are you thinking here? I guess just hiding the label by default and then showing it for toolbarpaletteitem[place="palette"] would do the trick.
Component: XUL Widgets → Toolbars and Customization
Product: Toolkit → Firefox
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #1)
> What are you thinking here? I guess just hiding the label by default and
> then showing it for toolbarpaletteitem[place="palette"] would do the trick.
Yes, exactly this :)
Reporter | ||
Updated•7 years ago
|
Keywords: good-first-bug
Reporter | ||
Comment 3•7 years ago
|
||
The bindings are located here: https://dxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/toolbar.xml#172
Comment 4•7 years ago
|
||
The reason all this is the way it is is the toolkit/browser separation. If we're consolidating this we should probably do it in browser/ rather than toolkit/, to avoid messing things up for TB/SM (who could just resurrect the toolkit bindings in comm-central).
I'm not convinced this is a good-first-bug, but if you really think so it needs more detailed instructions and a mentor. Removing keyword for now to avoid confusing contributors, and ni for :ntim to see what they want to do here.
Flags: needinfo?(ntim.bugs)
Keywords: good-first-bug
Priority: -- → P3
Summary: Remove toolbarpaletteitem-palette and combine toolbarpaletteitem and toolbarpaletteitem-palette-wrapping-label → Remove toolbarpaletteitem-palette binding and combine toolbarpaletteitem and toolbarpaletteitem-palette-wrapping-label bindings
Reporter | ||
Comment 5•7 years ago
|
||
(In reply to :Gijs (he/him) from comment #4)
> The reason all this is the way it is is the toolkit/browser separation. If
> we're consolidating this we should probably do it in browser/ rather than
> toolkit/, to avoid messing things up for TB/SM (who could just resurrect the
> toolkit bindings in comm-central).
I don't understand, all those bindings are in toolkit/, if we merge them, and change the toolkit styles accordingly, TB/SM won't need to do anything. Moving them to browser/ is also fine, but I don't see the need atm.
Flags: needinfo?(ntim.bugs)
Reporter | ||
Comment 6•7 years ago
|
||
Oh right, the binding is overriden by browser.css. I guess we can move the new combined toolbarpalette bindings to browser/ and get rid of the other two.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → paolo.mozmail
Status: NEW → ASSIGNED
Priority: P3 → P1
Assignee | ||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8979237 [details]
Bug 1450816 - Combine the "toolbarpaletteitem" bindings in the "browser" folder.
https://reviewboard.mozilla.org/r/245458/#review251416
Please give TB/SM a heads-up that they will need to replace these.
Attachment #8979237 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 10•7 years ago
|
||
The remaining bindings in "toolbar.xml" are used only by one test file on Mac, but are still used on Windows. For now I'm simply updating the whitelist, since we want to remove the bindings anyways in the end.
Assignee | ||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Pushed by paolo.mozmail@amadzone.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/06bdb8c0ced8
Combine the "toolbarpaletteitem" bindings in the "browser" folder. r=Gijs
Comment 13•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
Reporter | ||
Updated•6 years ago
|
Type: enhancement → task
You need to log in
before you can comment on or make changes to this bug.
Description
•