Closed
Bug 1173743
Opened 9 years ago
Closed 9 years ago
Update toolbar button hover/pressed states on Windows 10
Categories
(Firefox :: Theme, defect, P3)
Tracking
()
VERIFIED
FIXED
Firefox 43
People
(Reporter: dao, Assigned: dao)
References
Details
Attachments
(1 file, 1 obsolete file)
7.58 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
Updated•9 years ago
|
Priority: -- → P1
Updated•9 years ago
|
Assignee: nobody → ntim.bugs
Status: NEW → ASSIGNED
Comment 1•9 years ago
|
||
needinfo for the hsla/rgba colors as we talked about on IRC
Flags: needinfo?(shorlander)
Updated•9 years ago
|
Priority: P1 → P2
Updated•9 years ago
|
Flags: needinfo?(shorlander)
Updated•9 years ago
|
Flags: qe-verify+
QA Contact: cornel.ionce
Updated•9 years ago
|
Assignee: ntim.bugs → nobody
Status: ASSIGNED → NEW
Comment 2•9 years ago
|
||
Sharing some of the research I've done :
:root {
--toolbarbutton-hover-background: rgba(0,0,0,0.1);
--toolbarbutton-hover-bordercolor: transparent;
--toolbarbutton-hover-boxshadow: 0 0 0 2px rgba(0,0,0,0.2);
--toolbarbutton-active-background: rgba(0,0,0,0.15);
--toolbarbutton-active-bordercolor: transparent;
--toolbarbutton-active-boxshadow: 0 0 0 2px rgba(0,0,0,0.3)
}
This works, but there are some issues :
- Forward button looks broken with this style
- The toolbar buttons have more height than the mockup
- The split buttons (bookmarks button) don't look right
Comment 3•9 years ago
|
||
Just a quick note since I've just looked at this: the buttons have a 1px border radius in the mockup, so let's include that as well.
Updated•9 years ago
|
No longer blocks: windows-10-issues
Comment 4•9 years ago
|
||
This could work for the bookmarks button :
<div>
<button>F</button>
<button>G</button>
</div>
<style>
button {
background: rgba(0,0,0,0.1);
border: none;
float: left;
padding: 6px 10px;
}
button:first-child {
box-shadow: -1.5px 0 0 2px rgba(0,0,0,0.2);
}
button:last-child {
box-shadow: 1.5px 0 0 2px rgba(0,0,0,0.2);
}
</style>
If this doesn't, we'll have to use an actual 2px border.
Comment 5•9 years ago
|
||
Tracking 40 as Philipp flagged this as a bug that we need for Windows 10 support in this release.
Comment 6•9 years ago
|
||
Unfortunately, this is too late for 40. We have time to take a fix for 41 if it is available soon.
tracking-firefox41:
--- → +
Comment 7•9 years ago
|
||
-> P3, and a candidate for being in a UI polish clusterbug.
Priority: P2 → P3
Dolske, Dao: I am following up on FF41 tracked bugs. Since this is win10 related and was not fixed in FF40, it would be nice if we fixed this for FF41. What do you think?
Flags: needinfo?(dolske)
Flags: needinfo?(dao)
Comment 9•9 years ago
|
||
Yes, that's why it's on our list of things we'd like to fix in 41 (bug 1192839).
Flags: needinfo?(dolske)
Flags: needinfo?(dao)
Assignee | ||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Comment on attachment 8657613 [details] [diff] [review]
patch
The split toolbar buttons should only have a 1px separator on hover: http://people.mozilla.org/~shorlander/mockups/Windows-10/images/Windows10-Specs-01-Main-Window-04.png
Comment 12•9 years ago
|
||
Also, I'm not quite sure if we want this on Windows 8.
Assignee | ||
Comment 13•9 years ago
|
||
I don't want Windows 8 to be the odd one out. We should let it follow the style for XP/Vista/7 or that for 10, and I think 10 probably makes more sense.
Comment 14•9 years ago
|
||
Comment on attachment 8657613 [details] [diff] [review]
patch
Review of attachment 8657613 [details] [diff] [review]:
-----------------------------------------------------------------
This adds an awkward splitter on menu-buttons, http://screencast.com/t/OZyi6z95Jt
Attachment #8657613 -
Flags: review?(jaws) → review-
Assignee | ||
Comment 15•9 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #14)
> Comment on attachment 8657613 [details] [diff] [review]
> patch
>
> Review of attachment 8657613 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> This adds an awkward splitter on menu-buttons,
> http://screencast.com/t/OZyi6z95Jt
It's just two adjacent borders, doesn't look that awkward to me. If this is the only issue, we should get this landed and fine-tune in a separate bug.
Assignee | ||
Updated•9 years ago
|
Attachment #8657613 -
Flags: review- → review?(jaws)
Comment 16•9 years ago
|
||
I disagree. This is tracking firefox41 and we would want to uplift this but not with that regression which will appear in the default set.
Updated•9 years ago
|
Attachment #8657613 -
Flags: review?(jaws)
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 18•9 years ago
|
||
Stephen, Philipp, do we still want the 2px thick border on hover? We had this for the location and search bars but then reverted it to 1px.
Flags: needinfo?(shorlander)
Flags: needinfo?(philipp)
Comment 19•9 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #18)
> Stephen, Philipp, do we still want the 2px thick border on hover? We had
> this for the location and search bars but then reverted it to 1px.
I think we should use the 2px border on buttons only on the pressed state. We can use the same transition of the inner shadow as we do on the URL bar.
(Unless Stephen has a strong opinion in doing something different)
Flags: needinfo?(philipp)
Assignee | ||
Comment 20•9 years ago
|
||
Attachment #8657613 -
Attachment is obsolete: true
Attachment #8659744 -
Flags: review?(jaws)
Assignee | ||
Comment 21•9 years ago
|
||
Comment on attachment 8659744 [details] [diff] [review]
patch v2
changing reviewer since Jared is "mostly away" for a couple of days
Attachment #8659744 -
Flags: review?(jaws) → review?(gijskruitbosch+bugs)
Comment 22•9 years ago
|
||
Comment on attachment 8659744 [details] [diff] [review]
patch v2
Review of attachment 8659744 [details] [diff] [review]:
-----------------------------------------------------------------
r=me but see the question below.
::: browser/themes/windows/browser.css
@@ +50,5 @@
>
> --urlbar-separator-color: hsla(0,0%,16%,.2);
> }
>
> +#nav-bar[brighttext] {
Shouldn't this happen for the other toolbars as well?
Attachment #8659744 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 23•9 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #22)
> Comment on attachment 8659744 [details] [diff] [review]
> patch v2
>
> Review of attachment 8659744 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> r=me but see the question below.
>
> ::: browser/themes/windows/browser.css
> @@ +50,5 @@
> >
> > --urlbar-separator-color: hsla(0,0%,16%,.2);
> > }
> >
> > +#nav-bar[brighttext] {
>
> Shouldn't this happen for the other toolbars as well?
We don't use that custom toolbar button style on other toolbars, except for the find bar but I don't think we have the brighttext attribute there...
Flags: needinfo?(shorlander)
Keywords: checkin-needed
Comment 24•9 years ago
|
||
Keywords: checkin-needed
Comment 25•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Comment 26•9 years ago
|
||
Comment on attachment 8659744 [details] [diff] [review]
patch v2
Review of attachment 8659744 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/themes/windows/browser.css
@@ +50,5 @@
>
> --urlbar-separator-color: hsla(0,0%,16%,.2);
> }
>
> +#nav-bar[brighttext] {
This will also apply on the devedition dark theme, not sure if that's wanted.
Comment 27•9 years ago
|
||
(In reply to Tim Nguyen [:ntim] from comment #26)
> Comment on attachment 8659744 [details] [diff] [review]
> patch v2
>
> Review of attachment 8659744 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: browser/themes/windows/browser.css
> @@ +50,5 @@
> >
> > --urlbar-separator-color: hsla(0,0%,16%,.2);
> > }
> >
> > +#nav-bar[brighttext] {
>
> This will also apply on the devedition dark theme, not sure if that's wanted.
Please file a separate bug if it actually ends up not looking as desired.
Assignee | ||
Comment 28•9 years ago
|
||
Not going to bother uplifting this.
Comment 29•9 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; rv:43.0) Gecko/20100101 Firefox/43.0
Verified this fix on Windows 10 32-bit using latest Nightly, build ID: 20150917030229
Filled bug 1206083 and bug 1206087 for some issues spotted while testing this, so we can track them separately.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•