Closed
Bug 1290174
Opened 9 years ago
Closed 9 years ago
The font size is too small on the permission sections of the control center panel
Categories
(Firefox :: General, defect, P2)
Firefox
General
Tracking
()
VERIFIED
FIXED
Firefox 51
| Tracking | Status | |
|---|---|---|
| firefox51 | --- | verified |
People
(Reporter: florian, Assigned: jkt)
References
Details
(Whiteboard: [fxprivacy])
Attachments
(3 files)
The text on the lines where we have 'x' icons is small (smaller than on the mockup), and I'm afraid they may be unreadable to some people.
See attached screenshot, with the mockup on the left side and the actual implementation on the right side.
Updated•9 years ago
|
Whiteboard: [privacy] [triage]
Comment 1•9 years ago
|
||
The text seems to be the same size as the tab titles, tooltips, and other system messages, so arguably if we have a readability issue here we also have one with the whole default theme.
Other labels in the Control Center have larger text though, so it might be useful to get some consistency.
Using larger text makes it more likely for the permission line to wrap, and maybe this was taken into account when the list of permissions was implemented in the Control Center.
The text size hasn't changed in bug 1203292, removing the dependency to clarify.
No longer blocks: 1203292
Updated•9 years ago
|
Whiteboard: [privacy] [triage] → [fxprivacy][triage]
Updated•9 years ago
|
Assignee: nobody → jkt
Flags: qe-verify+
Priority: -- → P2
Whiteboard: [fxprivacy][triage] → [fxprivacy]
Updated•9 years ago
|
Component: General → Layout: Text
Product: Firefox → Core
Comment 2•9 years ago
|
||
Moving this back to Firefox:General. AFAICS this isn't a core layout bug, it's a Firefox UI implementation issue.
Component: Layout: Text → General
Product: Core → Firefox
| Assignee | ||
Comment 3•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/69282/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/69282/
| Assignee | ||
Updated•9 years ago
|
Attachment #8777809 -
Flags: review?(jhofmann)
Updated•9 years ago
|
Attachment #8777809 -
Flags: review?(jhofmann) → review-
Comment 4•9 years ago
|
||
Comment on attachment 8777809 [details]
Bug 1290174 - Increasing text size of permission prompts and spacing around icons.
https://reviewboard.mozilla.org/r/69282/#review66398
::: browser/themes/shared/controlcenter/panel.inc.css:381
(Diff revision 1)
> }
>
> .identity-popup-permission-icon {
> width: 16px;
> height: 16px;
> + margin-inline-end: 18px;
Not sure how it looks on your machine, but on my Mac 18px on each seems a bit much, especially for the state labels on the right. (I'll attach a screenshot). After playing around with it 10px and 6px feel right to me.
::: browser/themes/shared/controlcenter/panel.inc.css:385
(Diff revision 1)
> height: 16px;
> + margin-inline-end: 18px;
> }
>
> .identity-popup-permission-label {
> margin-inline-start: 1em;
I think this rule is being overridden and can be removed now.
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
(In reply to Johann Hofmann [:johannh] from comment #4)
> Not sure how it looks on your machine, but on my Mac 18px on each seems a
> bit much, especially for the state labels on the right. (I'll attach a
> screenshot). After playing around with it 10px and 6px feel right to me.
As far as I can tell, the permission manes should still be aligned with the "Permissions" header.
This is what the margin of 1em on ".identity-popup-permission-label" was doing, the same 1em start margin can probably be used as the end margin on the icon to achieve the same effect.
Comment 7•9 years ago
|
||
For the margin between the button and the text, we can definitely increase that but be aware that the less space we give to the text, the more chances we have that it wraps on multiple lines for some locales.
Comment 8•9 years ago
|
||
(In reply to :Paolo Amadini from comment #6)
> (In reply to Johann Hofmann [:johannh] from comment #4)
> > Not sure how it looks on your machine, but on my Mac 18px on each seems a
> > bit much, especially for the state labels on the right. (I'll attach a
> > screenshot). After playing around with it 10px and 6px feel right to me.
>
> As far as I can tell, the permission manes should still be aligned with the
> "Permissions" header.
>
> This is what the margin of 1em on ".identity-popup-permission-label" was
> doing, the same 1em start margin can probably be used as the end margin on
> the icon to achieve the same effect.
Yes, good point. 1em might be the way to go for that. Thanks!
We should still decrease the right label distance to the x.
I tried how it looks with wrapping and I think it looks acceptable if it's not happening too often.
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 12•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8777809 [details]
Bug 1290174 - Increasing text size of permission prompts and spacing around icons.
https://reviewboard.mozilla.org/r/69282/#review67176
Looks good now, thanks!
::: browser/themes/shared/controlcenter/panel.inc.css:389
(Diff revision 4)
> .identity-popup-permission-label {
> margin-inline-start: 1em;
> }
>
> .identity-popup-permission-state-label {
> + margin-inline-end: 3px;
Note that the state labels on Windows are a bit too close to the (x) icons for my personal taste. I would suggest adding 1 or 2 px here.
Attachment #8777809 -
Flags: review?(jhofmann) → review+
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 14•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/8bdde675e429d79fc707ec2327de05d3fae31f65
Bug 1290174 - Increasing text size of permission prompts and spacing around icons. r=johannh
Comment 15•9 years ago
|
||
Pushed by jhofmann@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/8bdde675e429
Increasing text size of permission prompts and spacing around icons. r=johannh
Keywords: checkin-needed
Comment 16•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Comment 17•9 years ago
|
||
This fix caused a misalignment on Windows between Allow/Block and the X button - http://imgur.com/a/TZD6s
Comment 18•9 years ago
|
||
Verified fixed FX 51.0a1 (2016-08-17) Win 7, Ubuntu 14.04, OS X 10.12
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•