• 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
NSMatrix beeping when sheets are running
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMatrix beeping when sheets are running


  • Subject: NSMatrix beeping when sheets are running
  • From: "pavao" <email@hidden>
  • Date: Mon, 20 Dec 2004 18:32:43 -0000
  • Thread-topic: NSMatrix beeping when sheets are running

Hi,

When I have some sheet running in my app and then double click some item listed in the first column of a NSMatrix residing in another window (also belonging to the application) the computer beeps. The method that I had set with NSMatrix's setDoubleAction: is called anyway. The beep doesn't happen if there isn't any sheet running and it doesn't happen if I double-click something in the second column of the matrix. The backtrace of where the beep occurs is at the end of this message.

I don't know much of PPC asm, but in the debugger it looks like -[NSControl sendAction:to:] has a couple of conditional branch instructions that make it jump over the NSBeep just after calling the target's doubleAction selector. I just can't figure out what am I doing wrong. Can someone shed some light on this?

#0	0x92fa3ed0 in NSBeep
#1	0x92e7ef70 in -[NSControl sendAction:to:]
#2	0x92e78224 in -[NSApplication sendAction:to:from:]
#3	0x92f6550c in -[NSMatrix sendAction:to:]
#4	0x93095a5c in -[NSMatrix _sendDoubleActionToCellAt:]
#5	0x92f07d64 in -[NSMatrix _mouseDownNonListmode:]
#6	0x92f6433c in -[NSMatrix mouseDown:]
#7	0x92e03178 in -[NSWindow sendEvent:]
#8	0x92df583c in -[NSApplication sendEvent:]
#9	0x92dfdc54 in -[NSApplication run]
#10	0x92eba2b8 in NSApplicationMain
#11	0x000e2f74 in main at main.m:13

TIA,
--
João Pavão

 _______________________________________________
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

  • Prev by Date: Renaming files?
  • Next by Date: Re: [NSView removeFromSuperview] not affecting retain count
  • Previous by thread: Re: Renaming files?
  • Next by thread: How to animate NSTableView row reordering
  • Index(es):
    • Date
    • Thread