• 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 and new directories?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenPanel and new directories?


  • Subject: Re: NSOpenPanel and new directories?
  • From: Charilaos Skiadas <email@hidden>
  • Date: Tue, 29 Mar 2005 20:24:28 -0600


On Mar 29, 2005, at 8:08 PM, Matt Neuburg wrote:

On Tue, 29 Mar 2005 17:55:31 -0800, "David Piasecki" <email@hidden>
said:
I'm using an NSOpenPanel to open files in my application. It works
great except when I create a new directory outside of my application.
That directory is not recognized in the NSOpenPanel unless I quit and
reload my application. Is there any sort of refresh I can do on the
NSOpenPanel object so it can behave as I would expect it to?

I would like to know this too. My app opens text documents. If I save some
new text documents elsewhere while my app is open, and I come back to my app
and choose File > Open, the new text documents are not shown in the
directory where they actually are. I have to quit my app and start it up
again in order to force the File > Open dialog to refresh itself. I regard
this as a bug in Cocoa, but maybe there's a workaround and I'd like to hear
about it if there is. m.

Not sure how relevant this is, or if it has to do with the fact that I have Default Folder X installed, but I have noticed that if I open the same folder in Finder, then the open menu gets updated properly, without having to exit the app. This happens even if I do it after I have already opened the File>Open dialog. Does sound like a bug in Cocoa though. This does not happen with Carbon apps?


--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>

Haris

_______________________________________________
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


References: 
 >Re: NSOpenPanel and new directories? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Recommended Reading
  • Next by Date: Creating a "tool" in objective-C
  • Previous by thread: Re: NSOpenPanel and new directories?
  • Next by thread: Re: NSOpenPanel and new directories?
  • Index(es):
    • Date
    • Thread