Closed
Bug 1367009
Opened 7 years ago
Closed 7 years ago
Sidebar header label is too small
Categories
(Firefox :: Theme, defect, P1)
Tracking
()
People
(Reporter: dao, Assigned: dao)
References
Details
(Whiteboard: [reserve-photon-structure])
Attachments
(2 files)
Seeing this on Linux, not sure if this bug manifests on Windows and Mac since I think they have smaller default font sizes. This is due to browser/themes/shared/sidebar.inc.css hardcoding the font size. It should use the system default instead.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Assignee | ||
Updated•7 years ago
|
Attachment #8870367 -
Flags: review?(bgrinstead)
Comment 2•7 years ago
|
||
This ends up too small on osx (and windows too IIRC)
Comment 3•7 years ago
|
||
Based off of the spec: https://mozilla.invisionapp.com/share/XSBHN694Y#/screens/231191185_Explainer_-_Sidebar
Comment 4•7 years ago
|
||
The system font size on osx is smaller than the tree children in the bookmarks tree (tree children are set to 12px, system font size appears to be 11px): https://dxr.mozilla.org/mozilla-central/source/browser/themes/osx/places/places.css#23
Assignee | ||
Comment 5•7 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #3) > Based off of the spec: > https://mozilla.invisionapp.com/share/XSBHN694Y#/screens/ > 231191185_Explainer_-_Sidebar The Bookmarks label uses the same font size as used in tabs, for instance, i.e. the system font size. (In reply to Brian Grinstead [:bgrins] from comment #4) > The system font size on osx is smaller than the tree children in the > bookmarks tree (tree children are set to 12px, system font size appears to > be 11px): > https://dxr.mozilla.org/mozilla-central/source/browser/themes/osx/places/ > places.css#23 Sounds like we should fix the sidebar content to use the system font size too.
Comment 6•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #5) > (In reply to Brian Grinstead [:bgrins] from comment #3) > > Based off of the spec: > > https://mozilla.invisionapp.com/share/XSBHN694Y#/screens/ > > 231191185_Explainer_-_Sidebar > > The Bookmarks label uses the same font size as used in tabs, for instance, > i.e. the system font size. > > (In reply to Brian Grinstead [:bgrins] from comment #4) > > The system font size on osx is smaller than the tree children in the > > bookmarks tree (tree children are set to 12px, system font size appears to > > be 11px): > > https://dxr.mozilla.org/mozilla-central/source/browser/themes/osx/places/ > > places.css#23 > > Sounds like we should fix the sidebar content to use the system font size > too. OK, let's do that. Can you update your patch?
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8870367 [details] Bug 1367009 - Make the sidebar header use the system font size on Windows and Linux and let it match the sidebar content on Mac. https://reviewboard.mozilla.org/r/141814/#review145592 Clearing review as per Comments 4-6 since this makes the header on osx smaller than the sidebar contents. I can test on Windows later today
Attachment #8870367 -
Flags: review?(bgrinstead)
Assignee | ||
Comment 8•7 years ago
|
||
So on Windows we don't specify a font size in places.css, i.e. we're using the system font size there. That's good. Mac's places.css seems to be deliberately different due to the inaccessibly small default system font size...
Comment 9•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #8) > So on Windows we don't specify a font size in places.css, i.e. we're using > the system font size there. That's good. Mac's places.css seems to be > deliberately different due to the inaccessibly small default system font > size... Should we specify a custom sidebar header font size only on OSX then?
Comment hidden (mozreview-request) |
Assignee | ||
Comment 11•7 years ago
|
||
Comment on attachment 8870367 [details] Bug 1367009 - Make the sidebar header use the system font size on Windows and Linux and let it match the sidebar content on Mac. This contains an unintentional change
Attachment #8870367 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•7 years ago
|
Whiteboard: [photon-structure]
Comment hidden (mozreview-request) |
Comment 13•7 years ago
|
||
mozreview-review |
Comment on attachment 8870367 [details] Bug 1367009 - Make the sidebar header use the system font size on Windows and Linux and let it match the sidebar content on Mac. https://reviewboard.mozilla.org/r/141814/#review145606 ::: browser/themes/shared/sidebar.inc.css (Diff revision 3) > list-style-image: url("chrome://global/skin/icons/loading@2x.png"); > width: 16px; > } > } > > -.sidebar-title, The .sidebar-title removal is unrelated to the fix, please revert the change to this line
Attachment #8870367 -
Flags: review?(bgrinstead) → review+
Assignee | ||
Comment 14•7 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #13) > Comment on attachment 8870367 [details] > Bug 1367009 - Make the sidebar header use the system font size on Windows > and Linux and let it match the sidebar content on Mac. > > https://reviewboard.mozilla.org/r/141814/#review145606 > > ::: browser/themes/shared/sidebar.inc.css > (Diff revision 3) > > list-style-image: url("chrome://global/skin/icons/loading@2x.png"); > > width: 16px; > > } > > } > > > > -.sidebar-title, > > The .sidebar-title removal is unrelated to the fix, please revert the change > to this line It's dead code. I don't feel like filing another bug and submitting another patch for this one-line drive-by-fix, but perhaps you had planned on doing this?
Flags: needinfo?(bgrinstead)
Comment 15•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #14) > (In reply to Brian Grinstead [:bgrins] from comment #13) > > Comment on attachment 8870367 [details] > > Bug 1367009 - Make the sidebar header use the system font size on Windows > > and Linux and let it match the sidebar content on Mac. > > > > https://reviewboard.mozilla.org/r/141814/#review145606 > > > > ::: browser/themes/shared/sidebar.inc.css > > (Diff revision 3) > > > list-style-image: url("chrome://global/skin/icons/loading@2x.png"); > > > width: 16px; > > > } > > > } > > > > > > -.sidebar-title, > > > > The .sidebar-title removal is unrelated to the fix, please revert the change > > to this line > > It's dead code. I don't feel like filing another bug and submitting another > patch for this one-line drive-by-fix, but perhaps you had planned on doing > this? This was discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1355324#c44 - it was kept there since it's used by some addons. IMO if we want to get rid of this then we should also get rid of all references to .sidebar-header and .sidebar-throbber[loading="true"]. If you don't think these styles are important for addon compat, then let's have a separate commit with the changes (I don't care if it's done in this bug or another though).
Flags: needinfo?(bgrinstead)
Updated•7 years ago
|
Whiteboard: [photon-structure] → [photon-structure] [triage]
Assignee | ||
Comment 16•7 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #15) > (In reply to Dão Gottwald [::dao] from comment #14) > > (In reply to Brian Grinstead [:bgrins] from comment #13) > > > Comment on attachment 8870367 [details] > > > Bug 1367009 - Make the sidebar header use the system font size on Windows > > > and Linux and let it match the sidebar content on Mac. > > > > > > https://reviewboard.mozilla.org/r/141814/#review145606 > > > > > > ::: browser/themes/shared/sidebar.inc.css > > > (Diff revision 3) > > > > list-style-image: url("chrome://global/skin/icons/loading@2x.png"); > > > > width: 16px; > > > > } > > > > } > > > > > > > > -.sidebar-title, > > > > > > The .sidebar-title removal is unrelated to the fix, please revert the change > > > to this line > > > > It's dead code. I don't feel like filing another bug and submitting another > > patch for this one-line drive-by-fix, but perhaps you had planned on doing > > this? > > This was discussed in > https://bugzilla.mozilla.org/show_bug.cgi?id=1355324#c44 - it was kept there > since it's used by some addons. IMO if we want to get rid of this then we > should also get rid of all references to .sidebar-header and > .sidebar-throbber[loading="true"]. If you don't think these styles are > important for addon compat, then let's have a separate commit with the > changes (I don't care if it's done in this bug or another though). Most of those add-on references to sidebar-title are in HTML. They're irrelevant here, we never matched them.
Comment 17•7 years ago
|
||
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eae551d04565 Make the sidebar header use the system font size on Windows and Linux and let it match the sidebar content on Mac. r=bgrins
Updated•7 years ago
|
Flags: qe-verify?
Priority: -- → P1
Whiteboard: [photon-structure] [triage] → [reserve-photon-structure]
Assignee | ||
Updated•7 years ago
|
Flags: qe-verify? → qe-verify+
Updated•7 years ago
|
QA Contact: gwimberly
Comment 18•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/eae551d04565
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•7 years ago
|
Iteration: --- → 55.6 - May 29
Comment 19•7 years ago
|
||
I've reproduced the issue on an affected build Nightly 55(20170524100215)on Ubuntu 16.04 x64 This is verified fixed in Nightly build 55.0a1 (20170526150217) -on Ubuntu 16.04 x64 , Windows 10 64bit, Windows 7 64bit The sidebar header label is of expected size and matches the content font size.
Comment 20•7 years ago
|
||
Verified on Windows 10 64bit, Mac OS X 10.13, Ubuntu 16.04 64bit using Nightly 58.0a1 (64-bit) as of this date.
status-firefox58:
--- → verified
You need to log in
before you can comment on or make changes to this bug.
Description
•