3

With OSX Lion 10.7 Apple has introduced resume:

  • Restore the state of the computer when shut down.
  • Reopen the used windows of applications.

While both are quite useful, the option to "reopen windows when loggin back in" causes the login items to be reloaded with a significant delay.

Programs get restarted immediately. I can use them with their full functionally within seconds. But the login items take up to another half minute to start. I should probably mention that the boot process takes only sixteen seconds (power button → desktop).

On a 'clean' start the login items will load right after the desktop appears.

Question

Why does it take so long to load menu-extras with "reopen when logging back in" enabled?


[Update: march 2013] This behavior is still persistent as of Mountain Lion 10.8.3.

7
  • I haven't noticed any significant difference in loading times between menu extras and application windows — both are slow, probably since I have so many open :)
    – jtbandes
    Apr 4, 2012 at 11:15
  • @jtbandes Maybe I should edit the question. It's not just menu extras, but all of the login times which take so long to load in resume. In total I have fifth-teen of them to load. On a 'clean' start they appear immediately.
    – gentmatt
    Apr 4, 2012 at 11:22
  • 16 seconds? What kind of supercomputer do you have? I can only dream of this bootup time :) that's aside
    – Michiel
    Apr 4, 2012 at 11:32
  • 1
    It must be the SSD, cause I've got nearly the same configuration :-)
    – Michiel
    Apr 4, 2012 at 11:56
  • 1
    I see the same issue, but only sometimes, not every time. It might be worth testing with different applications (or a different number of applications) being restarted automatically. e.g. if there's a lot to do, the OS might delay login items pending CPU load, app responsiveness, or just a constant time for the number of apps...? Jan 23, 2013 at 4:51

2 Answers 2

1

It appears to me that the login items get started after all the applications from the last session have started up. For example, an older version of Adium used to hang (due to no internet connection being available) for a few seconds after starting up, and as soon as Adium was responsive, the login items got started.

3
  • I cannot confirm this. All started applications in the dock are ready to use immediately. Maybe it's one of the login items?
    – gentmatt
    Apr 4, 2012 at 11:43
  • 1
    Duh, for me it was specifically Adium (with an ICQ account) hanging when started without an internet connection (but apparently they fixed it in version 1.5). And after Adium is done staring, my login items start to appear in the menu bar. Maybe there's a hidden application that hangs on your Mac. Did you check the system log?
    – MrMage
    Apr 4, 2012 at 13:16
  • For me it was Chrome. It appeared ready but was still busy and delayed the Login Items. Please duplicate this bug report to get it fixed.
    – nschum
    Sep 5, 2012 at 18:41
0

I think the culprit is iTunes syncing with iPhones etc. through the network, and the system waits for that to finish before it loads startup items.

1
  • Wireless iTunes sync is triggered by the iPhone, not by iTunes starting up.
    – nohillside
    Oct 22, 2012 at 11:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .