JDK-4912623 : GTK L&F: Folder list of the JFileChooser is allowing multiple selection unlike native
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.2_01
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_sun
  • CPU: x86
  • Submitted: 2003-08-26
  • Updated: 2023-01-05
  • Resolved: 2023-01-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b04Fixed
Related Reports
Relates :  
Relates :  
Description
Folder list of the JFileChooser is allowing multiple selection unlike native file dialog. Where as the file list does not allow multiple selection.

Steps to reproduce:
------------------
1) Run SwingSet2 on Mercury with -Dswing.gtkthemefile=<Your .gtkrc File>. Change the Look And Feel to GTK.
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.

Comments
Changeset: 2ee34f14 Author: Abhishek Kumar <abhiscxk@openjdk.org> Committer: Jayathirth D V <jdv@openjdk.org> Date: 2023-01-02 06:03:12 +0000 URL: https://git.openjdk.org/jdk/commit/2ee34f14880cccca02e2933f80b000979f33c6d1
02-01-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/11627 Date: 2022-12-12 05:56:38 +0000
12-12-2022

Related to JDK-6972078
22-10-2022

EVALUATION Reproducible as described. Shift-clicking also selects multiple directories with GTK JFileChooser, but not with GEdit (though you can select multiple files in GEdit with the mouse or keyboard). ###@###.### 2003-09-30 Not critical for tiger, committing to dragonfly. ###@###.### 2003-10-30
30-09-2003