• 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
What could cause an NSAlert to not dismiss on a button press?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What could cause an NSAlert to not dismiss on a button press?


  • Subject: What could cause an NSAlert to not dismiss on a button press?
  • From: Graham Westlake <email@hidden>
  • Date: Wed, 13 Jul 2011 13:58:13 +0100

I'm showing an NSAlert with runModal, but despite the buttons being responsive, the alert box will not dismiss and runModal never returns. I can't understand what state the run loop is in for this to be happening.

It's actually a Qt application, and I am showing the alert at startup in response to a timer event. It's not a fundamental problem with Qt though; I am able to display NSAlerts successfully elsewhere in the app. I'm also able to use NSAlerts in response to a Qt timer in a test app, and of course in response to an NSTimer in a pure Cocoa app.

Does anyone have an idea as to what might be going on?

Thanks,

Graham Westlake








_______________________________________________

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: What could cause an NSAlert to not dismiss on a button press?
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: programmatically sorting an NSTableView
  • Next by Date: iOS UI Design Question / Opinions wanted
  • Previous by thread: Cross platform open source third party library for webservices
  • Next by thread: Re: What could cause an NSAlert to not dismiss on a button press?
  • Index(es):
    • Date
    • Thread