-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta3
-
x86, sparc
-
generic, solaris_8
-
Verified
Testing with merin beta-refresh b74 on Solaris8/9 Sparc, Solaris7 x86 and RedHatLinux 7.1J.
FileDialog can not change a directory by an action in "Folders" or "Enter path or folder name" fields.
Trying to select a directory by clicking any directory name in "Folder" field or specifying a path name in "Enter path or folder name" field and hitting a Return key in the field, FileDialog disappears.
Steps to reproduce:
1. Launch Notepad demo ($JAVAHOME/demo/jfc/Notepad/Notepad.jar)
java -jar Notepad.jar
2. Select "File->Open" or click an icon for opening file.
Then, FileDialog comes up.
3. Click ".." directory name in "Folders" field to go up to an upper directory(or you can click any other directory name to go to another directory).
or
Specify a path name (ex. an upper directory or one of the lower directories) in "Enter path or folder name" field to go to another directory and hit a Return key in the field (if you don't change the path and hit a Return key, the problem occurs also).
Then, FileDialog disappears, therefore the files under the specified directory can not be listed and any file can not be selected.
The only way to select a file is to input the full path in "Enter file name" filed and click "OK" button.
Then, the selected file is loaded properly.
This problem is not seen in the previous build b73.
This problem does not occur on Windows platforms.
=======================================================================
I modified some description above and add some information below;
I found that FileNotFoundException is thrown using the test case below(JTextAreaTest.java)
This was an invalid test and has been removed.
michael.martak@Eng 2001-08-09
- duplicates
-
JDK-4494084 Regression: Cannot input korean characters on Textfield.
-
- Closed
-
-
JDK-4496201 JCK 14 : api/java_awt/interactive/FileDialogTests jdk1.4.0-beta2_b77 ,C1 ,C2
-
- Closed
-
-
JDK-4489480 FileDialog: Input location follows mouse.
-
- Closed
-
- relates to
-
JDK-4470922 Motif has its own focus traversal strategy
-
- Resolved
-
-
JDK-4482569 Solaris: Java crash when Cancel button pressed in FileDialog
-
- Closed
-