Closed
Bug 1398531
Opened 4 years ago
Closed 4 years ago
[Photon] Zoom indicator in hamburger menu looks bulky
Categories
(Firefox :: Menus, defect, P1)
Tracking
()
VERIFIED
FIXED
Firefox 57
| Tracking | Status | |
|---|---|---|
| firefox-esr52 | --- | unaffected |
| firefox55 | --- | unaffected |
| firefox56 | --- | unaffected |
| firefox57 | + | verified |
| firefox58 | --- | verified |
People
(Reporter: wip.the.gruik, Assigned: mikedeboer)
References
(Depends on 1 open bug)
Details
(Whiteboard: [reserve-photon-structure])
Attachments
(5 files)
|
59 bytes,
text/x-review-board-request
|
Gijs
:
review+
Sylvestre
:
approval-mozilla-beta+
|
Details |
|
355.37 KB,
image/bmp
|
Details | |
|
120.71 KB,
image/bmp
|
Details | |
|
489.90 KB,
image/bmp
|
Details | |
|
1.40 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
To my eyes, the zoom indicator in the hamburger menu feels a little bulky and eye-catching. It is smaller and brighter on the mock-up: https://mozilla.invisionapp.com/share/ZKBC94BPQ#/screens/230516723
Comment 1•4 years ago
|
||
It's probably so high, due to button size standardization.
Whiteboard: [photon-visual] [triage]
Updated•4 years ago
|
Whiteboard: [photon-visual] [triage] → [photon-structure] [triage]
Updated•4 years ago
|
Flags: qe-verify?
Priority: -- → P4
Whiteboard: [photon-structure] [triage] → [reserve-photon-structure]
Updated•4 years ago
|
Flags: qe-verify? → qe-verify+
QA Contact: gwimberly
| Assignee | ||
Updated•4 years ago
|
Assignee: nobody → mdeboer
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
| Comment hidden (mozreview-request) |
Comment 3•4 years ago
|
||
| mozreview-review | ||
Comment on attachment 8910271 [details] Bug 1398531 - Toolbarbuttons are standardized with a min-height of 24px, but the zoom percentage button is text-only, thus needs a different treatment. https://reviewboard.mozilla.org/r/181766/#review187098 I mean, I kind of like the current state, but OK!
Attachment #8910271 -
Flags: review?(gijskruitbosch+bugs) → review+
| Assignee | ||
Comment 4•4 years ago
|
||
| mozreview-review | ||
Comment on attachment 8910271 [details] Bug 1398531 - Toolbarbuttons are standardized with a min-height of 24px, but the zoom percentage button is text-only, thus needs a different treatment. https://reviewboard.mozilla.org/r/181766/#review187116
Attachment #8910271 -
Flags: review+
Pushed by mdeboer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/81457c208695 Toolbarbuttons are standardized with a min-height of 24px, but the zoom percentage button is text-only, thus needs a different treatment. r=Gijs
Updated•4 years ago
|
Iteration: --- → 57.3 - Sep 19
Priority: P4 → P1
Comment 6•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/81457c208695
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Comment 7•4 years ago
|
||
Hi Mike, I tested this issue and the actual results are in the attachment Tell me it is the expected behavior? [Note]: I marked the differences with red.
Flags: needinfo?(mdeboer)
| Assignee | ||
Comment 8•4 years ago
|
||
(In reply to Valentina Claudia Ona from comment #7) > Created attachment 8911128 [details] > zoom indicator.bmp > > Hi Mike, > I tested this issue and the actual results are in the attachment > Tell me it is the expected behavior? > > [Note]: I marked the differences with red. The change you noticed in there is the _width_ of the button, whereas this bug changed the _height_ - you can measure that change in the same picture too. The width change was bug 1379357.
Flags: needinfo?(mdeboer)
Comment 9•4 years ago
|
||
I retested this issue and I can't see differences between the old height (Nightly 57.0a1 from 2017-09-06) and the new height (Latest Nightly 58.0a1). So please tell me which are the specifications? If I compare with the specifications we have 24 px. https://mozilla.invisionapp.com/share/ZKBC94BPQ#/screens/230516723
Flags: needinfo?(mdeboer)
| Reporter | ||
Comment 11•4 years ago
|
||
Checked on Nightly 58.0a1 20170922100051 on Windows 7, there is no difference whatsoever before and after the patch. Although the specifications/mock-up do not give any explicit height for the zoom button, I measured one of 16px. So, the patch has landed but the issue is obviously not fixed. Can we reopen this bug or should I file a new one ?
| Assignee | ||
Updated•4 years ago
|
Status: RESOLVED → REOPENED
Flags: needinfo?(mdeboer)
Resolution: FIXED → ---
| Assignee | ||
Updated•4 years ago
|
Status: REOPENED → NEW
Priority: P1 → P3
Updated•4 years ago
|
Assignee: mdeboer → nobody
Iteration: 57.3 - Sep 19 → ---
| Assignee | ||
Updated•4 years ago
|
Assignee: nobody → mdeboer
Status: NEW → ASSIGNED
Priority: P3 → P1
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 15•4 years ago
|
||
| mozreview-review | ||
Comment on attachment 8910271 [details] Bug 1398531 - Toolbarbuttons are standardized with a min-height of 24px, but the zoom percentage button is text-only, thus needs a different treatment. https://reviewboard.mozilla.org/r/181766/#review188402 ::: browser/themes/shared/customizableui/panelUI.inc.css:1374 (Diff revision 3) > margin-inline-start: 10px; > } > > /* An em-based minimum height works better for a text-only button. */ > #appMenu-zoomReset-button { > - min-height: 2em; > + min-height: calc(1em + 8px); What happens if we just use unset/auto?
Attachment #8910271 -
Flags: review+
| Assignee | ||
Comment 16•4 years ago
|
||
(In reply to :Gijs from comment #15) > What happens if we just use unset/auto? Brilliant! 'unset' does the job just fine as well and is much cleaner. Nice.
| Comment hidden (mozreview-request) |
Comment 18•4 years ago
|
||
| mozreview-review | ||
Comment on attachment 8910271 [details] Bug 1398531 - Toolbarbuttons are standardized with a min-height of 24px, but the zoom percentage button is text-only, thus needs a different treatment. https://reviewboard.mozilla.org/r/181766/#review188414 Great, rs=me!
Attachment #8910271 -
Flags: review?(gijskruitbosch+bugs) → review+
Updated•4 years ago
|
| Assignee | ||
Comment 19•4 years ago
|
||
[Tracking Requested - why for this release]: Small look & feel change, trivial to uplift.
tracking-firefox57:
--- → ?
Comment 20•4 years ago
|
||
Pushed by mdeboer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7eb30eea1779 Toolbarbuttons are standardized with a min-height of 24px, but the zoom percentage button is text-only, thus needs a different treatment. r=Gijs
Comment 21•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7eb30eea1779
Status: ASSIGNED → RESOLVED
Closed: 4 years ago → 4 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Comment 22•4 years ago
|
||
Comment on attachment 8910271 [details] Bug 1398531 - Toolbarbuttons are standardized with a min-height of 24px, but the zoom percentage button is text-only, thus needs a different treatment. Approval Request Comment [Feature/Bug causing the regression]: photon stuff [User impact if declined]: zoom "pill" button in the hamburger looks a bit oversized [Is this code covered by automated tests?]: nope, styling only [Has the fix been verified in Nightly?]: not yet, but should be trivial [Needs manual test from QE? If yes, steps to reproduce]: not really... it's a 1-line CSS change [List of other uplifts needed for the feature/fix]: none - we just need the min-height to be "unset" here, instead of whatever it is on 57 (we landed 2 patches in this bug, maybe there be conflicts trying to graft this as-is, I'm not sure - but it's a 1-line change!) [Is the change risky?]: no [Why is the change risky/not risky?]: css-only 1-liner change, loads of beta to go. [String changes made/needed]: nope
Attachment #8910271 -
Flags: approval-mozilla-beta?
Updated•4 years ago
|
status-firefox55:
--- → unaffected
status-firefox56:
--- → unaffected
status-firefox-esr52:
--- → unaffected
| Reporter | ||
Comment 23•4 years ago
|
||
You're gonna hate me... but FYI the width change introduced in the latest patch lightly regressed what bug 1379357 fixed. At least on Windows 7, witch uses Segoe UI font family, it is 2 pixels short, making for a very subtle 'jump' when switching back and forth 90% and 100%. This rules fixes it for me: min-width: calc(3ch + 10px);
Comment 24•4 years ago
|
||
I verified this issue with latest Nightly 58.0a1 and now the zoom indicator is smaller than the "-" and "=" button, but still, in the specifications, it seems to be a bit smaller. Shorlander, what is your opinion in regards to this?
Flags: needinfo?(shorlander)
Comment 25•4 years ago
|
||
Comment on attachment 8910271 [details] Bug 1398531 - Toolbarbuttons are standardized with a min-height of 24px, but the zoom percentage button is text-only, thus needs a different treatment. Polish photon, taking it Should be in 57b4 (gtb tomorrow Thursday)
Attachment #8910271 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 26•4 years ago
|
||
Beta patch considering the concerns about whether this would apply and comment 23, this only adjusts the height, not the width. Please uplift this instead of the original patch, per discussion with Mike on IRC.
Attachment #8912673 -
Flags: review+
Comment 27•4 years ago
|
||
(In reply to Franck (Wip) from comment #23) > You're gonna hate me... but FYI the width change introduced in the latest > patch lightly regressed what bug 1379357 fixed. > > At least on Windows 7, witch uses Segoe UI font family, it is 2 pixels > short, making for a very subtle 'jump' when switching back and forth 90% and > 100%. > > This rules fixes it for me: min-width: calc(3ch + 10px); Can you file a separate bug for this, please?
Flags: needinfo?(wip.the.gruik)
Comment 29•4 years ago
|
||
| bugherderuplift | ||
https://hg.mozilla.org/releases/mozilla-beta/rev/555fadd8b835
Comment 30•4 years ago
|
||
(In reply to Franck (Wip) from comment #28) > Done. > It is bug 1403675. Thanks!
Comment 31•4 years ago
|
||
(In reply to Valentina Claudia Ona from comment #24) > Created attachment 8912599 [details] > zoom indicator (3).bmp > > I verified this issue with latest Nightly 58.0a1 and now the zoom indicator > is smaller than the "-" and "=" button, but still, in the specifications, it > seems to be a bit smaller. > Shorlander, what is your opinion in regards to this? Looks good to me. Bryan worked on that, getting his feedback.
Flags: needinfo?(shorlander) → needinfo?(bbell)
Comment 32•4 years ago
|
||
Looks good to me in Nightly 58.0a1 - Windows and Mac.
Flags: needinfo?(bbell)
Comment 33•4 years ago
|
||
What do you think about this issue? Should I mark this as verified fixed?
Flags: needinfo?(shorlander)
Comment 34•4 years ago
|
||
Based on the fact that in comment 33 and comment 32 this issue is fixed, I will mark this as verified fixed.
I also verified this bug on Beta 57.0b9 (20171016185129) under Windows 10 x64, Mac OS X 10.11 and Ubuntu 16.04 x64. Besides the issue mentioned in comment 31, I haven't seen any new ones during testing, so I will mark this as verified fixed.
Updated•4 years ago
|
Flags: needinfo?(shorlander)
You need to log in
before you can comment on or make changes to this bug.
Description
•