RFR: 6972078: Can not select single directory with GTKLookAndFeel [v4]

Abhishek Kumar abhiscxk at openjdk.org
Thu Nov 10 13:27:35 UTC 2022


On Fri, 4 Nov 2022 11:00:10 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> 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



More information about the client-libs-dev mailing list