Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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.

share|improve this question
    
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 '12 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 '12 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 '12 at 11:32
1  
It must be the SSD, cause I've got nearly the same configuration :-) –  Michiel Apr 4 '12 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...? –  drfrogsplat Jan 23 '13 at 4:51
show 2 more comments

2 Answers

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.

share|improve this answer
    
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 '12 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 '12 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 '12 at 18:41
add comment

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.

share|improve this answer
    
Wireless iTunes sync is triggered by the iPhone, not by iTunes starting up. –  patrix Oct 22 '12 at 11:35
add comment

This post does not cite any references or sources. Please help improve this post by adding citations to reliable sources. Unsourced material may be challenged and removed.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.