-
Bug
-
Resolution: Fixed
-
P4
-
14.0.2, 15, 16
-
b14
-
x86_64
-
windows_10
ADDITIONAL SYSTEM INFORMATION :
System : Windows 10 Familial Edition 64-Bits
Java version :
JDK 14.0.2 2020-07-14
Runtime environment (build 14.0.2+12-46)
JDK 64-Bit Server VM (build 14.0.2+12-46, mixed mode, shared)
A DESCRIPTION OF THE PROBLEM :
When opening a JFileChooser with file section mode set to FILES_AND_DIRECTORIES, if we click on the details view button at start up and then on home button after ward all the file / folder description are mess up.
That is:
the date is placed either in the the size column or the type column,
the canonical path name of the parent directory is placed into the modified date column
the file/folder type is placed into the modified date column (this one is not always reproducible)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use either MetalLookAndFeel or NimbusLookandFeel
instanciate JFileChooser with file section mode set to FILES_AND_DIRECTORIES
showOpenDialog() (showSaveDialog also does the same thing)
Click on Details view button
Click on Home button
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The file / folder description should be placed in the right column
ACTUAL -
The file / folder description are not placed in the right column
---------- BEGIN SOURCE ----------
//import from javax.swing.*;
JFileChooser fChooser = new JFileChooser();
fChooser.showOpenDialog(); //showSaveDialog(); also cause the issue
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Seems to be a source code issue. I did not find any work around.
FREQUENCY : always
System : Windows 10 Familial Edition 64-Bits
Java version :
JDK 14.0.2 2020-07-14
Runtime environment (build 14.0.2+12-46)
JDK 64-Bit Server VM (build 14.0.2+12-46, mixed mode, shared)
A DESCRIPTION OF THE PROBLEM :
When opening a JFileChooser with file section mode set to FILES_AND_DIRECTORIES, if we click on the details view button at start up and then on home button after ward all the file / folder description are mess up.
That is:
the date is placed either in the the size column or the type column,
the canonical path name of the parent directory is placed into the modified date column
the file/folder type is placed into the modified date column (this one is not always reproducible)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use either MetalLookAndFeel or NimbusLookandFeel
instanciate JFileChooser with file section mode set to FILES_AND_DIRECTORIES
showOpenDialog() (showSaveDialog also does the same thing)
Click on Details view button
Click on Home button
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The file / folder description should be placed in the right column
ACTUAL -
The file / folder description are not placed in the right column
---------- BEGIN SOURCE ----------
//import from javax.swing.*;
JFileChooser fChooser = new JFileChooser();
fChooser.showOpenDialog(); //showSaveDialog(); also cause the issue
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Seems to be a source code issue. I did not find any work around.
FREQUENCY : always
- is cloned by
-
JDK-8252483 Data of some objects of Desktop folder in JFileChooser Details view are in wrong columns
-
- Open
-
- relates to
-
JDK-8252469 Backout JDK-8250935 fix
-
- Resolved
-