On Tue, 10 Mar 2026 22:21:13 GMT, Andy Goryachev <[email protected]> wrote:

> and the app can always implement alternative behavior by checking the initial 
> dir before invoking the file chooser

I'm not sure it can because the dir might be deleted between the check and the 
file chooser invocation.

> The right behavior should be to open the dialog using the current directory 
> (ignoring the error), and let the user deal with it.

A fallback directory makes more sense to me, however, we need one that we can 
guarantee the existence and access of. The current application directory sounds 
like a good bet.

We can also emit a warning that the initial directory was not found, but I 
doubt it'd be helpful.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2101#discussion_r2914853119

Reply via email to