I posted the following bug at http://rubyforge.org/tracker/index.php?func=detail&aid=27962&group_id=35&atid=218. Is anyone else dealing with this?> In running the 2.0.1 samples under OS X 10.6.2, some menu items do not appear as they should. > > For example: > * in the "minimal" sample, the "file" menu appears in the menu bar, but the individual items do not appear; same with the "Help" menu - appears without added items. > * In the bigdemo sample, the "File" and "Help" menus are also empty, but the "Demo" menu seems fine (contains many options). > > I''m running the samples with #!/usr/bin/env arch -i386 ruby. > > Thanks! > > Sean_______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Mario Steele
2010-Mar-13 22:33 UTC
[wxruby-users] [BUG] Menus on Snow Leopard not working correctly
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 On Sat, Mar 13, 2010 at 5:01 PM, DeNigris Sean <sean at clipperadams.com>wrote:> I posted the following bug at > http://rubyforge.org/tracker/index.php?func=detail&aid=27962&group_id=35&atid=218 > . > Is anyone else dealing with this? > > In running the 2.0.1 samples under OS X 10.6.2, some menu items do not > appear as they should. For example: * in the "minimal" sample, the "file" > menu appears in the menu bar, but the individual items do not appear; same > with the "Help" menu - appears without added items. * In the bigdemo sample, > the "File" and "Help" menus are also empty, but the "Demo" menu seems fine > (contains many options). I''m running the samples with #!/usr/bin/env arch > -i386 ruby. Thanks! Sean > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-- Mario Steele Lieutenant 3 - Geo 99 XO - STO IFT Fleet Chief Engineer - Second Life http://www.iftcommand.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20100313/1c90bb5b/attachment.html>
DeNigris Sean
2010-Mar-13 22:43 UTC
[wxruby-users] [BUG] Menus on Snow Leopard not working correctly
> 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
Mario Steele
2010-Mar-14 03:52 UTC
[wxruby-users] [BUG] Menus on Snow Leopard not working correctly
Hello again Sean, On Sat, Mar 13, 2010 at 5:43 PM, DeNigris Sean <sean at clipperadams.com>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.> 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"? >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 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 -- Mario Steele Lieutenant 3 - Geo 99 XO - STO IFT Fleet Chief Engineer - Second Life http://www.iftcommand.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20100313/bec08406/attachment-0001.html>