Closed Bug 813316 Opened 13 years ago Closed 13 years ago

[OS X] User menu item appears blank at top of social provider tools menu

Categories

(Firefox Graveyard :: SocialAPI, defect)

All
macOS
defect
Not set
normal

Tracking

(firefox19 verified)

VERIFIED FIXED
Firefox 20
Tracking Status
firefox19 --- verified

People

(Reporter: MattN, Assigned: Felipe)

References

Details

Attachments

(3 files)

On OS X Nightly there seems to be an empty menu item at the beginning of the Facebook submenu. Not reproducible on Windows.
It's the user's name and profile picture that is missing on OS X.
Summary: Blank menu item appears at top of social provider tools menu → [OS X] User menu item appears blank at top of social provider tools menu
Regression from bug 805217, presumably?
Assignee: nobody → jaws
(In reply to :Gavin Sharp (use gavin@gavinsharp.com for email) from comment #2) > Regression from bug 805217, presumably? Yeah. Turns out the Mac popup menu supports CSS styling (when opened from the toolbar button), but the menu that opens from the native top menu row doesn't, so we'll have to use a standard label and icon there. I've got a patch almost ready for that, just need to compile and see if it works :)
Assignee: jaws → felipc
Blocks: 805217
Status: NEW → ASSIGNED
Attached patch PatchSplinter Review
Since the menuitem needs the two properties (image/label), I merged the broadcasters into one. The other elements will inherit some unused properties but that's ok
Attachment #683379 - Flags: review?(jaws)
Comment on attachment 683379 [details] [diff] [review] Patch Review of attachment 683379 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for putting together a fix for this so quickly. ::: browser/base/content/browser-menubar.inc @@ +506,5 @@ > key="key_openAddons" > command="Tools:Addons"/> > <menu id="menu_socialAmbientMenu"> > <menupopup id="menu_social-statusarea-popup"> > + <menuitem class="social-statusarea-user menuitem-iconic" pack="start" align="center" observes="socialBroadcaster_userPortrait" nit: can you put the observes="..." on its own line? ::: browser/base/content/browser-sets.inc @@ +251,5 @@ > label="&getMoreDevtoolsCmd.label;" > oncommand="openUILinkIn('https://addons.mozilla.org/firefox/collections/mozilla/webdeveloper/', 'tab');"/> > > <!-- SocialAPI broadcasters --> > + <broadcaster id="socialBroadcaster_userPortrait" This should be renamed since it is no longer only about the user portrait. Maybe socialBroadcaster_userDetails ?
Attachment #683379 - Flags: review?(jaws) → review+
Attached image Screenshot
Screenshot of the fix showing how the user portrait icon is displayed as 16x16 there. It still shows as 32x32 on the menu that pops up from the toolbar button
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
My profile picture and name now show in the menu item 20.0a1 (2012-11-21)
Status: RESOLVED → VERIFIED
Comment on attachment 683379 [details] [diff] [review] Patch Bug 805217 landed on 19, and this fix landed on m-c for 20, so we need to uplift this one for aurora [Approval Request Comment] Bug caused by (feature/regressing bug #): Bug 805217 User impact if declined: Blank menu entry on Mac native menu Testing completed (on m-c, etc.): landed on m-c Risk to taking this patch (and alternatives if risky): very small, limited to social menuitems String or UUID changes made by this patch: none
Attachment #683379 - Flags: approval-mozilla-aurora?
Attachment #683379 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Working on FF 19 beta 5. User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:19.0) Gecko/20100101 Firefox/19.0 Build ID: 20130206083616
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: