Posted by
Kenneth Sloan on
Nov 18, 2013; 9:35pm
URL: http://imagej.273.s1.nabble.com/Save-As-dialog-tp5005581p5005593.html
Well…the first question is: is the "last directory accessed" behavior of the JFileChooser, as invoked by ImageJ, documented anywhere? If so - sorry I missed it, and perhaps it should just be left alone.
If not - then I propose that it is reasonable to consider changing the actual behavior to use:
a) directory associated with the image
b) last directory
c) standard directory
in that order. And then, of course, document it so that users will know the behavior
by reading the documentation, rather than "doing Science" on the implementation.
This is all theoretical - my immediate problem is solved (as always, by a custom Java plugin).
One more thing - why should this behavior be different under Win7 or Ubuntu?
This kind of behavior should be positively controlled by ImageJ - not left to individual OS defaults.
When one distributes an application to 5 different operating systems, it seems bad policy to have to write different user manuals for each OS.
--
Kenneth Sloan
[hidden email]
On Nov 18, 2013, at 04:12 , Michael Entrup <
[hidden email]> wrote:
> Hi Kenneth,
>
> there will be different opinions on what is more natural for a "Save As ...." dialog. Some applications will select the folder of the current file and some others will select the last used directory. On Win7 it would be best to select the folder of the current file. The default dialog contains a item to show the last used folders. Using Ubuntu there is a very different dialog, that is missing such an item. I think you will create a huge discussion without a clear result if you want to change the default behavior of ImageJ.
>
> Best regards
> Michael
>
> Am 17.11.2013 19:47, schrieb Kenneth Sloan:
>> Thanks.
>>
>> ...
>>
>> The point of my inquiry was - isn't it more natural for the normal "Save As PNG" to default to the image directory (when there is one)? It already defaults to the image name. I wonder if there is some
>> benefit to defaulting to "last used directory" that I don't appreciate? If there is - never mind. If not (i.e., it was an arbitrary choice), then I think using the image's directory (where known) would be an improvement.
>>
>> --
>> Kenneth Sloan
>>
[hidden email]
>>
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html