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)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 31
Tracking Status
firefox29 --- verified
firefox30 --- verified
firefox31 --- verified

People

(Reporter: jaws, Assigned: Gijs)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [Australis:P3-])

Attachments

(2 files)

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.
Whiteboard: [Australis:P4] → [Australis:P3-]
Attached image 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.
(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: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
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/.
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)
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+
Whiteboard: [Australis:P3-] → [Australis:P3-][fixed-in-fx-team]
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?
Attachment #8406166 - Flags: approval-mozilla-beta?
Attachment #8406166 - Flags: approval-mozilla-beta+
Attachment #8406166 - Flags: approval-mozilla-aurora?
Attachment #8406166 - Flags: approval-mozilla-aurora+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3-][fixed-in-fx-team] → [Australis:P3-]
Target Milestone: --- → Firefox 31
Verified as fixed with Firefox 29.0b9 de on Windows 7 64bit, Ubuntu 13.04 32bit and Mac OS X 10.9.2.
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
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
Status: RESOLVED → VERIFIED
Keywords: verifyme
It's not fixed completely : the g is still clipped in the customization palette (ie. one line label) on Windows 7 at least.
(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.
Depends on: 1028828
Depends on: 1095742
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: