Closed
Bug 415329
Opened 18 years ago
Closed 17 years ago
large toolbar buttons are vertically misaligned
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 3 beta5
People
(Reporter: Gabri, Assigned: dao)
References
()
Details
Attachments
(6 files, 3 obsolete files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.9b3pre) Gecko/2008013104 Minefield/3.0b3pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.9b3pre) Gecko/2008013104 Minefield/3.0b3pre
As you can see there http://img523.imageshack.us/img523/2751/bugah0.png
new icons on toolbar are vertical-unaligned and border is incomplete.
Next, there is another little bug http://img441.imageshack.us/img441/2181/bugcs1.png
I hope you can fix those before beta3 release.
thank you.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•18 years ago
|
||
What is your screen resolution?
The other issue you mentioned is Bug 414872.
Reporter | ||
Comment 2•18 years ago
|
||
Mine is 1280x1024
Comment 3•18 years ago
|
||
Assignee | ||
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Component: Theme → Toolbars
Ever confirmed: true
QA Contact: theme → toolbars
Assignee | ||
Updated•18 years ago
|
No longer blocks: 413806
Summary: Bugs on new Firefox windows theme → icons on toolbar are vertical-unaligned
Comment 4•18 years ago
|
||
(In reply to comment #0)
> As you can see there http://img523.imageshack.us/img523/2751/bugah0.png
> new icons on toolbar are vertical-unaligned and border is incomplete.
Where did those black lines above and below the nav bar come from, in your screenshot? Is that how Firefox normally looks on your system, or did you add those for illustration purposes?
Comment 5•18 years ago
|
||
The keyhole icons are using the same centerline as the other main toolbar buttons for vertical alignment. If you look real close, you can see that there's a common centerline that goes through the exact centers of the keyhole arrows and of stop and refresh (where the edge of the glossy highlight is the center of the icon).
Reporter | ||
Comment 6•18 years ago
|
||
Here the screen AFTER the patch:
http://img441.imageshack.us/img441/454/fix2uq0.png
Before the patch:
http://img145.imageshack.us/img145/3342/bugvv5.png
Attachment #301565 -
Flags: review?
Reporter | ||
Updated•18 years ago
|
Severity: trivial → enhancement
Updated•18 years ago
|
Severity: enhancement → normal
Comment 7•18 years ago
|
||
(In reply to comment #5)
> Created an attachment (id=301557) [details]
If you look very closely at this screenshot, you'll notice that the toolbar is 35px high (the toolbar separator is a 2px gray and white line). A 32px button will thus always look slightly misaligned, although the visual impression is worsened by the fact that the white half of the horizontal toolbar separator is hardly discernible as such. We'll thus probably need a 31px keyhole (as moving the keyhole 1px up won't might not look as good).
(In reply to comment #6)
> Here the screen AFTER the patch:
> http://img441.imageshack.us/img441/454/fix2uq0.png
Now, it's everything else that is slightly misaligned. This is particularly visible with the bevel of the Refresh button and somewhat visible for the rest when you move a Windows Explorer window closer (e.g. with the vertical separators) which is what we exactly copy in appearance.
Reporter | ||
Updated•18 years ago
|
Flags: blocking-firefox3?
Updated•18 years ago
|
Component: Toolbars → Theme
Flags: blocking-firefox3? → blocking-firefox3+
QA Contact: toolbars → theme
Reporter | ||
Updated•17 years ago
|
Attachment #301565 -
Flags: review?
Reporter | ||
Comment 8•17 years ago
|
||
That one is a little better than the previous one.
Attachment #301565 -
Attachment is obsolete: true
Attachment #302391 -
Flags: review?
Comment 9•17 years ago
|
||
(In reply to comment #8)
> That one is a little better than the previous one.
It's still a hack and will still break once you move the keyhole button to the menu bar. Unless you've got good reason for the contrary (and note: we're currently as native as possible!), you should really work specifically on the keyhole and not on all the toolbars.
Assignee | ||
Comment 10•17 years ago
|
||
Well, if you mouse over a normal toolbar button, the bevel overlaps the toolbar's bottom border. That's not what Windows Explorer does.
Comment 11•17 years ago
|
||
(In reply to comment #10)
For me, things are pixel-perfect, so: screenshot, please.
Assignee | ||
Comment 12•17 years ago
|
||
Comment 13•17 years ago
|
||
(In reply to comment #12)
AFAICT (and that's not easy with that little context), the left button resides on the last toolbar while the right one does not - which happens to make a difference.
Assignee | ||
Comment 14•17 years ago
|
||
Right, Explorer shows the same glitch when I make that toolbar the last one.
Comment 15•17 years ago
|
||
Alex: Have you considered making the keyhole only 31px high (cf. comment #7)?
Summary: icons on toolbar are vertical-unaligned → keyhole button is vertically misaligned
Comment 16•17 years ago
|
||
>Have you considered making the keyhole only 31px high
This would solve centering the keyhole, but everything on our navigation toolbar has a default size that is even (icons at 24 pixels tall, location bar at 22 pixels tall). If we have an odd pixel height for the toolbar as a whole, everything will be 1 pixel off center, not just the keyhole.
Comment 17•17 years ago
|
||
(In reply to comment #16)
> everything will be 1 pixel off center, not just the keyhole.
True. OTOH that's what Explorer does as well (which is what we're aiming for to look as native as possible).
Comment 18•17 years ago
|
||
>OTOH that's what Explorer does as well (which is what we're aiming for to
>look as native as possible).
I think people will be more likely to notice that our toolbar icons are not vertically aligned then they are to notice the difference between Firefox and Explorer.
Comment 20•17 years ago
|
||
We shouldn't be copying Explorer's misalignments for the sake of a native feel. After all, most users associate native-ness through colors and shapes, not alignment.
Comment 21•17 years ago
|
||
Looks like this isn't a native/non-native issue after all: For some reason we add a 1px padding above all large toolbar buttons but not below (see the URL). That explains why Explorer's toolbars are of even size while ours are odd. Guess we should correct that...
Summary: keyhole button is vertically misaligned → large toolbar buttons are vertically misaligned
Comment 22•17 years ago
|
||
Comment on attachment 302391 [details] [diff] [review]
Patch v1.1
Mrtb: Care to provide an updated patch (and then ask Gavin or Asaf for review)?
Attachment #302391 -
Attachment is obsolete: true
Attachment #302391 -
Flags: review?
Comment 24•17 years ago
|
||
Dão: while you are adjusting this, can you give us a 36 pixel tall toolbar so that they keyhole has 2 pixels of space above and below it, and also add 2 pixels of padding in between the window frame and the left side of the etch.
Comment 25•17 years ago
|
||
(In reply to comment #24)
> also add 2 pixels of padding in between the window frame and the left side
... without regressing bug 414842. ;-)
Assignee | ||
Comment 26•17 years ago
|
||
(In reply to comment #24)
> Dão: while you are adjusting this, can you give us a 36 pixel tall toolbar so
> that they keyhole has 2 pixels of space above and below it
That would be 40 px instead of 38 px, so 2 px more just for the keyhole. That seems wrong. We already have a problem with consuming too much vertical space, especially if both the personal toolbar and the tabbar are shown.
The forward button (without the keyhole's permanent outline!) looks already bigger than the normal icons. Can we put the keyhole on a diet?
Comment 27•17 years ago
|
||
>That would be 40 px instead of 38 px, so 2 px more just for the keyhole. ... Can >we put the keyhole on a diet?
Here is a clarification of the change I requested. The toolbar height is 36 pixels (so in addition to the keyhole the location bar is also centered vertically). The keyhole has a padding of 2 pixels above, below, and to the left of it, and the back button is now vertically aligned with the F in File, which I believe we tried to do in Firefox 2 as well.
Comment 28•17 years ago
|
||
>and the back button is now vertically aligned with the F in File
Never mind on that point, I just realized that it is currently aligned with the F in File, and when I quickly made the mockup I pushed everything two pixels in. Giving the etch some padding is more important than lining up with the file menu though.
Assignee | ||
Comment 29•17 years ago
|
||
I'm not arguing against horizontal padding, I'm arguing against making the toolbar higher. If we weigh (A) a 1 pixel padding on the top and the bottom of the keyhole or (B) making the keyhole consume less space against making the toolbar 2 pixels higher, I think (A) or (B) wins as the less evil thing.
Comment 30•17 years ago
|
||
I really don't think users are going to care between a 36 pixel tall toolbar (proposed) and a 35 pixel tall toolbar (current).
Assignee | ||
Comment 31•17 years ago
|
||
No user will notice. However, it's something that adds to the overall picture.
For example, see Firefox 2 being featured here:
http://www.istartedsomething.com/20080303/internet-explorer-8-interface-not-fat/
Note that the 35 px (+ border) height comes from the bug that Simon discovered. It's 34 px with the attached patch.
Assignee | ||
Comment 32•17 years ago
|
||
(In reply to comment #26)
> The forward button (without the keyhole's permanent outline!) looks already
> bigger than the normal icons. Can we put the keyhole on a diet?
To stress this, I also think the forward button and the keyhole outline being higher than the location bar hurts the desired mirror effect.
Assignee | ||
Comment 33•17 years ago
|
||
Assignee: nobody → dao
Attachment #306919 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #307351 -
Flags: review?(mano)
Attachment #306919 -
Flags: review?(mano)
Comment 34•17 years ago
|
||
Comment on attachment 307351 [details] [diff] [review]
remove the top padding, fix the keyhole's padding, drive-by cleanup
r=mano
Attachment #307351 -
Flags: review?(mano) → review+
Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Comment 35•17 years ago
|
||
Checking in browser/themes/gnomestripe/browser/browser.css;
/cvsroot/mozilla/browser/themes/gnomestripe/browser/browser.css,v <-- browser.css
new revision: 1.199; previous revision: 1.198
done
Checking in browser/themes/winstripe/browser/browser.css;
/cvsroot/mozilla/browser/themes/winstripe/browser/browser.css,v <-- browser.css
new revision: 1.186; previous revision: 1.185
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 beta5
You need to log in
before you can comment on or make changes to this bug.
Description
•