• 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: NSOpenPanel trouble with leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenPanel trouble with leopard


  • Subject: Re: NSOpenPanel trouble with leopard
  • From: Adrien Mondot <email@hidden>
  • Date: Mon, 3 Dec 2007 22:11:15 +0100

I think I found one of the side effect that caused the problem : it was a NSOutlineView that was raising an error when updated, I don't understand why it was updating when calling NSOpenPanel, neither why it raise an error...
I removed the notification I was using, and now it's working (almost) normally


[[NSNotificationCenter defaultCenter] addObserver: self
				         selector: @selector(forceSelectionDidChange:)
					     name: NSOutlineViewSelectionDidChangeNotification
	                              	   object: forceView];

However may my code was poorly designed to make the transition from ObjC to ObjC 2.0 easely : I still have some serious bug of the same kind in the rest of the app :-(

Adrien

Le 3 déc. 07 à 21:46, Corbin Dunn a écrit :

It sounds like something is causing a bug in the open panel, for some reason.


Can you:

1. Launch your app in GDB, or the debugger in Xcode.
2. Reproduce the problem, and as soon as it starts happening, "break" in gdb (ctrl-c at the command line, or "pause" in xcode).


After you do that, please reply back with the backtrace. This will help me pinpoint what the problem is, and I may be able to offer a work around.

corbin



_________________ www.adrienm.net/emotion/


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: NSOpenPanel trouble with leopard
      • From: Jim Correia <email@hidden>
References: 
 >NSOpenPanel trouble with leopard (From: Adrien Mondot <email@hidden>)
 >Re: NSOpenPanel trouble with leopard (From: John Stiles <email@hidden>)
 >Re: NSOpenPanel trouble with leopard (From: Adrien Mondot <email@hidden>)
 >Re: NSOpenPanel trouble with leopard (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: NSTableView and displaying c strings
  • Next by Date: Re: disable small toolbar option
  • Previous by thread: Re: NSOpenPanel trouble with leopard
  • Next by thread: Re: NSOpenPanel trouble with leopard
  • Index(es):
    • Date
    • Thread