• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSPopUpButton menu list not showing all the menu items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopUpButton menu list not showing all the menu items


  • Subject: Re: NSPopUpButton menu list not showing all the menu items
  • From: Jonathan Hess <email@hidden>
  • Date: Wed, 20 Feb 2008 15:45:19 -0800


On Feb 20, 2008, at 3:12 PM, Graham wrote:

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.

Could you please file a bug, and attach your NIB so that this can get fixed?


You can file a bug report at http://bugreport.apple.com/

Thanks -
Jon Hess





--------
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


References: 
 >NSPopUpButton menu list not showing all the menu items (From: Chris Schmitt <email@hidden>)
 >Re: NSPopUpButton menu list not showing all the menu items (From: Graham <email@hidden>)
 >Re: NSPopUpButton menu list not showing all the menu items (From: Graham <email@hidden>)
 >Re: NSPopUpButton menu list not showing all the menu items (From: Jonathan Hess <email@hidden>)
 >Re: NSPopUpButton menu list not showing all the menu items (From: Graham <email@hidden>)

  • Prev by Date: Binding an entity object (not an entity attribute) to a Table View Column
  • Next by Date: NSTableView tooltips
  • Previous by thread: Re: NSPopUpButton menu list not showing all the menu items
  • Next by thread: Re: NSPopUpButton menu list not showing all the menu items
  • Index(es):
    • Date
    • Thread