discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Document-based applications in GNUstep


From: fabien Vallon
Subject: Re: Document-based applications in GNUstep
Date: Tue, 01 Jun 2004 12:21:53 +0100

On 2004-05-31 21:55:25 +0200 Fred Kiefer <fredkiefer@gmx.de> wrote:

> Could you please be a bit more specific about the nature of this bug? As far 
> as I know, Adam corrected this problem on the 14th of May, so you may either 
> use an outdated GNUstep release or we may need more information on what is 
> still going wrong.

Hi,
This is the Apple documentation : 
"- (NSString *)currentDirectory
Returns the directory path to be used as the starting point in the Open panel. 
The first valid directory from the following list is returned:
1-  The directory location where the current document was last saved
2- The last directory visited in the Open panel
3- The user’s home directory"

Last GNUstep CVS 
mkdir -p DocumentController/foo
mkdir DocumentController/bar
echo "test" DocumentController/foor/test.txt
remove Ink defaults

* example 1
openapp Ink.app
open Document => Go to DocumentController/foo and hit Cancel
open Document : I'm not into DocumentController/foo but into home directory:
Does not match with Apple documentation (2) : should be into 
DocumentController/foo

* example 2 
openapp Ink.app
openDocument => open DocumentController/foo/test.txt
quit Ink
openapp Ink.app
openDocument => directory is still homeDir (should be into 
DocumentController/foo)

example 3
openapp Ink.app 
openDocument => open DocumentController/foo/test.txt
Save As DocumentController/bar/testsbar.txt
Close the window (testBar) 
openDocument => This is into DocumentController/foo/ 
(should be into DocumentController/bar/) (?) 

....... 

Fabien

 










reply via email to

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