JDK-5069423 : JFileChooser ignores FILES_AND_DIRECTORIES on GTK and Motif
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.1,1.4.1_03,5.0,6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS:
    generic,linux,linux_redhat_9.0,solaris_8 generic,linux,linux_redhat_9.0,solaris_8
  • CPU: generic,x86,sparc
  • Submitted: 2004-06-29
  • Updated: 2010-07-09
  • Resolved: 2011-03-07
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 6 JDK 7
6u1Fixed 7 b03Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
JFileChooser enters given folder instead of selecting it and returning. I attach slightly modified FileChooserDemo.java. On Metal L&F it works fine. JDK 1.5.0 build 57. I run test with command: java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel FileChooserDemo
###@###.### 2004-06-29

Comments
EVALUATION There are conditions that don't take info account FILES_AND_DIRECTORIES mode. They are quite simple to fix. NetBeans team needs this bugs to be fixed for using NetBeans with GTK L&F.
18-09-2006

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
25-09-2004

EVALUATION This is not a regression. The file selection mode FILES_AND_DIRECTORIES has never worked as intended under Motif and GTK L&F. This will be addressed in the next release. ###@###.### 2004-07-15 This fix requires implementation of rfe 5090726. ###@###.### 2005-1-25 20:23:32 GMT
15-07-2004