• 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
Trouble with Cocoa windows in the Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble with Cocoa windows in the Finder


  • Subject: Trouble with Cocoa windows in the Finder
  • From: Nicholas Shanks <email@hidden>
  • Date: Sun, 1 May 2005 23:13:40 +0100

Hi guys,
I am having a little difficulty displaying a Cocoa window in the Finder.
I have a Carbon contextual menu plug-in loading a private Cocoa bundle which has a NSWindowController subclass as it's principal class, and just connects it's window outlet to an ordinary empty window for now.
Trying to display the window causes the following Finder crash:


0 com.apple.Foundation 0x928912ac _NSRaiseError + 264
1 com.apple.AppKit 0x93650be0 -[NSWindow _commonAwake] + 1248
2 com.apple.AppKit 0x93654280 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 512
3 com.apple.AppKit 0x9362f99c -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 988
4 com.apple.AppKit 0x9361bcf0 loadNib + 240
5 com.apple.AppKit 0x9361b748 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 716
6 com.apple.AppKit 0x936729a4 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 156
7 com.apple.AppKit 0x93706204 -[NSWindowController loadWindow] + 204
8 com.apple.AppKit 0x93705f28 -[NSWindowController window] + 92
9 ...kshanks.metadata.editwindow 0x0793fc44 -[EditWindowController init] + 176 (EditWindowController.m:19)
10 ...kshanks.metadata.editwindow 0x0793fb70 Init + 132 (EditWindowController.m:8)
11 com.nickshanks.metadata 0x0542b6fc MetadataCMPluginHandleSelection + 672 (Metadata.c:311)


This is on A8420 (still waiting for apple to post 428 to ADC)
Is this a bug anyone's seen before? Does anyone know what I can do about it?


- Nick.

_______________________________________________
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


  • Follow-Ups:
    • Re: Trouble with Cocoa windows in the Finder
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: Apple's UnderlaySurface example broken on Tiger
  • Next by Date: Re: Creating a Cocoa Help Book
  • Previous by thread: Re: Apple's UnderlaySurface example broken on Tiger
  • Next by thread: Re: Trouble with Cocoa windows in the Finder
  • Index(es):
    • Date
    • Thread