Closed
Bug 215893
Opened 21 years ago
Closed 17 years ago
Help / About menu item needs to be hidden on the Mac
Categories
(Core Graveyard :: Widget: Mac, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mscott, Assigned: jaas)
References
Details
Attachments
(1 file, 7 obsolete files)
(deleted),
patch
|
jhpedemonte
:
review+
|
Details | Diff | Splinter Review |
Don pointed this out to me. On OSX we move the preferences menu item and the
help / about menu item to a special mac menu. We then hide the preferences menu
from the original menu item. But we don't remove the original help / about menu
item.
Comments from Don:
This is a bug for all Mozilla apps, Mozilla, Firebird, and Thunderbird. The
global fix ( I believe) is to modify nsMenuBarX::AquifyMenuBar() to add the Help
-> About item ( and its separator) to complete the 'aquification' of the menubar
for all Mozilla apps. For some reason, this was not done when this method was
originally written.
Comment 2•21 years ago
|
||
Hardware should be set to Macintosh (I don't have permission)
Reporter | ||
Updated•21 years ago
|
Hardware: PC → Macintosh
Comment 3•21 years ago
|
||
The patch hides the duplicate About item in the Help menu to complete the
'aquification' of the Mac OS X menubar. This will work for all XP apps in the
tree.
Comment 4•21 years ago
|
||
Would this also fix bug 135258?
Comment 5•21 years ago
|
||
Stefan,
Yes, the patch in this bug will fix this for all cross platform apps, including
Mozilla.
Bug 135258 is related but really a duplicate.
Comment on attachment 130703 [details] [diff] [review]
Hides the Help -> About menuitem
@@ -148,6 +148,7 @@
nsCOMPtr<nsIContent> mQuitItemContent; // as above, but for quit
+ nsCOMPtr<nsIContent> mAboutItemContent; // and for the about item
Indentation is off here
Attachment #130703 -
Flags: superreview?(sfraser)
Attachment #130703 -
Flags: review?(mozeditor)
Comment 7•21 years ago
|
||
Comment on attachment 130703 [details] [diff] [review]
Hides the Help -> About menuitem
I don't see where mAboutItemContent ever gets invoked.
Comment 8•21 years ago
|
||
timeless, many appologies for the indentation error. New patch cleans it up.
Mr. Fraser: All items in the AquifyMenuBar() are unconditionally invoked by the
call on line 470-471
if ( !err && (result & gestaltMenuMgrAquaLayoutMask) )
AquifyMenuBar();
The AquifyMenuBar() method can be thought of as a list of items to hide. This
patch simply adds the Help/About menuitem and its separator to the list.
Updated•21 years ago
|
Attachment #130703 -
Attachment is obsolete: true
Updated•21 years ago
|
Attachment #132389 -
Attachment is obsolete: true
Comment 9•21 years ago
|
||
Mr. Fraser, Many apologies. I misunderstood your comment.
The correct variable to save a reference to is aboutContent.
This patch addresses the mistake as well as edits a comment on line 466 to
reflect this change.
Attachment #130703 -
Flags: superreview?(sfraser)
Attachment #130703 -
Flags: review?(mozeditor)
Attachment #132462 -
Flags: superreview?(sfraser)
Attachment #132462 -
Flags: review?(mozeditor)
Comment 10•21 years ago
|
||
This id already exists in Thunerbird. Needs to be added to Firebird to avoid
another bug being filed for this issue.
Comment 11•21 years ago
|
||
I also see "About Plugins" in Mozilla under osx. Does this need to move as
well? If not, doesn't it still need the about seperator?
Comment 12•21 years ago
|
||
Mr. Francis,
Quite right! Initial research shows two items.
1. Apples' AHIG states;
"The application menu, new in Mac OS X, contains items that apply to the
application as a whole, rather than to a specific document or other window."
It seem that 'About Plugins' fits this rather general description.
2. Checking with a copy of Netscape Communicator, with Mac OS 9, reveals that
'About Plugins' was, indeed, placed in the apple menu directly after 'About
Netscape'.
Given this, I'd say: Let's move 'About Plugins' to the application menu, after
the 'About Mozilla' menu item. Then hide 'About Plugins' from the Help menu.
This offers some consistancy with older Mac OS software as well as the Apples'
guidelines.
Comment 13•21 years ago
|
||
*** Bug 135258 has been marked as a duplicate of this bug. ***
Comment 14•21 years ago
|
||
Comment on attachment 132462 [details] [diff] [review]
Hide the Help -> About menuitem for Mac OS X
See my comments in the bug. We need to deal with About Plugins as well.
Attachment #132462 -
Flags: review?(mozeditor) → review-
Comment 15•21 years ago
|
||
This patch keeps the seperator and About Plugins (for Mozilla) in the Help
menu. I'll look into the About Plugins issue as time permits.
Attachment #132462 -
Attachment is obsolete: true
Attachment #132522 -
Attachment is obsolete: true
Attachment #132462 -
Flags: superreview?(sfraser)
Comment 16•21 years ago
|
||
please don't add ifdefs to the widget code, just make sure it tolerates not
finding the item you're trying to process.
Assignee: hyatt → macdoc
Component: Menus → GFX: Mac
Product: Firebird → Browser
Target Milestone: Firebird0.8 → ---
Version: unspecified → Trunk
Comment 17•21 years ago
|
||
timeless
Thank you.
Given this, it seems more appropriate to simply remove the id for the separator
in Mozilla.
If so, is it OK to add a comment stating replacement of the id when/if About
Plugins is moved?
Comment 18•21 years ago
|
||
Per timeless comment, we leave SeaMonkeys' separator in place. Give the XUL
apps a custom, but logical separator id name for this purpose.
Updated•21 years ago
|
Attachment #134001 -
Attachment is obsolete: true
Comment 19•21 years ago
|
||
There were ereors in the previous patch
Attachment #134993 -
Attachment is obsolete: true
Comment 20•21 years ago
|
||
Can the About menus be made into small windows instead of sheets? This is the
bahviour for all other OS X apps.
Comment 21•21 years ago
|
||
*** Bug 238184 has been marked as a duplicate of this bug. ***
Comment 22•21 years ago
|
||
*** Bug 238184 has been marked as a duplicate of this bug. ***
Comment 23•20 years ago
|
||
This patch addresses comment 11 for adding the About Plugins to Mac OS X
application menu.
asking review.
Attachment #135101 -
Attachment is obsolete: true
Comment 24•20 years ago
|
||
Re comment 20
That should be another bug, for in researching other issues for this bug, I
learned that the XUP apps, in general, tends to overuse sheets.
Will create bug with links to appropriate info.
Comment 25•20 years ago
|
||
Bug 222364 will be my target for the sheets issue in general.
Comment 26•20 years ago
|
||
*** Bug 252998 has been marked as a duplicate of this bug. ***
Comment 27•20 years ago
|
||
This should be a blocker for 1.0 releases on Mac OS X.
Flags: blocking-aviary1.0mac?
Comment 28•20 years ago
|
||
(In reply to comment #23)
> asking review.
Can you do ask for review? :-)
Updated•20 years ago
|
Attachment #153567 -
Flags: review?
Comment 29•20 years ago
|
||
Comment on attachment 153567 [details] [diff] [review]
Hides About and About Plugins (for SeaMonkey) from help and places About Plugins in the App menu
moving from now one to javier.
Attachment #153567 -
Flags: review? → review?(jhpedemonte)
Comment 30•20 years ago
|
||
Comment on attachment 153567 [details] [diff] [review]
Hides About and About Plugins (for SeaMonkey) from help and places About Plugins in the App menu
- CFStringRef labelRef = ::CFStringCreateWithCharacters(kCFAllocatorDefault,
(UniChar*)label.get(), label.Length());
- if ( labelRef ) {
- ::InsertMenuItemTextWithCFString(sAppleMenu, labelRef, 1, 0, 0);
- ::CFRelease(labelRef);
+ if (aboutMenuItem){
+ aboutMenuItem->GetAttribute(NS_LITERAL_STRING("label"), aboutLabel);
+ CFStringRef labelRef =
::CFStringCreateWithCharacters(kCFAllocatorDefault, (UniChar*)aboutLabel.get(),
aboutLabel.Length());
+ if ( labelRef ) {
+ ::InsertMenuItemTextWithCFString(sAppleMenu, labelRef, 1, 0, 0);
+ ::CFRelease(labelRef);
+ }
+ ::SetMenuItemCommandID(sAppleMenu, 1, kHICommandAbout);
}
Fix the tabbing issues. otherwise, looks good. r=jhpedemonte.
Attachment #153567 -
Flags: superreview?(sfraser)
Attachment #153567 -
Flags: review?(jhpedemonte)
Attachment #153567 -
Flags: review+
Comment 31•20 years ago
|
||
Comment on attachment 153567 [details] [diff] [review]
Hides About and About Plugins (for SeaMonkey) from help and places About Plugins in the App menu
sfraser?
Updated•20 years ago
|
Component: GFX: Mac → Widget: Mac
Updated•20 years ago
|
Flags: blocking-aviary1.0mac?
Comment 32•20 years ago
|
||
Comment on attachment 153567 [details] [diff] [review]
Hides About and About Plugins (for SeaMonkey) from help and places About Plugins in the App menu
moving to neil.
Attachment #153567 -
Flags: superreview?(sfraser_bugs) → superreview?(neil.parkwaycc.co.uk)
Comment 33•20 years ago
|
||
note to self: this is not an issue for Camino.
Comment 34•20 years ago
|
||
*** Bug 278594 has been marked as a duplicate of this bug. ***
Comment 35•20 years ago
|
||
*** Bug 282092 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Attachment #153567 -
Flags: superreview?(neil.parkwaycc.co.uk)
Comment 36•20 years ago
|
||
what's the status of this bug now? First review+ is from october last year.
Comment 37•20 years ago
|
||
I have no About Firefox in the help menu, build 20050330
Comment 38•20 years ago
|
||
(In reply to comment #37)
> I have no About Firefox in the help menu, build 20050330
There's still "About Thunderbird" in the help menu 2005032x
Updated•20 years ago
|
Whiteboard: [asaP1]
Comment 39•20 years ago
|
||
FYI: The patch still applies, except for the /browser part. Seems to work fine
on my seamonkey build.
Comment 40•19 years ago
|
||
I believe that this is fixed for Firefox.
Flags: blocking-aviary1.1? → blocking-aviary1.1-
Whiteboard: [asaP1]
Comment 41•19 years ago
|
||
Yup, all fixed :)
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 42•19 years ago
|
||
> Yup, all fixed :)
No it isn't. Well, it's fixed in Firefox, but the core issue remains. So the
issue is still there in SeaMonkey.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 43•19 years ago
|
||
Apologies. I could have sworn I checked Seamonkey.
Comment 44•19 years ago
|
||
bug 301241 fixed it for T-bird.
Updated•19 years ago
|
QA Contact: bugzilla → mac
Comment 45•17 years ago
|
||
Help -> About SeaMonkey looks fixed now. However, Help -> About Plug-ins still exists. Build identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a6pre) Gecko/2007061506 SeaMonkey/2.0a1pre
I'm not sure this is a Widget:Mac bug anymore, however.
Comment 46•17 years ago
|
||
I think "About Plug-ins" should be in the Help menu, no? There is a similar menuitem in the Help menu in my old version of Safari. You might want to check with your new version ;-) Otherwise this is fixed "for real" by josh (no xul hack) some time ago.
Comment 47•17 years ago
|
||
Yep. I see an "Installed Plug-ins" menu item in my newer (but not quite newest) version of Safari. Josh fixed this. :)
Assignee: macdoc → joshmoz
Status: REOPENED → NEW
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago → 17 years ago
Resolution: --- → FIXED
Comment 48•17 years ago
|
||
(In reply to comment #47)
> Yep. I see an "Installed Plug-ins" menu item in my newer (but not quite newest)
> version of Safari. Josh fixed this. :)
>
jftr: this was fixed in bug 369767.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•