# \[BUG\] Menus on Snow Leopard not working correctly

**URL:** <https://www.ruby-forum.com/t/bug-menus-on-snow-leopard-not-working-correctly/185111>\
**Category:** wxRuby\
**Created:** [March 13, 2010, 11:02pm UTC](https://www.ruby-forum.com/t/bug-menus-on-snow-leopard-not-working-correctly/185111 "2010-03-13T23:02:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeNigris\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@DeNigris\_S](https://www.ruby-forum.com/u/DeNigris_S)\
**Post date:** [March 13, 2010, 11:02pm UTC](https://www.ruby-forum.com/t/bug-menus-on-snow-leopard-not-working-correctly/185111/1 "2010-03-13T23:02:10Z")

</div>

I posted the following bug at  
[http://rubyforge.org/tracker/index.php?func=detail&aid=27962&group\_id=35&atid=218](http://rubyforge.org/tracker/index.php?func=detail&aid=27962&group_id=35&atid=218).  
Is anyone else dealing with this?

---

<div class="post-metadata">

**Author:** ![DeNigris\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@DeNigris\_S](https://www.ruby-forum.com/u/DeNigris_S)\
**Post date:** [March 13, 2010, 11:33pm UTC](https://www.ruby-forum.com/t/bug-menus-on-snow-leopard-not-working-correctly/185111/2 "2010-03-13T23:33:47Z")

</div>

Hello Sean,

This is a feature / bug with wxWidgets on Mac OS X. The menus File and  
Help  
are actually combined into the “Main” Menu Item, which is the name of  
the  
application that is running. Such as Quit, Preferences and Help gets  
put  
under the application name main menu, instead of under File, or Help.  
This  
is Mac OS X’s way of doing things.

hth,

Mario

---

<div class="post-metadata">

**Author:** ![DeNigris\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@DeNigris\_S](https://www.ruby-forum.com/u/DeNigris_S)\
**Post date:** [March 13, 2010, 11:43pm UTC](https://www.ruby-forum.com/t/bug-menus-on-snow-leopard-not-working-correctly/185111/3 "2010-03-13T23:43:44Z")

</div>

> This is a feature / bug with wxWidgets on Mac OS X. The menus File and Help are actually combined into the “Main” Menu Item, which is the name of the application that is running. Such as Quit, Preferences and Help gets put under the application name main menu, instead of under File, or Help. This is Mac OS X’s way of doing things.  
> Aha, okay. Sounds good - except for two things:

1. it \*shows" a File menu, which is weird (from a user standpoint). Is  
there a way to have it not show “File” at all and put the items under  
the [application name] menu?
2. it doesn’t show an [application name] menu at all, but a “ruby” menu,  
which is also weird and not-very-mac. Is there a way to actually get  
the app name there instead of “ruby”?

Thanks for the help!  
Sean

---

<div class="post-metadata">

**Author:** ![DeNigris\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@DeNigris\_S](https://www.ruby-forum.com/u/DeNigris_S)\
**Post date:** [March 14, 2010, 4:55am UTC](https://www.ruby-forum.com/t/bug-menus-on-snow-leopard-not-working-correctly/185111/4 "2010-03-14T04:55:04Z")

</div>

Hello again Sean,

On Sat, Mar 13, 2010 at 5:43 PM, DeNigris S.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> > This is a feature / bug with wxWidgets on Mac OS X. The menus File and  
> > Help are actually combined into the “Main” Menu Item, which is the name of  
> > the application that is running. Such as Quit, Preferences and Help gets  
> > put under the application name main menu, instead of under File, or Help.  
> > This is Mac OS X’s way of doing things.  
> > Aha, okay. Sounds good - except for two things:
> 
> 1. it \*shows" a File menu, which is weird (from a user standpoint). Is  
> there a way to have it not show “File” at all and put the items under the  
> [application name] menu?

I have not found a way to do this, Alex has more experience with this  
sort  
of thing, then I do.

> 1. it doesn’t show an [application name] menu at all, but a “ruby” menu,  
> which is also weird and not-very-mac. Is there a way to actually get the  
> app name there instead of “ruby”?

This has been answered before, there’s two ways in which you can achieve  
this. The first is to rename the ruby executable (Which Mac OS X uses)  
to  
the name of your application, which isn’t ideal. Or, you can use the  
.app  
Directory creation for your program, and put in a manifest file that  
will  
describe what the program is, how to launch it, and what the Application  
name is. This second method is the ideal method in which to do it, as  
it  
solves a lot of problems, and gives you more options. If you look at  
Alex’s  
Weft-QDA Rake file, for OS X here:  
[http://weft-qda.rubyforge.org/svn/trunk/weft-qda/rake/rake\_osx.rb](http://weft-qda.rubyforge.org/svn/trunk/weft-qda/rake/rake_osx.rb) You  
can  
learn much about how to create an .app directory, to store your program  
code, and executables in.

> Thanks for the help!

Your welcome.

> Sean

hth,  
Mario
