Re: slow first context menu
Re: slow first context menu
- Subject: Re: slow first context menu
- From: Jens Alfke <email@hidden>
- Date: Sat, 07 Jul 2012 18:00:46 -0700
On Jul 7, 2012, at 5:40 PM, James Maxwell wrote:
> I'm finding that the first time I ask for a context menu (i.e., control-click or two-finger tap) it takes several seconds to come up. After that it responds normally. Has anybody seen this and, if so, do you recall what the problem was? (It only happens on my laptop, not my desktop... strange. Same Xcode version, same Scheme and build settings.) Cleaning and rebuilding doesn't help.
I've had this too. It's caused by external services adding their items to the menu. When it happened to me, it turned out to be Dropbox that was for some reason really slow to add its items, but it might be something different for you.
Try pausing your app in the debugger during the hang (or sampling it), and see what the top of the stack looks like.
—Jens
_______________________________________________
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