Closed
Bug 978131
Opened 10 years ago
Closed 10 years ago
[Australis] Legacy toolbar button labels misaligned in menu panel
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 30
People
(Reporter: alexander, Assigned: Gijs)
References
Details
(Whiteboard: [Australis:P3-][good first verify])
Attachments
(2 files)
38.39 KB,
image/png
|
Details | |
1.84 KB,
patch
|
mconley
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release) Build ID: 20140218135856 Steps to reproduce: I have an extension containing two XUL toolbarbuttons in a toolbaritem: https://addons.mozilla.org/firefox/addon/cookie-whitelist-with-buttons/ In the Australis menu panel, the icons are aligned correctly, but the labels are placed too high. The attached screenshot shows customization mode so I could take a screenshot, but the live menu panel looks the same. When the buttons are moved to the palette, the labels seem to be aligned correctly.
Assignee | ||
Comment 1•10 years ago
|
||
If there are two buttons inside a single toolbaritem, I expect that that'll need work from you in order to work correctly - what happens if you put the item after a row of 2 single items?
Blocks: australis-addons
Reporter | ||
Comment 2•10 years ago
|
||
You mean like "button button blank extension button? It's still misaligned.
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Alexander Dietrich from comment #2) > You mean like "button button blank extension button? It's still misaligned. Yes, but the problem is that there's a blank at all. We're trying to avoid that happening in the first place.
Reporter | ||
Comment 4•10 years ago
|
||
Ok, I will try to install the buttons individually for Australis and report back.
Reporter | ||
Comment 5•10 years ago
|
||
Yes, without the toolbaritem wrapping the buttons, the labels line up as expected. I can live with that, if buttons are expected to be movable individually in Australis. I'll change the extension accordingly. Thanks!
Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Alexander Dietrich from comment #5) > Yes, without the toolbaritem wrapping the buttons, the labels line up as > expected. > > I can live with that, if buttons are expected to be movable individually in > Australis. I'll change the extension accordingly. > > Thanks! Excellent! However, we on our side should probably still fix the buttons to not have that outlining problem (because some people might have a single toolbarbutton inside a toolbaritem, for instance). I'll try to look at this this weekend or the coming week.
Assignee | ||
Comment 7•10 years ago
|
||
We don't auto-set the wrap attribute on nested toolbarbuttons, and so they don't get all the styling for free. At least this (the vertical sizing) we can fix. Not an issue on OS X because the labels have the right margin to begin with.
Attachment #8385031 -
Flags: review?(mconley)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(gijskruitbosch+bugs)
Assignee | ||
Updated•10 years ago
|
Whiteboard: [Australis:P3-]
Comment 8•10 years ago
|
||
Comment on attachment 8385031 [details] [diff] [review] add correct styling for non-wrapped toolbarbutton-1s for the Australis panel, Review of attachment 8385031 [details] [diff] [review]: ----------------------------------------------------------------- WFM! Thanks Gijs.
Attachment #8385031 -
Flags: review?(mconley) → review+
Assignee | ||
Comment 9•10 years ago
|
||
remote: https://hg.mozilla.org/integration/fx-team/rev/d38bceb092b7
Whiteboard: [Australis:P3-] → [Australis:P3-][fixed-in-fx-team]
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d38bceb092b7
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3-][fixed-in-fx-team] → [Australis:P3-]
Target Milestone: --- → Firefox 30
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8385031 [details] [diff] [review] add correct styling for non-wrapped toolbarbutton-1s for the Australis panel, [Approval Request Comment] Bug caused by (feature/regressing bug #): Australis User impact if declined: add-on provided buttons might not look the same as ours without more work by add-on authors (but only on some platforms, making it hard to notice/fix) Testing completed (on m-c, etc.): on m-c, locally Risk to taking this patch (and alternatives if risky): low String or IDL/UUID changes made by this patch: none
Attachment #8385031 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
status-firefox29:
--- → affected
status-firefox30:
--- → fixed
Updated•10 years ago
|
Attachment #8385031 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 12•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/866e45a0c44c
Updated•10 years ago
|
Whiteboard: [Australis:P3-] → [Australis:P3-][good first verify]
You need to log in
before you can comment on or make changes to this bug.
Description
•