• 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
Difference between keyboard and mouse for menu items?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Difference between keyboard and mouse for menu items?


  • Subject: Difference between keyboard and mouse for menu items?
  • From: Carl Norum <email@hidden>
  • Date: Sun, 23 Feb 2003 17:26:12 -0600

I have an aggravating bug in my program that I can't figure out for the life of me.

The application is a multiple document application with multiple windows for each document - it's a sort of database program with different windows for different types of records, etc.

Everything appears to work fine, but once in a while I'll close a bunch of windows and then the File menu items won't work via their keyboard equivalents.

Setting NSZombieEnabled = YES gives me the following output when using keyboard equivalents.

2003-02-23 16:54:02.463 Vineyard[28067] *** Selector 'window' sent to dealloced instance 0x1953720 of class NSTableView.
Break at '-[_NSZombie methodSignatureForSelector:]' to debug.

Breaking at the suggested point yields the following stack trace - none of my code is in it:

#0 0x908a76f8 in -[_NSZombie methodSignatureForSelector:]
#1 0x907f0f8c in -[NSObject(NSForwardInvocation) forward::]
#2 0x930a8160 in -[NSApplication sendEvent:]
#3 0x930b1608 in -[NSApplication run]
#4 0x9315f6b8 in NSApplicationMain
#5 0x0000e568 in main at main.m:13
#6 0x00003928 in _start at crt.c:267
#7 0x000037a8 in start

The weirdest part of this is that the menu items still work fine - I can use them via the mouse with no apparent problems.

Does anybody have *any* idea what might be going on? Thanks very much!

--
Carl J Norum
5th Year Electrical Engineering/Computer Science Student
University of Saskatchewan
Saskatoon, Canada
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Distributed Objects Clarification
  • Next by Date: OpenGL Support
  • Previous by thread: Distributed Objects Clarification
  • Next by thread: OpenGL Support
  • Index(es):
    • Date
    • Thread