• 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
NSComboBox clicks make containing window disappear
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSComboBox clicks make containing window disappear


  • Subject: NSComboBox clicks make containing window disappear
  • From: Brian Marick <email@hidden>
  • Date: Tue, 26 Aug 2008 18:31:47 -0500

I have an NSComboBox that's using an external data source. It's on a window with a button. If I follow certain sequences of clicks, the window containing the combo box vanishes. It still exists, and I can make it appear from the Window menu by clicking on its name.

The sequences look like this:

	Popup the popup list. Select the first item.  Click the button twice.
	Same, but select the third.
	Same, but select the first...
	...

I have used the same sequence twice to make the window vanish. Sometimes it doesn't, though - it takes extra clicks.

There's no output to the log, and print statements in the three methods the combo box calls don't get printed before the window vanishes. The data is coming from NSUserDefaults, but not via a bindings controller.

I can't reproduce the problem if I make the combo box use its internal data.

The data source is a Ruby class. (This is a RubyCocoa app.)

Ideas?

-----
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.exampler.com/blog, www.twitter.com/marick

_______________________________________________

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


  • Prev by Date: xcode: how to not Go with Instruments
  • Next by Date: Re: Removing Applications from the Dock Programmatically
  • Previous by thread: Re: xcode: how to not Go with Instruments
  • Next by thread: How to create rounded view for iPhone App
  • Index(es):
    • Date
    • Thread