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

Abhishek Kumar duke at openjdk.org
Fri Nov 4 10:54:24 UTC 2022


On Fri, 4 Nov 2022 10:39:02 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>>> The bug says 2) Go to FileChooser Demo. 3) Tab to Folder List 4) Press CTRL+A. It will select all the items in the list. 5) Now Tab to file list and press ctrl+A, it will not select all the items. 6) Now Open Gedit. 7) Click Open. 8) Repeat the steps 3 to 5. Behaviour for the native will be opposite to its Java counterpart.
>>> 
>>> so you can create manually folder with only files and a folder with only folders and then try with Gedit to open those folders and trey the steps...
>> 
>> I tried these steps, I am able to select all directories and all files in respective folder on press of Ctrl+A in Gedit.
>
> Is GTK Filechooser not behaving the same as gedit?
> ie is GTK FileChooser not allowing to select all folders in folder list and all files in files list by CTRL+A with your fix too?

With the current fix, GTK FileChooser allows to select all folders in folder list but in files list it allows only single file selection.

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

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



More information about the client-libs-dev mailing list