Closed Bug 1391593 Opened 7 years ago Closed 7 years ago

Use same amount of padding vertically as horizontally for bookmark items

Categories

(Firefox :: Theme, defect, P1)

57 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 57
Iteration:
57.3 - Sep 19
Tracking Status
firefox57 --- verified
firefox58 --- verified

People

(Reporter: afnankhan, Assigned: johannh)

References

Details

(Whiteboard: [reserve-photon-visual])

Attachments

(5 files)

Attached image bookmark bar.PNG
Currently, bookmark items have 4px padding horizontally. Use the same amount of padding vertically.
This is for normal density. Changing density should also increase or decrease padding for bookmark items.
Whiteboard: [photon-visual][triage]
shorlander, please confirm or close as needed.
Blocks: 1388676
Flags: needinfo?(shorlander)
Priority: -- → P5
Whiteboard: [photon-visual][triage] → [reserve-photon-visual]
The visual spacing is keyed off of the tallest elements (Back button) and should be 4px on top and bottom. So something does look off there.
Flags: needinfo?(shorlander)
Assignee: nobody → jhofmann
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Iteration: --- → 57.3 - Sep 19
Flags: qe-verify?
Priority: P5 → P1
Comment on attachment 8909296 [details]
Bug 1391593 - Increase the bottom padding of the bookmarks toolbar by 1px.

https://reviewboard.mozilla.org/r/180876/#review186448
Attachment #8909296 - Flags: review?(nhnt11) → review+
Pushed by jhofmann@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2dc160bb6a34
Increase the bottom padding of the bookmarks toolbar by 1px. r=nhnt11
https://hg.mozilla.org/mozilla-central/rev/2dc160bb6a34
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Depends on: 1401523
Attached image Normal Mode.png
Hello. I took a look at the latest Trunk 57.0a1 (2017-09-21) today and I noticed that the vertically padding still has not the same height.

Please find attached two screenshots showing it in Normal and Compact Mode.

May be adding 1px more padding at the bottom could be good compromise between Normal and Compact Mode. What do you think?

Can you please check this again? Thank you very much in advance :-)
Attached image Compact Mode.png
+ screenshot compact mode
Flags: qe-verify? → qe-verify+
QA Contact: ovidiu.boca
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20170926220106

This issue has been verified on latest Firefox Nightly Build ID: 20170926220106 on Windows 8.1 x64, Mac OS 10.12 and Ubuntu 14.04 and it is still reproducible. The padding from the bottom of the bookmarks toolbar is not the same with the padding from the top of it. Confirming the picture from comment 11 .

@Nihanth, can you please take a look at this? Is there anything that can be done here?
Flags: needinfo?(nhnt11)
Uh, Johann, could you comment on this? I'm not sure I know what the exact goal was here, I just r+'d the code based on the commit message. :)
Flags: needinfo?(nhnt11) → needinfo?(jhofmann)
(In reply to Vlad Bacia-Mociran [:VladB] from comment #12)
> User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:58.0) Gecko/20100101
> Firefox/58.0
> Build ID: 20170926220106
> 
> This issue has been verified on latest Firefox Nightly Build ID:
> 20170926220106 on Windows 8.1 x64, Mac OS 10.12 and Ubuntu 14.04 and it is
> still reproducible. The padding from the bottom of the bookmarks toolbar is
> not the same with the padding from the top of it. Confirming the picture
> from comment 11 .
> 
> @Nihanth, can you please take a look at this? Is there anything that can be
> done here?

It's not supposed to be the same, what are these claims based on? The navbar has some vertical padding at its bottom that adds up to it. Measuring the bookmarks toolbar height relative to elements in the navbar is just not correct.
Flags: needinfo?(jhofmann)
(In reply to Johann Hofmann [:johannh] from comment #14)
> It's not supposed to be the same, what are these claims based on? The navbar
> has some vertical padding at its bottom that adds up to it. Measuring the
> bookmarks toolbar height relative to elements in the navbar is just not
> correct.

I was referring to the screenshots from comment 10 and comment 11. Until now nobody said that this is not correct. 

Although, after looking at the mockups, the padding seems to be implemented as requested.
Flags: needinfo?(jhofmann)
(In reply to Vlad Bacia-Mociran [:VladB] from comment #15)
> (In reply to Johann Hofmann [:johannh] from comment #14)
> > It's not supposed to be the same, what are these claims based on? The navbar
> > has some vertical padding at its bottom that adds up to it. Measuring the
> > bookmarks toolbar height relative to elements in the navbar is just not
> > correct.
> 
> I was referring to the screenshots from comment 10 and comment 11. Until now
> nobody said that this is not correct. 

Alright, just to clarify: The assumption that the bookmark toolbar items should have the same distance to the urlbar as to the lower border is not correct.
Flags: needinfo?(jhofmann)
(In reply to Johann Hofmann [:johannh] from comment #16)
> (In reply to Vlad Bacia-Mociran [:VladB] from comment #15)
> > (In reply to Johann Hofmann [:johannh] from comment #14)
> > > It's not supposed to be the same, what are these claims based on? The navbar
> > > has some vertical padding at its bottom that adds up to it. Measuring the
> > > bookmarks toolbar height relative to elements in the navbar is just not
> > > correct.
> > 
> > I was referring to the screenshots from comment 10 and comment 11. Until now
> > nobody said that this is not correct. 
> 
> Alright, just to clarify: The assumption that the bookmark toolbar items
> should have the same distance to the urlbar as to the lower border is not
> correct.

Thank you. Then, from my point of view the issue is fixed and I cannot reproduce it (comment 0 and comment 3).
Based on previous comments, mark this bug verified on Firefox 58.
Based on previous comments, marking this bug verified on Firefox 57.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: