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)
Tracking
(firefox19 verified)
VERIFIED
FIXED
Firefox 20
Tracking | Status | |
---|---|---|
firefox19 | --- | verified |
People
(Reporter: MattN, Assigned: Felipe)
References
Details
Attachments
(3 files)
53.07 KB,
image/png
|
Details | |
6.41 KB,
patch
|
jaws
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
115.43 KB,
image/png
|
Details |
On OS X Nightly there seems to be an empty menu item at the beginning of the Facebook submenu.
Not reproducible on Windows.
Reporter | ||
Comment 1•13 years ago
|
||
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
Assignee | ||
Comment 3•13 years ago
|
||
(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 | ||
Comment 4•13 years ago
|
||
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 5•13 years ago
|
||
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+
Assignee | ||
Comment 6•13 years ago
|
||
Assignee | ||
Comment 7•13 years ago
|
||
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
![]() |
||
Comment 8•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Reporter | ||
Comment 9•13 years ago
|
||
My profile picture and name now show in the menu item
20.0a1 (2012-11-21)
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 10•13 years ago
|
||
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?
![]() |
||
Updated•13 years ago
|
Attachment #683379 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 11•13 years ago
|
||
status-firefox19:
--- → fixed
Comment 12•13 years ago
|
||
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
Updated•7 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•