On Fri, 4 Nov 2022 11:00:10 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> With the current fix, GTK FileChooser allows to select all folders in folder 
>> list but in files list it allows only single file selection.
>
> So, it is same without the fix too as is mentioned in that bug. Can you 
> please see why that is so as it should be exercising the same code path as 
> this fix?

@prsadhuk As discussed I have checked with the condition modified to 
`chooser.getFileSelectionMode() != JFileChooser.FILES_ONLY`, but this leads to 
failure for current test in `FILES_AND_DIRECTORIES` and `DIRECTORIES_ONLY` 
selection mode.

And for [JDK-4912623](https://bugs.openjdk.org/browse/JDK-4912623), still not 
able to select all files in JFileChooser on press of ctrl+A.

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

PR: https://git.openjdk.org/jdk/pull/10866

Reply via email to