Re: NSPopUpButton menu list not showing all the menu items
Re: NSPopUpButton menu list not showing all the menu items
- Subject: Re: NSPopUpButton menu list not showing all the menu items
- From: Graham <email@hidden>
- Date: Thu, 21 Feb 2008 10:12:58 +1100
Actually the problem is worse than that.
If I open a NIB file I created with IB2 in IB3, and open a pop-up
menu for editing, all of the items get set to "hidden". If I add a
new item it is not hidden. So next time I use that NIB I only see the
new item. Now I'm wise to the problem I just manually go through and
make sure all existing items are not hidden, but the first few times
this caught me out quite badly.
Just loading the NIB file into IB3 doesn't cause the problem - only
if a menu is actually opened for editing. Not sure if it applies to
contextual menus, etc. but it definitely affects pop-up buttons.
Hope this gets fixed soon - it's not a huge problem but can be a pain
if you have a lot of menus. Also agree w/respect to rendering hidden
items more obviously in the interface.
--------
S.O.S.
On 21/02/2008, at 9:27 AM, Jonathan Hess wrote:
It looks this this could happen if you start with a pop up, change
it to pull down, and then duplicate the first item a number of
times to populate your menu. The first item in a pull down menu is
marked as hidden, and when IB duplicates the item, it propagates
the hidden attribute.
I think this would all be more obvious if IB rendered hidden menu
items in a way that informed the user they were hidden.
Thanks for pointing this out -
Jon Hess
On Feb 20, 2008, at 2:08 PM, Graham wrote:
Of course I really meant the "hidden" attribute, not the "enabled"
attribute.
--------
S.O.S.
IB 3 seems to have a bug where the "enabled" state for a menu
item initially gets set to OFF when you load a NIB (maybe from an
earlier version of IB - not explored exactly what triggers this).
You have to go through and turn the checkbox back on again for
all your items in each menu you touch with IB 3. A bit of a
nuisance.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden