Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NavDialogRun hangs using wxwidgets in Leopard - Solved




On Nov 1, 2007, at 1:58 PM, Matt Connolly wrote:

It seems that CoreUI is wanting to do something in the main event loop.

I was displaying a splash window, doing some initializing and then deleting the splash window off the screen before processing events.

Were you doing this on the main thread or some other thread?

Instead of deleting the window immediately, I deferred it to a command posted to the main event loop. The problem disappears then.

So, the work around is fairly simple, but if CoreUI requires event processing to function then I guess everyone needs to know that you need to have some event processing between create-show-hide-delete window cycle..... or it could be a bug?

CoreUI does not require the event loop to be running, and this still sounds like a bug to me. If this is consistently reproducible with your app, please file it in Radar and post the bug number here. We'll take a look.


-eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: NavDialogRun hangs using wxwidgets in Leopard (From: Laurent Calburtin <email@hidden>)
 >Re: NavDialogRun hangs using wxwidgets in Leopard (From: Eric Schlegel <email@hidden>)
 >Re: NavDialogRun hangs using wxwidgets in Leopard - Solved (From: Matt Connolly <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.