-
Bug
-
Resolution: Unresolved
-
P3
-
8, 9, 14.0.2, 15, 16, 19, 20, 21
-
Cause Known
-
generic
-
windows
FULL PRODUCT 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)
ADDITIONAL OS VERSION INFORMATION :
MS Windows 10 64-bit OS
A DESCRIPTION OF THE PROBLEM :
In "Desktop" shell folder, which is the root of Windows shell namespace, in "Details" view of "javax.swing.JFileChooser" the data of some objects, for example the user's profile folder, are in wrong columns in comparison with other displayed objects in this "Desktop" shell folder.
The issue is visible on the attached screenshot "Test.JPG", where the records corresponding to the user's profile folder "prprnara" and "Oracle Content" folder contain dates of their last modification in a wrong column in comparison to the correctly displayed record corresponding to the file "alpha_test.txt".
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile and run the attached test case "FileChooserDetailsViewTest.java".
2. In "javax.swing.JFileChooser" dialog window first click on "Details" button and then click on "Home" button.
In the original bug description the bug filer highlighted the requirement to make sure that this test scenario should be checked both with "javax.swing.plaf.metal.MetalLookAndFeel" and with "javax.swing.plaf.nimbus.NimbusLookAndFeel", however this requirement does not matter, because the debugging showed that this bug is irrelevant to any specific look & feel, hence leaving this original bug filer's requirement only for historical purposes.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Data of all objects of "Desktop" shell folder in "javax.swing.JFileChooser" "Details" view should be in correct columns.
ACTUAL -
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)
ADDITIONAL OS VERSION INFORMATION :
MS Windows 10 64-bit OS
A DESCRIPTION OF THE PROBLEM :
In "Desktop" shell folder, which is the root of Windows shell namespace, in "Details" view of "javax.swing.JFileChooser" the data of some objects, for example the user's profile folder, are in wrong columns in comparison with other displayed objects in this "Desktop" shell folder.
The issue is visible on the attached screenshot "Test.JPG", where the records corresponding to the user's profile folder "prprnara" and "Oracle Content" folder contain dates of their last modification in a wrong column in comparison to the correctly displayed record corresponding to the file "alpha_test.txt".
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile and run the attached test case "FileChooserDetailsViewTest.java".
2. In "javax.swing.JFileChooser" dialog window first click on "Details" button and then click on "Home" button.
In the original bug description the bug filer highlighted the requirement to make sure that this test scenario should be checked both with "javax.swing.plaf.metal.MetalLookAndFeel" and with "javax.swing.plaf.nimbus.NimbusLookAndFeel", however this requirement does not matter, because the debugging showed that this bug is irrelevant to any specific look & feel, hence leaving this original bug filer's requirement only for historical purposes.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Data of all objects of "Desktop" shell folder in "javax.swing.JFileChooser" "Details" view should be in correct columns.
ACTUAL -
- clones
-
JDK-8250935 JFileChooser incorrectly placed "Date" value in "Type" field
- Closed
- duplicates
-
JDK-7070605 JFileChooser shows incorrect information for home folder in Detail mode
- Closed