RFR: 4912623: GTK L&F: Folder list of the JFileChooser is allowing multiple selection unlike native [v2]

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Dec 14 10:59:04 UTC 2022


On Wed, 14 Dec 2022 07:32:29 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

>> It is not possible to select all files on press of Ctrl+A in JFileChooser for GTK LAF where as all folders can be selected. 
>> In native side on press of Ctrl+A, able to select all files as well as folders.
>> 
>> Proposed fix is to enable `multiselection `property by default for JFileChooser in GTK LAF to mimic native side behavior.
>> 
>> An automated test case is implemented and tested in CI. CI job links are attached in JBS.
>
> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update for folder list and test review comment update

Ok with me..Probably better to add a subtest with setMultiSelectionEnabled(false) and check multiple files are not selected..

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

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



More information about the client-libs-dev mailing list