New menus for Cappuccino checked into Jake branch

1 view
Skip to first unread message

Francisco Tolmasky

unread,
Dec 4, 2009, 4:24:12 PM12/4/09
to Cappuccino & Objective-J
Just wanted to give a heads up that a significant amount of work has
gone into menus, fixing a lot of the very long standing bugs. The main
changes involve support for submenus, which we now finally have. Here
are other miscellaneous improvements:

1. A lot of work has gone into properly positioning the menus during
edge cases. For example, we try to limit the times we show menus that
scroll by simply pushing menus up completely if they show less than
three items. Additionally, pull down menus now "pull up" if they are
on the bottom of the screen. Menu bar menus now also scroll
appropriately in the rare times that they have too many items as well.

2. As mentioned above, unlimited support for submenus.

3. Greater nib2cib compatibility: turning state column on/off,
indentation levels, etc.

4. A brand new menu bar look from Sofa

5. Menu bars now allow hovering to different menus while active (you
don't have to individually click on a different menu if one is already
selected).

and many other bug fixes. Here are some images of what they look like:

http://emberapp.com/tolmasky/images/submenus/
http://emberapp.com/tolmasky/images/scrolling-menu-bar-1/
http://emberapp.com/tolmasky/images/open-menu-bar/

There are a few remaining bugs that I will be filing on them, but if
you're on the jake branch please give these a try for yourself and let
me know if you experience any problems (file a bug).

Thanks!

Francisco

Brad Hutchins

unread,
Dec 4, 2009, 4:27:52 PM12/4/09
to objec...@googlegroups.com
Yeah those do look pretty good.



--

You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
To post to this group, send email to objec...@googlegroups.com.
To unsubscribe from this group, send email to objectivej+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/objectivej?hl=en.



Alex Karahalios

unread,
Dec 4, 2009, 7:54:00 PM12/4/09
to objec...@googlegroups.com
Hi Francisco,

I get the usage message no matter what I specify on the nib2cib command line:

$ nib2cib MainMenu.xib
usage: nib2cib INPUT_FILE [OUTPUT_FILE] [-F /path/to/required/framework] [-R path/to/resources]

Alex Karahalios

Ross Boucher

unread,
Dec 4, 2009, 7:55:57 PM12/4/09
to objec...@googlegroups.com
Have you installed the new version of nib2cib?

git pull
jake install

Alex Karahalios

unread,
Dec 4, 2009, 7:58:55 PM12/4/09
to objec...@googlegroups.com
Hi Ross,

Yes I did. But since I sent the email I guess there has been a new update to Tools/nib2cib/main.j and it works OK now. I was just going to send an email pointing that out.

By the way, I still get

-[CPKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (NSBox)

Will NSBox work in nib2cib soon?

Thanks,

Alex Karahalios

Derek Hammer

unread,
Dec 5, 2009, 12:29:16 AM12/5/09
to objec...@googlegroups.com
Should the new menus "appear" on existing apps with existing MainMenu.cibs?

Nicholas Small

unread,
Dec 5, 2009, 2:16:04 AM12/5/09
to Cappuccino & Objective-J
Trash your build dir. Sometimes the resources don't get replaced.
> >>> For more options, visit this group athttp://groups.google.com/group/objectivej?hl=en
> >>> .
>
> >> --
>
> >> You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
> >> To post to this group, send email to objec...@googlegroups.com.
> >> To unsubscribe from this group, send email to objectivej+...@googlegroups.com.
> >> For more options, visit this group athttp://groups.google.com/group/objectivej?hl=en.

Francisco Tolmasky

unread,
Dec 5, 2009, 2:45:16 AM12/5/09
to Cappuccino & Objective-J
Yes, but other things will be broken, I would re-nib2cib.
Specifically, individual actions for menu items, state column, and a
few other menu item attributes were added support for.
> >>> For more options, visit this group athttp://groups.google.com/group/objectivej?hl=en
> >>> .
>
> >> --
>
> >> You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
> >> To post to this group, send email to objec...@googlegroups.com.
> >> To unsubscribe from this group, send email to objectivej+...@googlegroups.com.
> >> For more options, visit this group athttp://groups.google.com/group/objectivej?hl=en.

Dunkie

unread,
Dec 5, 2009, 3:50:10 PM12/5/09
to Cappuccino & Objective-J
Looks much nicer!
For consistency, pull down menus in popup buttons should be given the
same (non bolded) font treatment.
Reply all
Reply to author
Forward
0 new messages