Closed
Bug 1203481
Opened 9 years ago
Closed 5 years ago
All dividers in the URL bar should have the same style
Categories
(Firefox :: Theme, defect, P5)
Tracking
()
RESOLVED
WORKSFORME
Firefox 49
People
(Reporter: phlsa, Assigned: dcritchley)
References
Details
(Whiteboard: [qx])
Attachments
(2 files, 2 obsolete files)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
There are currently two permanent dividers in the URL bar: the one between URL and identity block and the one between the stop/go/reload button and the dropmarker.
They have slightly different colors and sizes. One way or another they should look the same.
Flags: needinfo?(shorlander)
Updated•9 years ago
|
Updated•9 years ago
|
Priority: -- → P5
Updated•9 years ago
|
Assignee: nobody → ralin
Comment 1•9 years ago
|
||
Hi!!
I've made a patch, but have no idea whom to contact.
Philipp, should I contact to you? Thanks.
Flags: needinfo?(philipp)
Comment 2•9 years ago
|
||
How about upload the patch to the bug here and provide a screenshot :) ?
Flags: needinfo?(ralin)
Comment 3•9 years ago
|
||
In this patch, I adjusted the height of .urlbar-*-buttons to the same as #urlbar's.
Screenshot:
https://www.dropbox.com/s/m7my0mjfshmre8e/Screenshot%202016-03-29%2017.39.34.png?dl=0
Flags: needinfo?(ralin)
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8735787 [details] [diff] [review]
Bug-1203481-All-dividers-in-the-URL-bar-to-same-styl.patch
Looks good! Thanks!
You'll also need to request a code review from an engineer before landing it.
Comment 5•9 years ago
|
||
Comment on attachment 8735787 [details] [diff] [review]
Bug-1203481-All-dividers-in-the-URL-bar-to-same-styl.patch
Review of attachment 8735787 [details] [diff] [review]:
-----------------------------------------------------------------
I don't think this is right on Windows. Here is how it looks on Windows, which shows that the separator next to the stop/go/reload button is now a few pixels taller than the identity-block separator: http://screencast.com/t/R0Sf4TRrYU3X
Attachment #8735787 -
Flags: review-
Comment 6•9 years ago
|
||
That's my fault that I didn't verify it again on Windows. I don't have handy Windows environment now, I'll fix it this weekend.
Thanks for your reviewing.
Comment 7•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/46293/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/46293/
Attachment #8741214 -
Flags: review?(jaws)
Comment 8•9 years ago
|
||
Comment on attachment 8741214 [details]
MozReview Request: Bug 1203481 - All dividers in the URL bar to same style; r?jaws
https://reviewboard.mozilla.org/r/46293/#review43775
Unfortunately these are still not the same on my machine, which is running Windows 10 in HiDPI. Zoom in on this screenshot to see that the stop-go-reload separator is about 2 pixels shorter (1 on the top and 1 on the bottom) than the site-identity separator.
http://content.screencast.com/users/j.wein/folders/Jing/media/4fe5a065-75c4-4b9c-99f8-e61482beff8f/2016-04-18_1335.png
Attachment #8741214 -
Flags: review?(jaws)
Comment 9•9 years ago
|
||
In practice, it is really hard to tell that these two are different, so I am willing to grant r+ on this if you'd like to land what you have in the as-is.
Comment 10•9 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #9)
> In practice, it is really hard to tell that these two are different, so I am
> willing to grant r+ on this if you'd like to land what you have in the as-is.
Thank you Jared!
If this bug is not urgent, I'd like to fix it after Bug 887934. I think I'll have more comprehensive environment to work on UI tweaks on Windows then.
Comment 11•8 years ago
|
||
Comment on attachment 8741214 [details]
MozReview Request: Bug 1203481 - All dividers in the URL bar to same style; r?jaws
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/46293/diff/1-2/
Attachment #8741214 -
Flags: review?(jaws)
Comment 12•8 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #9)
> In practice, it is really hard to tell that these two are different, so I am
> willing to grant r+ on this if you'd like to land what you have in the as-is.
Sorry for sooooo late update. Little tweak to Windows theme, now the dividers' height should be close to be the same.
Thank you so much :)
Comment 13•8 years ago
|
||
Comment on attachment 8741214 [details]
MozReview Request: Bug 1203481 - All dividers in the URL bar to same style; r?jaws
https://reviewboard.mozilla.org/r/46293/#review54860
On my HiDPI resolution the url-stop-go splitter actually has one extra pixel on the top and bottom, though this difference is not noticeable unless you place them very close together and zoom in using a graphics program. The patch as-is is a net improvement, so let's take this and move on from here :)
Attachment #8741214 -
Flags: review?(jaws) → review+
Updated•8 years ago
|
Keywords: checkin-needed
Comment 14•8 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/5662da82f125
All dividers in the URL bar to same style; r=jaws
Keywords: checkin-needed
Comment 15•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Comment 16•8 years ago
|
||
bugherder |
Comment 17•8 years ago
|
||
Has anyone tested this on Linux? Also, what's the point of the negative top and bottom margins that are then seemingly neutralized by the top and bottom padding?
Flags: needinfo?(ralin)
Flags: needinfo?(jaws)
Comment 18•8 years ago
|
||
Comment on attachment 8741214 [details]
MozReview Request: Bug 1203481 - All dividers in the URL bar to same style; r?jaws
I've backed this out: https://hg.mozilla.org/integration/fx-team/rev/846fcdf259a5
This patch is definitely wrong on Linux, may need another look on other platforms too. Comment 13 isn't really reassuring. We should aim for pixel-perfection here unless there's some technical reason why we can't.
Updated•8 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•8 years ago
|
Assignee: ralin → dcritchley
Assignee | ||
Comment 19•8 years ago
|
||
Would it would be a better fix to make the divider it's own element and styles, as opposed to using borders on existing elements which may vary in height? This way the styling of the divider would be consistent for this and future applications.
Flags: needinfo?(jaws)
Flags: needinfo?(dao+bmo)
Comment 21•8 years ago
|
||
I think if we can fix this with simple CSS adjustments, we should just do that. If there are reason why that would be particularly hard, we can consider adding a dedicated element for the separator.
Flags: needinfo?(dao+bmo)
Assignee | ||
Comment 22•8 years ago
|
||
Fix firefox dividers to have same style
Assignee | ||
Comment 23•8 years ago
|
||
Comment on attachment 8771119 [details] [diff] [review]
Attachment to Bug 1203481 - All dividers in the URL bar should have the same style
styled the top/bottom padding on the elements the same so hopefully this fixes the issue you were seeing. Tested on OS X, Linux and Windows, divider was the same height and color on all 3.
Attachment #8771119 -
Flags: review?(jaws)
Attachment #8771119 -
Flags: review?(dao+bmo)
Updated•8 years ago
|
Attachment #8741214 -
Attachment is obsolete: true
Updated•8 years ago
|
Attachment #8735787 -
Attachment is obsolete: true
Comment 24•8 years ago
|
||
Comment on attachment 8771119 [details] [diff] [review]
Attachment to Bug 1203481 - All dividers in the URL bar should have the same style
Review of attachment 8771119 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me but please wait for Dao to review this as well.
Attachment #8771119 -
Flags: review?(jaws) → review+
Comment 25•8 years ago
|
||
Comment on attachment 8771119 [details] [diff] [review]
Attachment to Bug 1203481 - All dividers in the URL bar should have the same style
couple of points:
- does this actually change anything? Could you attach before/after screenshots?
- https://hg.mozilla.org/mozilla-central/rev/3705eb1dc2cc moved the separator from the end of #identity-box and #urlbar-display-box to the start of #urlbar-display-box and .urlbar-input-box. This is confusing and seems unnecessary; I think we should go back to setting the border on #identity-box and #urlbar-display-box.
- on Linux there's also this rule that should be removed for that separator to have the expected height: https://dxr.mozilla.org/mozilla-central/source/browser/themes/linux/browser.css#966
Attachment #8771119 -
Flags: review?(dao+bmo)
Comment 26•8 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #25)
> - on Linux there's also this rule that should be removed for that separator
> to have the expected height:
> https://dxr.mozilla.org/mozilla-central/source/browser/themes/linux/browser.
> css#966
permalink: https://hg.mozilla.org/mozilla-central/annotate/091b06284ffe/browser/themes/linux/browser.css#l966
Comment 27•7 years ago
|
||
I think this can be closed now with Photon in place.
Updated•5 years ago
|
Status: REOPENED → RESOLVED
Closed: 8 years ago → 5 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•