Bug 64573 - [50cat] Platform app's Mac application menu items not acc. to Apple guidelines
[50cat] Platform app's Mac application menu items not acc. to Apple guidelines
Status: NEW
Product: apisupport
Classification: Unclassified
Component: Harness
5.x
Macintosh Mac OS X
: P3 (vote)
: TBD
Assigned To: Martin Kozeny
issues@apisupport
:
Depends on:
Blocks: 64572
  Show dependency treegraph
 
Reported: 2005-09-16 20:42 UTC by lordy
Modified: 2013-05-30 14:47 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments
feedreader demo with applemenu (419.07 KB, application/x-gzip)
2005-09-17 15:49 UTC, lordy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lordy 2005-09-16 20:42:38 UTC
[ BUILD # : 200509151800 ]
[ JDK VERSION : 1.5.0_02 ]

In the FeedReader Sample on Mac OS X the Application Menu Items 
like "About feedreader" and "quite feedreader" to nothing.

If this work, File->Exit and Help->About should not show.
Comment 1 Jesse Glick 2005-09-16 20:57:16 UTC
To get high-fidelity Mac OS X support you will need to do more work. See e.g.
ide/applemenu/ in nb.org sources (used for the NB IDE). No current plans to
bundle something like this in the module build harness; too complex, and too
tied to the details of the app (i.e. ide/applemenu could not be used unmodified
in a platform app since it deals with some IDE-specific things).
Comment 2 lordy 2005-09-16 22:00:53 UTC
Okay, that i can understand. nevertheless I insist on that it would be nice and save a lot of time.

But here why i reopen issue:
The quite action to nothing. Also Java Application without adjustments can be quite by this. Why is that?
Comment 3 Jesse Glick 2005-09-16 22:12:24 UTC
Can reopen, but we're not going to touch it anytime soon unless someone
contributes the (possibly substantial) amount of code and configuration that
would be required.

Re. "The quite action to nothing. Also Java Application without adjustments can
be quite by this. Why is that?" - I'm sorry, I can't decipher that, could you
rephrase in concrete terms please? The usual: what you clicked on / typed /
etc., what you saw happen, what you expected to see happen instead.
Comment 4 lordy 2005-09-16 22:24:00 UTC
What i mean was: run SwingSet2, go in Application Menu and click "Quite SwingSet2" and it close 
SwingSet2.
But run feedreader, go in Application Menu and click "Quite feedreader" and nothing happens.
Comment 5 Jesse Glick 2005-09-17 00:19:44 UTC
Don't know why it works in SwingSet2. In the NB IDE, Quit is explicitly bound by
ide/applemenu. Can't really guess what is going on without knowing how Apple
makes their default binding work.
Comment 6 lordy 2005-09-17 15:43:00 UTC
I try create a Module Project applemenu and add it to Module Suite feedreader-suite. After that i copy all 
from netbeans-src/ide/applemenu in it. 

Running now feedreader demo works fine. Application Menu -> "About feedreader" and Application Menu 
-> "Quite feedreader" works without problems. 

Only that now in the Application Menu also the "Preferences" Item is show. But i think there are no so big 
changes to do in applemenu to check if the Application has a Preferences Dialog or not.

Re: "(i.e. ide/applemenu could not be used unmodified in a platform app since it deals with some IDE-
specific things)." Maybe have i overlooked something?
Comment 7 lordy 2005-09-17 15:49:05 UTC
Created attachment 24916 [details]
feedreader demo with applemenu
Comment 8 Jesse Glick 2006-02-28 00:32:41 UTC
Needs further cleanup, e.g. to remove DefaultGlobalKeyBindings.xml; remove
OPENFILE_ACTION (unless openfile is simply moved into the platform, which is
quite possible); and fix OPTIONS_ACTION to refer to the new Options dialog.

Also need to figure out how to have such a module in the platform *and* an
additional module in nb5.0 with the IDE-specific overrides.

Probably need someone who runs Mac OS X to produce a complete tested source
patch (lots of details to take care of, since involves adding and refactoring
existing modules). Not sure yet who should do that.
Comment 9 Jaroslav Tulach 2012-06-20 14:22:30 UTC
Mac OS X stuff.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo