Closed Bug 981419 Opened 10 years ago Closed 10 years ago

[OSX] Toolbar checkmarks in toolbar context menu are cut off and unrecognizable

Categories

(Firefox :: Theme, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 30
Tracking Status
firefox29 --- verified
firefox30 --- verified

People

(Reporter: Gijs, Assigned: bwinton)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [Australis:P3])

Attachments

(2 files)

Attached image Screenshot
I'm guessing it's somehow getting the panel styles applied, which it shouldn't...
(same happens on another profile which has the web developer toolbar, when I tick that item)

The main View > Toolbars submenu seems to be fine...
Summary: [OSX] Bookmarks toolbar checkmark in toolbar context menu is cut off and unrecognizable → [OSX] Toolbar checkmarks in toolbar context menu are cut off and unrecognizable
Ah:

-  skin/classic/global/menu/menu-check.png                            (menu/menu-check.png)
-  skin/classic/global/menu/menu-check@2x.png                         (menu/menu-check@2x.png)
+  skin/classic/global/menu/menu-check.png                            (../../shared/menu-check.png)
+  skin/classic/global/menu/menu-check@2x.png                         (../../shared/menu-check@2x.png)

The problem is that the old OS X menu-check.png is a 22x11 image, containing two 11x11 checkmarks (the extra is for the menuitem hover state, white-on-blue). The new image is a 16x16 image, containing a single centered 13x12 checkmark. The references in toolkit/themes/osx/global/menu.css need the old image.

Assuming the slightly-larger checkmark is intentional, the new panel checkmark should just be a new image instead of replacing the old one.


(In reply to :Gijs Kruitbosch from comment #1)

> The main View > Toolbars submenu seems to be fine...

That's a real Cocoa menu, so our stuff doesn't bother it.
Assignee: nobody → bwinton
How's this for a patch?  Make sense?  Name isn't too horrible?
(Tested on OS X, in theory should work on Windows/Linux. ;)
Attachment #8389194 - Flags: ui-review?(shorlander)
Attachment #8389194 - Flags: review?(gijskruitbosch+bugs)
Attachment #8389194 - Flags: feedback?(dolske)
Comment on attachment 8389194 [details] [diff] [review]
The first cut at the patch.

Review of attachment 8389194 [details] [diff] [review]:
-----------------------------------------------------------------

Ship it. I was totally going to do exactly this. I considered naming this "bookmarks-menu-arrow" instead, but for something in toolkit this is better.
Attachment #8389194 - Flags: review?(gijskruitbosch+bugs)
Attachment #8389194 - Flags: review+
Attachment #8389194 - Flags: feedback?(dolske)
remote:   https://hg.mozilla.org/integration/fx-team/rev/569c2bd2234e
Status: NEW → ASSIGNED
Whiteboard: [Australis:P3] → [Australis:P3][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/569c2bd2234e
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3][fixed-in-fx-team] → [Australis:P3]
Target Milestone: --- → Firefox 30
Comment on attachment 8389194 [details] [diff] [review]
The first cut at the patch.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): Australis
User impact if declined: checkmarks all over OS X's UI look bad after landing bug 979378
Testing completed (on m-c, etc.): locally, on fx-team, on m-c
Risk to taking this patch (and alternatives if risky): low, necessary for bug 979378 to work right
String or IDL/UUID changes made by this patch: none
Attachment #8389194 - Flags: approval-mozilla-aurora?
Attachment #8389194 - Flags: ui-review?(shorlander) → ui-review+
Attachment #8389194 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: