We've been running into a situation where our app that's running on a headless 
mini will seem to stall in the same particular piece of code where there are no 
users currently screen sharing to it. As soon as we connect, it continues on. 
The code loads a view from a nib, moves it into a window that might or might 
not be already visible, resizes the window, and shows the window.

We thought we'd fixed it by rearranging some code that deals with 
setNeedsDisplay:YES, NSRunLoop runUntilDate, and setting a bunch of properties 
that are bounds to views in the window. And it did fix it for a week or so, but 
now it suddenly started doing it again, and the app hasn't been changed or quit 
or anything.

Any wild theories? We did stuff like check to see if any NSScreens are 
available (there is one, even when not connected via screen sharing, but we're 
pretty sure it's not an actual monitor). The app doesn't allow app sleep.

Sent from iCloud's ridiculous UI, so, sorry about the formatting

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to