-
Bug
-
Resolution: Fixed
-
P1
-
1.4.0
-
rc1
-
x86
-
windows_2000, windows_xp
-
Verified
JDK : jdk1.4.0-build 86
JCK : JCK1.4-b12, JCK13.a
Platform[s] : Windows XP Professional, win2000
switch/mode : -Xmixed -Xfuture
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test : api/java_awt/interactive/FileDialogTests.html#FileDialogTests
If any file in awt.FileDialog is selected via mouse double-click,
FileDialog passes last mouse click to the parent window.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/FileDialogTests.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/FileDialogDisplayer.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/merlin/b86/jck14/win32/winxppro/workDir/api-interactive/api/java_awt/interactive/FileDialogTests_FileDialogTests.jtr
How to reproduce:
=================
1. Run the following script (probably, you may need to change JCK and JAVA_HOME paths)
2. Press "Activate" button to bring up FileDialog
3. Adjust FileDialog position to make sure that at least one file name
in the FileDialog's list is placed exactly over the "Activate" button
from the main test frame.
4. Double-click mouse on that file name.
You will see that FileDialog disappears but brings up again because of last click reaches "Activate" button.
--- Script start ---
#!/bin/sh
JAVA_HOME="c:/j2sdk1.4.0-rc"
JCK="i:/sail16/JCK/jck14/JCK-runtime-14"
export CLASSPATH="$JCK/classes;$JCK/javatest.jar"
executeClass="javasoft.sqe.tests.api.java.awt.interactive.FileDialog.FileDialogTests"
executeArgs="-TestCaseID FileDialogTest0005"
$JAVA_HOME/bin/java -Xfuture -Xmixed -showversion ${executeClass} ${executeArgs}
--- Script end ---
Test output:
============
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b86)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b86, mixed mode)
FileDialogTest0005: Failed. FileDialog test does NOT work as expected.
STATUS:Failed.tests: 1; failed: 1; first test case failure: FileDialogTest0005
Specific Machine Info:
=====================
Hostname: jck-win2000xp
OS: Windows XP Professional
JCK : JCK1.4-b12, JCK13.a
Platform[s] : Windows XP Professional, win2000
switch/mode : -Xmixed -Xfuture
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test : api/java_awt/interactive/FileDialogTests.html#FileDialogTests
If any file in awt.FileDialog is selected via mouse double-click,
FileDialog passes last mouse click to the parent window.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/FileDialogTests.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/FileDialogDisplayer.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/merlin/b86/jck14/win32/winxppro/workDir/api-interactive/api/java_awt/interactive/FileDialogTests_FileDialogTests.jtr
How to reproduce:
=================
1. Run the following script (probably, you may need to change JCK and JAVA_HOME paths)
2. Press "Activate" button to bring up FileDialog
3. Adjust FileDialog position to make sure that at least one file name
in the FileDialog's list is placed exactly over the "Activate" button
from the main test frame.
4. Double-click mouse on that file name.
You will see that FileDialog disappears but brings up again because of last click reaches "Activate" button.
--- Script start ---
#!/bin/sh
JAVA_HOME="c:/j2sdk1.4.0-rc"
JCK="i:/sail16/JCK/jck14/JCK-runtime-14"
export CLASSPATH="$JCK/classes;$JCK/javatest.jar"
executeClass="javasoft.sqe.tests.api.java.awt.interactive.FileDialog.FileDialogTests"
executeArgs="-TestCaseID FileDialogTest0005"
$JAVA_HOME/bin/java -Xfuture -Xmixed -showversion ${executeClass} ${executeArgs}
--- Script end ---
Test output:
============
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b86)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b86, mixed mode)
FileDialogTest0005: Failed. FileDialog test does NOT work as expected.
STATUS:Failed.tests: 1; failed: 1; first test case failure: FileDialogTest0005
Specific Machine Info:
=====================
Hostname: jck-win2000xp
OS: Windows XP Professional
- relates to
-
JDK-4531852 MOUSE_RELEASED sent when FileDialog dismissed by double-clicking
- Open
-
JDK-4531849 REG: Extra ActionEvent fired on win32
- Resolved
-
JDK-4327679 MouseDragged,MouseReleased are not triggered by Button for Middle mouse button
- Closed