• 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: When does -[NSWindow sendEvent:] beep?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When does -[NSWindow sendEvent:] beep?


  • Subject: Re: When does -[NSWindow sendEvent:] beep?
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 20 Feb 2007 17:22:24 -0500
  • Organization: Rogue Research

On 2007-02-20 14:08, David Catmull said:

>> Did you try putting a breakpoint on NSBeep() (via 'b NSBeep' in gdb).
>> Maybe the backtrace will have a revealing method name...
>
>Yes I did. I call [NSApp sendEvent:], which calls -[NSWindow
>sendEvent:], which calls NSBeep(). Hence my subject line :)

Got ya; it wasn't clear to me from your post.  I was hoping maybe you'd
see something like bailForEventWithBadType: or some such.

NSResponder has a special method for the arrow keys (moveLeft:), that's
probably got something to do with it.  Try breaking on it.  Or on
interpretKeyEvents:.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Follow-Ups:
    • Re: When does -[NSWindow sendEvent:] beep?
      • From: David Catmull <email@hidden>
    • Re: When does -[NSWindow sendEvent:] beep?
      • From: David Catmull <email@hidden>
References: 
 >When does -[NSWindow sendEvent:] beep? (From: David Catmull <email@hidden>)
 >Re: When does -[NSWindow sendEvent:] beep? (From: "Sean McBride" <email@hidden>)
 >Re: When does -[NSWindow sendEvent:] beep? (From: David Catmull <email@hidden>)

  • Prev by Date: Re: When does -[NSWindow sendEvent:] beep?
  • Next by Date: Re: When does -[NSWindow sendEvent:] beep?
  • Previous by thread: Re: When does -[NSWindow sendEvent:] beep?
  • Next by thread: Re: When does -[NSWindow sendEvent:] beep?
  • Index(es):
    • Date
    • Thread