-
Bug
-
Resolution: Unresolved
-
P4
-
8, 14
-
x86_64
-
windows_10
ADDITIONAL SYSTEM INFORMATION :
Mac OS 10.15.4 Java Open JDK 14.0.1+7
A DESCRIPTION OF THE PROBLEM :
If I use the java.awt.FileDialog.FileDialog(Frame) to browse the file system on Mac OS 10.15.4 and newer, sometimes the folders and files (especially in folders with lots of files) appear to be disabled although they can be selected and used. Most of the times the disabled state for them disappears if you wait long enough.
The problem cannot be reproduced when using the Mac Finder.
Also the problem could not be reproduced with Mac OS 10.14 and older.
The problem can be reproduced with the latest Java 14 but it can also be reproduced with Java 1.8.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a java.awt.FileDialog.FileDialog(Dialog) and show it, navigate to a folder with lots of files and scroll through it, sometimes resources appear as disabled/read-only although they can still be selected and used.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The resources presented in the file chooser should not appear as disabled.
ACTUAL -
Sometimes resources (files and folders) are presented as disabled in the FileDialog.
---------- BEGIN SOURCE ----------
public static void main(String[] args) {
FileDialog chooser = new FileDialog((Frame)null);
chooser.setVisible(true);
}
---------- END SOURCE ----------
FREQUENCY : often
Mac OS 10.15.4 Java Open JDK 14.0.1+7
A DESCRIPTION OF THE PROBLEM :
If I use the java.awt.FileDialog.FileDialog(Frame) to browse the file system on Mac OS 10.15.4 and newer, sometimes the folders and files (especially in folders with lots of files) appear to be disabled although they can be selected and used. Most of the times the disabled state for them disappears if you wait long enough.
The problem cannot be reproduced when using the Mac Finder.
Also the problem could not be reproduced with Mac OS 10.14 and older.
The problem can be reproduced with the latest Java 14 but it can also be reproduced with Java 1.8.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a java.awt.FileDialog.FileDialog(Dialog) and show it, navigate to a folder with lots of files and scroll through it, sometimes resources appear as disabled/read-only although they can still be selected and used.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The resources presented in the file chooser should not appear as disabled.
ACTUAL -
Sometimes resources (files and folders) are presented as disabled in the FileDialog.
---------- BEGIN SOURCE ----------
public static void main(String[] args) {
FileDialog chooser = new FileDialog((Frame)null);
chooser.setVisible(true);
}
---------- END SOURCE ----------
FREQUENCY : often
- relates to
-
JDK-8236545 Compilation error in mach5 java/awt/FileDialog/MacOSGoToFolderCrash.java
- Resolved