When the user picks 'New File' from the menu the file dialog shows the
document directory (at least when document directory is set). However most
programs, and so the user expectation is, to have the dialog in the last
directory used, and when there was no former directory to use, the current
directory from where the program was launched is used. LyX however sets
this to always be the document directory.

This causes two things, if the user wants to create several documents in
the same directory he'll need to traverse all the way to the directory.
Also, if the user opened LyX from another directory, say by a 'Create LyX
File' in a file manager, the new file dialog will ask the user to save it
first in the document directory.

The open file dialog does keep the last directory used, and lets the user
open the next file from there.

So the question is if it won't be more appropriate to have the new file
dialog start from the current directory, and use last directory used.

I now reread the code (lyxfunc.C, line 2693, LyXFunc::MenuNew) and it
appears that if there is an open document it will use the directory of
the document as the starting point (probably it does the same in the open
file).

So the change will be in the first line of MenuNew to 
initpath = "."
from the current use of document directory.

What say you?

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/                 (My brothers AD&D site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael


Reply via email to