• 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
Window updates stall on headless Mac mini
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Window updates stall on headless Mac mini


  • Subject: Window updates stall on headless Mac mini
  • From: Steve Mills <email@hidden>
  • Date: Fri, 18 Mar 2016 20:16:34 +0000 (GMT)

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@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: Window updates stall on headless Mac mini
      • From: Carl Hoefs <email@hidden>
  • Prev by Date: Multiple AVAudioPlayer - locking main thread?
  • Next by Date: Re: Window updates stall on headless Mac mini
  • Previous by thread: Re: Multiple AVAudioPlayer - locking main thread?
  • Next by thread: Re: Window updates stall on headless Mac mini
  • Index(es):
    • Date
    • Thread