JDK-8027425 : The dialog doesn't come up from the application after clicking on the frame by mouse.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7,8
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • CPU: x86
  • Submitted: 2013-10-23
  • Updated: 2013-10-29
  • Resolved: 2013-10-29
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
Testsuite name: Regression 
JDK/JRE tested: openjdk8b112(64bit) 
OS/architecture: oel6.4-redhat-x64 
Reproducible: Always 
Reproducible on machine: oel6.4-redhat-x64 

Test run log location: 
http://jsqalab.us.oracle.com/results/Evergreen/8/open-b112/regression/oel6.4-redhat-x64/results-awt-part3/workDir/java/awt/Modal/WsDisabledStyle/OverBlocker/OverBlocker.jtr 
Test run result location: 
http://jsqalab.us.oracle.com/results/Evergreen/8/open-b112/regression/oel6.4-redhat-x64/results-awt-part3/workDir/java/awt/Modal/WsDisabledStyle/OverBlocker 

Steps to reproduce: 
1.Download regression workspace from http://jre.sfbay.sun.com/java/re/jdk/8/promoted/ea/b112/ws/jdk/test/ to /regression 
2.Install stable bundle JDK7u25b15 (download from http://jre.us.oracle.com/java/re/jdk/7u25/promoted/fcs/b15/bundles/linux-x64/jdk-7u25-linux-x64.tar.gz) to /regression/jdk1.7.0_25 
3. Install test bundle openJDK8b112 (download from http://jre.us.oracle.com/java/re/jdk/8/promoted/ea/b112/openjdk/bundles/linux-amd64/jdk_ri-8-b112-linux-amd64-16_oct_2013.zip ) to /regression/java-se-8-ri 
4.Download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b02/bundles/jtreg_bin-4.1.zip locate at /regression 
5.Create the script regression.sh as follows and run it 
export JT_JAVA=/regression/jdk1.7.0_25 /regression/jtreg/linux/bin/jtreg -v -m -ignore:quiet -jdk:/regression/java-se-8-ri -r:/regression/results/reportDir -w:/regression/results/workDir /regression/test/java/awt/Modal/WsDisabledStyle/OverBlocker/OverBlocker.java 

Case Instruction: 
The test will be run 4 times, to start next test just close all windows of previous; the instructions are the same for all tests: 
1) there is a frame with 'show modal' button, 
2) press the button to show a dialog, 
3) activate any non-Java application, move the app over the dialog, 
4) click on the frame by mouse, 
5) make sure that the dialog comes up from the application and now the dialog overlaps the app as well as the frame, if it's true, then the test passed, otherwise, it failed. Press 'pass' button only after all of the 4 tests are completed, the number of the currently executed test is displayed on the output window. 

Actual behavior: 
For the third and the forth tests: The dialog doesn't come up from the application after clicking on the frame by mouse refer to bug.png
Comments
is it deferral case or even P4?
29-10-2013

This test fails against JDK 8b01 and JDK 7b148.
29-10-2013

This issue is reproduced on LINUX against JDK 8b112 and JDK 7u45b09 and JDk 7u51b04. This issue is NOT reproduced on Windows.
29-10-2013

win7-sp1-x86 7u51b04(32bit) java/awt/Modal/WsDisabledStyle/OverBlocker/OverBlocker.java It has same issue.
29-10-2013

java/awt/Modal/WsDisabledStyle/OverBlocker/OverBlocker.java
23-10-2013