Re: Irritating behavior when creating a new file

Irene Vatton <[email protected]>
Newsgroups gmane.comp.web.amaya.general
Organization INRIA
Message-ID <[email protected]>
Le lundi 15 juin 2009 à 07:57 -0700, Cay Horstmann a écrit :
> Ever so often, I get bitten by the following behavior--this is on Ubuntu.
> 
> 1) File->New->New Document
> 2) In the resulting dialog, click on the folder icon
> 3) I select the directory, and then I accidentally add the name of the 
> file that I would like to create.
> 4) Click Open
> 5) I see in horror that Amaya now intends to open 
> /home/cay/somedirectory/mynewfile.html/New.html
> 6) I hit Cancel
> 7) I start from scratch, File->New->New Document
> 8) I am now VERY CAREFUL not to type in the file in the file chooser, 
> but only in the text field in the first dialog
> 9) Amaya produces a confusing message that it cannot create 
> /home/cay/somedirectory/mynewfile.html
> 
> You see, in step 3 or 4, it has already created the directory 
> /home/cay/somedirectory/mynewfile.html/, and so it really cannot create 
> that file.
> 
> PLEASE make it so that it doesn't create directories with extension .html.

Amaya uses the file manager of the platform to get the directory where
the file has to be created. The directory mynewfile.html is created by
the file manager.
To solve your problem, Amaya detects that mynewfile.html is a file name
and not a directory name. It removes the directory and creates a file
instead.

> 
> Thanks,
> 
> Cay
> 
-- 
Irene Vatton <[email protected]>
INRIA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.