On 3/10/2016 10:22 AM, Hendrik Schreiber wrote:
On Mar 10, 2016, at 07:26, Semyon Sadetsky <semyon.sadet...@oracle.com> wrote:
In my opinion the switching to old/new file dialog should be presented in more
explicit way. The automatic fallback may cause unexpected behavior. May be it
is worth to introduce a new system property to regulate the file dialog version.
Hey Semyon,
I don’t have any strong feelings regarding an implicit switch or using a system
property.
Assuming the user has set the system property to use the new dialog (old dialog
as default), what do you suggest should happen when the user calls
setFilenameFilter()?
the best what is reachable with the selected version and the platform
API. But the default should be the most functional version i.e.
GetOpenFileName.
Yet another trouble is the IFileDialog returns a shell item while AWT
dialog expects a path string. It s not always possible to convert shell
folder to a f/s path string which can be correctly interpreted after.
--Semyon
-hendrik