Closed
Bug 942853
Opened 11 years ago
Closed 11 years ago
The australis "split widgets" (zoom, copy/paste) in toolbar use the windows default button styling
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: ntim, Assigned: mikedeboer)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Whiteboard: [Australis:P3])
Attachments
(2 files, 1 obsolete file)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20131123030208
Steps to reproduce:
Place the zoom buttons in the navbar.
Actual results:
The buttons use the windows default toolbar button styling.
I think this is caused by bug 878065
Comment 1•11 years ago
|
||
Could you provide a screenshot of what you mean, and how it differs to the correct styling?
Blocks: australis-merge, australis-cust
Component: Untriaged → Theme
Reporter | ||
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #1)
> Could you provide a screenshot of what you mean, and how it differs to the
> correct styling?
OK done :)
Reporter | ||
Comment 4•11 years ago
|
||
oh crap, it didn't catch the hover effect.
Reporter | ||
Comment 5•11 years ago
|
||
Attachment #8337769 -
Attachment is obsolete: true
Reporter | ||
Updated•11 years ago
|
Whiteboard: [Australis:M-][Australis:P5]
Comment 6•11 years ago
|
||
Oh, was this meant to just be about the hover effect?
Also, Mike, I could swear we had a bug about the buttons being mis-centered in the navbar, but I can't find it.
Reporter | ||
Comment 7•11 years ago
|
||
Well, the :active effect is also affected.
Also, I also found another bug, when the widget is in the panel menu, it will always have a bottom border, even when there's nothing after it.
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to ntim007 from comment #7)
> Well, the :active effect is also affected.
> Also, I also found another bug, when the widget is in the panel menu, it
> will always have a bottom border, even when there's nothing after it.
That's by design.
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #6)
> Oh, was this meant to just be about the hover effect?
>
> Also, Mike, I could swear we had a bug about the buttons being mis-centered
> in the navbar, but I can't find it.
I don't know of a bug for that, but this one will surely cover it. This looks wrong and needs to be fixed. I'll take a look!
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: x86_64 → All
Whiteboard: [Australis:M-][Australis:P5] → [Australis:M-][Australis:P3]
Assignee | ||
Updated•11 years ago
|
Whiteboard: [Australis:M-][Australis:P3] → [Australis:P3]
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mdeboer
Reporter | ||
Comment 10•11 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #8)
> (In reply to ntim007 from comment #7)
> > Well, the :active effect is also affected.
> > Also, I also found another bug, when the widget is in the panel menu, it
> > will always have a bottom border, even when there's nothing after it.
>
> That's by design.
Well, it looks quite awkward. It also misses a top border when there's no split widget before it btw.
(In reply to Mike de Boer [:mikedeboer] from comment #9)
> (In reply to :Gijs Kruitbosch from comment #6)
> > Oh, was this meant to just be about the hover effect?
> >
> > Also, Mike, I could swear we had a bug about the buttons being mis-centered
> > in the navbar, but I can't find it.
>
> I don't know of a bug for that, but this one will surely cover it. This
> looks wrong and needs to be fixed. I'll take a look!
Thanks ! I think the fix will be quite easy :) Changing the classes when the widget is in toolbar should be enough.
Assignee | ||
Comment 11•11 years ago
|
||
Gijs, you rightfully questioned the removal of the 'toolbarbutton-1' class for wide-widget buttons and bluntly insisted on removing them in bug 878065.
I was wrong!
Attachment #8342307 -
Flags: review?(gijskruitbosch+bugs)
Comment 12•11 years ago
|
||
Comment on attachment 8342307 [details] [diff] [review]
Patch 1: restore styling for buttons of wide widgets in toolbars
Review of attachment 8342307 [details] [diff] [review]:
-----------------------------------------------------------------
So, while I like being right as much as the next person, part of your original justification was that there were rules for these buttons that interfered with what you were doing. Have you checked (cross-platform) that that isn't the case (anymore), as there doesn't seem to be anything in this patch to adjust e.g. specificity of certain rules?
::: browser/components/customizableui/src/CustomizableWidgets.jsm
@@ +811,5 @@
> }
> });
> }
> #endif
> +#endif
Hmm?
::: browser/themes/osx/browser.css
@@ +1432,5 @@
> margin: 0;
> }
>
> +#zoom-controls[cui-areatype="toolbar"]:not(.overflowedItem) > #zoom-reset-button > .toolbarbutton-text {
> + padding-top: 8px;
Was this intentionally part of this patch?
Assignee | ||
Comment 13•11 years ago
|
||
> So, while I like being right as much as the next person, part of your
> original justification was that there were rules for these buttons that
> interfered with what you were doing. Have you checked (cross-platform) that
> that isn't the case (anymore), as there doesn't seem to be anything in this
> patch to adjust e.g. specificity of certain rules?
Yeah, it interfered with the zoom-reset button label text vertical centering, but removing this className is a bit too blunt whereas a simple, more specific rule in osx/browser.css fixes it better.
I tested for any other possible regression on all platforms (linux, win, osx) for all positions (menu-panel, overflow-panel, nav-bar, any other toolbar).
> ::: browser/components/customizableui/src/CustomizableWidgets.jsm
> @@ +811,5 @@
> > }
> > });
> > }
> > #endif
> > +#endif
Ehm, yeah, I'll remove this.
> ::: browser/themes/osx/browser.css
> @@ +1432,5 @@
> > margin: 0;
> > }
> >
> > +#zoom-controls[cui-areatype="toolbar"]:not(.overflowedItem) > #zoom-reset-button > .toolbarbutton-text {
> > + padding-top: 8px;
>
> Was this intentionally part of this patch?
Yeah (see above). `:not(.overflowedItem)` also needs to be added, because wide widgets in the overflow-panel have the exact same appearance as in the menu-panel.
Comment 14•11 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #9)
> (In reply to :Gijs Kruitbosch from comment #6)
> > Also, Mike, I could swear we had a bug about the buttons being mis-centered
> > in the navbar, but I can't find it.
>
> I don't know of a bug for that, but this one will surely cover it. This
> looks wrong and needs to be fixed. I'll take a look!
This one? Bug 940255
(That's about Cut/Copy/Paste though and also about the spacing inside the menu, so I doubt it's a dupe)
Assignee | ||
Comment 15•11 years ago
|
||
(In reply to Peter Retzer (:pretzer) from comment #14)
> This one? Bug 940255
> (That's about Cut/Copy/Paste though and also about the spacing inside the
> menu, so I doubt it's a dupe)
No, because that one is - like you said - all about menu panel. AFAIK we didn't find the bug Gijs thought he saw to date.
Comment 16•11 years ago
|
||
Comment on attachment 8342307 [details] [diff] [review]
Patch 1: restore styling for buttons of wide widgets in toolbars
Review of attachment 8342307 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/components/customizableui/src/CustomizableWidgets.jsm
@@ +811,5 @@
> }
> });
> }
> #endif
> +#endif
With this thing fixed, r=me!
Attachment #8342307 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 17•11 years ago
|
||
Whiteboard: [Australis:P3] → [Australis:P3][fixed-in-fx-team]
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 18•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3][fixed-in-fx-team] → [Australis:P3]
Target Milestone: --- → Firefox 28
Reporter | ||
Comment 19•11 years ago
|
||
Not sure if I did something wrong, but this bug doesn't seem fixed in latest nightly (29.0a1 (2013-12-11))
Flags: needinfo?(mdeboer)
Reporter | ||
Comment 20•11 years ago
|
||
(In reply to Tim Nguyen [:ntim] from comment #19)
> Not sure if I did something wrong, but this bug doesn't seem fixed in latest
> nightly (29.0a1 (2013-12-11))
Sorry, well it is partially fixed, but the faint seperators still appear.
Comment 21•11 years ago
|
||
The faint separators as pictured here, http://screencast.com/t/A4JNR3TVOR, are intentional.
Flags: needinfo?(mdeboer)
Reporter | ||
Comment 22•11 years ago
|
||
(In reply to Jared Wein [:jaws] from comment #21)
> The faint separators as pictured here, http://screencast.com/t/A4JNR3TVOR,
> are intentional.
Why ? It doesn't seem consistent with the rest of the toolbar buttons. And don't also match shorlander specs.
Comment 23•11 years ago
|
||
The other toolbar buttons don't have them because they are not a logical group. Buttons that are logically grouped together have these splitters between them to show the connection between them.
Comment 24•11 years ago
|
||
(In reply to Jared Wein [:jaws] from comment #21)
> The faint separators as pictured here, http://screencast.com/t/A4JNR3TVOR,
> are intentional.
Seems like people aren't talking about the same thing.
To be clear, button groups are supposed to have separators, but the separators in that image don't look right.
Reporter | ||
Comment 25•11 years ago
|
||
(In reply to Stephen Horlander [:shorlander] from comment #24)
> (In reply to Jared Wein [:jaws] from comment #21)
> > The faint separators as pictured here, http://screencast.com/t/A4JNR3TVOR,
> > are intentional.
>
> Seems like people aren't talking about the same thing.
>
> To be clear, button groups are supposed to have separators, but the
> separators in that image don't look right.
That's what I was trying to explain. The seperators should look like the one between the bookmark star and the bookmark menu icons.
Comment 26•11 years ago
|
||
Sorry, you are right. I filed bug 949151 to get this fixed.
Depends on: 949151
You need to log in
before you can comment on or make changes to this bug.
Description
•