Closed
Bug 987792
Opened 11 years ago
Closed 11 years ago
The bottom part of the letter 'g' is clipped on two-line buttons in the menu panel and one-line labels in the customization palette
Categories
(Firefox :: Toolbars and Customization, defect)
Firefox
Toolbars and Customization
Tracking
()
VERIFIED
FIXED
Firefox 31
People
(Reporter: jaws, Assigned: Gijs)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [Australis:P3-])
Attachments
(2 files)
742.38 KB,
image/png
|
Details | |
1.52 KB,
patch
|
jaws
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
The bottom part of the letter 'g' is clipped on two-line buttons in the menu panel and one-line labels in the customization palette.
The interesting part is that in the panel we use the .multiline-toolbarbutton-text label and in the palette we use the .toolbarbutton-text label.
Assignee | ||
Updated•11 years ago
|
Whiteboard: [Australis:P4] → [Australis:P3-]
Comment 2•11 years ago
|
||
The German "Preferences" ("Einstellungen") is affected and it looks really wrong. But the interesting part is: it looks not so bad in the first and in the third row of widgets, but in the second and in the fourth row, see the screenshot.
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Sören Hentzschel from comment #2)
> Created attachment 8405543 [details]
> australis-menu.png
>
> The German "Preferences" ("Einstellungen") is affected and it looks really
> wrong. But the interesting part is: it looks not so bad in the first and in
> the third row of widgets, but in the second and in the fourth row, see the
> screenshot.
This probably has to do with pixel snapping of rounded values and such. It's cut off everywhere. :-\
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•11 years ago
|
||
So this fixes things on OS X, at least. I would have preferred to use a calc() expression but they don't seem to work inside rect()s... going to test this on Win8/7/XP and Linux before I ask for review, on the understanding that this is hacky but we should do /something/.
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8406166 [details] [diff] [review]
increase clip rect height,
Review of attachment 8406166 [details] [diff] [review]:
-----------------------------------------------------------------
This seems to work well on Windows 7/8/XP, Linux and OS X. I couldn't reproduce the palette case, so I've left that alone.
Attachment #8406166 -
Flags: review?(jaws)
Reporter | ||
Comment 6•11 years ago
|
||
Comment on attachment 8406166 [details] [diff] [review]
increase clip rect height,
Review of attachment 8406166 [details] [diff] [review]:
-----------------------------------------------------------------
I tested this with two lines of 'ggg ggg' and a third line of 'TTT' and didn't see the third line peeking through.
Attachment #8406166 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 7•11 years ago
|
||
Whiteboard: [Australis:P3-] → [Australis:P3-][fixed-in-fx-team]
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8406166 [details] [diff] [review]
increase clip rect height,
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Australis
User impact if declined: gs and some other descenders in the labels of panel menu buttons might get clipped under some circumstances
Testing completed (on m-c, etc.): local, soon on m-c
Risk to taking this patch (and alternatives if risky): low, although there is always the theoretical risk that our testing missed this change showing the tip of the third line of text under some font sizes; none of my manual testing showed any such thing happening, however, and it's arguably better that such a thing would happen than the current issue, as buttons with 3 lines are much more rare than buttons with 2 that have descenders in the second line.
String or IDL/UUID changes made by this patch: none
Attachment #8406166 -
Flags: approval-mozilla-beta?
Attachment #8406166 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #8406166 -
Flags: approval-mozilla-beta?
Attachment #8406166 -
Flags: approval-mozilla-beta+
Attachment #8406166 -
Flags: approval-mozilla-aurora?
Attachment #8406166 -
Flags: approval-mozilla-aurora+
Comment 9•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3-][fixed-in-fx-team] → [Australis:P3-]
Target Milestone: --- → Firefox 31
Assignee | ||
Comment 10•11 years ago
|
||
Updated•11 years ago
|
Comment 11•11 years ago
|
||
Verified as fixed with Firefox 29.0b9 de on Windows 7 64bit, Ubuntu 13.04 32bit and Mac OS X 10.9.2.
Comment 12•11 years ago
|
||
Verified as fixed using the following environment:
FF Aurora 30
Build Id: 20140425004002
OS: Win 7 x64, Ubuntu 13.04 x64 and Mac Os X 10.0
Comment 13•11 years ago
|
||
Verified as fixed using the following environment:
FF 31.0b2
Build Id: 20140505140302
OS: Win 7 x64, Mac Os X 10.7.5, Ubuntu 13.04 x64
Comment 14•11 years ago
|
||
It's not fixed completely : the g is still clipped in the customization palette (ie. one line label) on Windows 7 at least.
Assignee | ||
Comment 15•11 years ago
|
||
(In reply to Guillaume C. [:ge3k0s] from comment #14)
> It's not fixed completely : the g is still clipped in the customization
> palette (ie. one line label) on Windows 7 at least.
Please file a separate bug for this.
You need to log in
before you can comment on or make changes to this bug.
Description
•