• 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: NSPopUpButtonCell causes UI to "sleep" when clicked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopUpButtonCell causes UI to "sleep" when clicked


  • Subject: Re: NSPopUpButtonCell causes UI to "sleep" when clicked
  • From: Peter Ammon <email@hidden>
  • Date: Fri, 24 Apr 2009 17:36:23 -0700


On Apr 24, 2009, at 5:41 AM, Jerry Krinock wrote:

I'm creating an NSPopUpButtonCell programatically.

To show the menu I invoke -[NSPopUpButtonCell performClickWithFrame:inView:]. It works -- however after the menu has popped up, been clicked and dismissed,

 - Timers in the main thread stop firing
 - Keyboard equivalents fail silently

Operation does not return to normal until the user clicks another control TWICE. It seems to me that the UI is "sleeping" and that the first click is necessary to "wake" it.

Sorry, I think I misread your original message. After the menu is dismissed, then the run loop should return to the Default mode and timers in that mode should resume. The behavior you describe is pretty weird.


Can you take a sample of the app when it is in this state? What does it show?

-Peter

_______________________________________________

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


  • Follow-Ups:
    • Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie
      • From: Jerry Krinock <email@hidden>
    • Re: NSPopUpButtonCell causes UI to "sleep" when clicked
      • From: Jerry Krinock <email@hidden>
References: 
 >NSPopUpButtonCell causes UI to "sleep" when clicked (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: ObjectAlloc and objects that should have been released
  • Next by Date: Re: Core Data and the Application Delegate
  • Previous by thread: Re: NSPopUpButtonCell causes UI to "sleep" when clicked
  • Next by thread: Re: NSPopUpButtonCell causes UI to "sleep" when clicked
  • Index(es):
    • Date
    • Thread