• 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
Re: menuForEvent: delay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: menuForEvent: delay


  • Subject: Re: menuForEvent: delay
  • From: "Michael Ash" <email@hidden>
  • Date: Thu, 31 Aug 2006 07:20:33 -0400

On 8/30/06, Timothy Larkin <email@hidden> wrote:
I have over-ridden menuForEvent to create a contextual menu.

The first time I control-click to evoke the menu, there is a 7 second
delay before the menu appears. On subsequent clicks there is no
delay. As far as I can tell, this delay is not caused by my code, but
occurs after my method returns the NSMenu.

Can anyone suggest an explanation for this, or a solution?

Instead of guessing at the solution, use your tools and find out. Run Shark or Sampler on your program, then you will *know* exactly what it's doing for those seven seconds.

Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >menuForEvent: delay (From: Timothy Larkin <email@hidden>)

  • Prev by Date: Re: subviews question
  • Next by Date: Re: menuForEvent: delay
  • Previous by thread: Re: menuForEvent: delay
  • Next by thread: Re: menuForEvent: delay
  • Index(es):
    • Date
    • Thread