bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSavePanel complains about .hidden


From: Adam Fedor
Subject: Re: NSSavePanel complains about .hidden
Date: Mon, 07 Oct 2002 11:14:58 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0.0) Gecko/20020610

Fred Kiefer wrote:
Fred Kiefer wrote:
> BTW, this error message is shown eight times, when a NSSavePanel is opened,
 > although only two columns are shown. I will inspect into this to find
 > out if there are unneeded operations going on.

After a bit of investigation I did find out that this behaviour is there by specification. The NSDocumentController first initialises the NSOpenPanel by setting the directory and than starts it without giving a directory. This leads to the NSBrowser being set to the same path twice and thereby reading all the directories in the path twice. As it is hard to determine if we get the same path again in NSBrowser, I would recommend that we change the NSDocumentController to start up the NSOpenPanel with the directory directly, without first setting this.

This is not exactly what the specification says, so I would like to ask if somebody could test this on MacOSX and even if they do it different, I would vote for this change.


I didn't test this on MacOSX, but it sounds fine to me. Although I don't see where either behavior is described in the documentation

--
Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                      | know how I hate the stuff.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]