slow first context menu

  • Hello All,

    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.

    thanks,

    J.

    James B Maxwell
    Composer/Doctoral Candidate
    School for the Contemporary Arts (SCA)
    School for Interactive Arts + Technology (SIAT)
    Simon Fraser University
  • 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
  • Ah, thanks for the tip. I'll take a loot at that tomorrow.

    J.

    On 2012-07-07, at 6:00 PM, Jens Alfke wrote:

    >
    > 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

    James B Maxwell
    Composer/Doctoral Candidate
    School for the Contemporary Arts (SCA)
    School for Interactive Arts + Technology (SIAT)
    Simon Fraser University
previous month july 2012 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today