United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7185512 The printout doesn't match image on screen.
7185512 : The printout doesn't match image on screen.

Details
Type:
Bug
Submit Date:
2012-07-20
Status:
Closed
Updated Date:
2012-11-20
Project Name:
JDK
Resolved Date:
2012-08-06
Component:
client-libs
OS:
windows_7
Sub-Component:
java.awt
CPU:
x86
Priority:
P1
Resolution:
Fixed
Affected Versions:
7,7u6
Fixed Versions:
7u6

Related Reports
Backport:
Relates:

Sub Tasks

Description
! FOR BETTER INSTRUCTIONS SEE COMMENTS SECTIONS

Test suite name: AWT function
JDK/JRE tested: jdk-7u6-ea-windows-i586.exe (7u6b19)
OS/architecture: x86
Reproducible: Always 
Reproducible on machine: win7-x86
Test run result location: 
http://jsqalab.us.oracle.com/results/Evergreen/7u6/b19/awt/win7-x86/results_fun1/ResultDir/SetShapePrintAWTTest/

Steps to reproduce: 
1. install the base jdk-7u6-ea-windows-i586.exe (build7u6b18)  from http://jre.us.oracle.com/java/re/jdk/7u6/promoted/ea/b18/bundles/windows-i586/ jdk-7u6-ea-windows-i586.exe  under  C:/Java/jdk1.7.0_06_b18
2. Install bundle the jdk-7u6-ea-windows-i586.exe (build7u6b19)  from http://jre.us.oracle.com/java/re/jdk/7u6/promoted/ea/b19/bundles/windows-i586/ jdk-7u6-ea-windows-i586.exe  under  C:/Java/jdk1.7.0_06_b19
3. Clone the awt functional workspace
3a. hg clone http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/7  C:/awt/
3b. cd 7
3c. hg clone http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/7/awt
4. Install ute from attachment  to C:/awt
5. add attachment testlist.fail to  C:/awt
6.Create results at  C:/awt
7. Modify the test_awt.sh  as: 
C:/awt/ute/ute run -harness tonga -testlist "/awt/testlist.fail" -env TONGA_JAR=C:/awt/ute/tool/tonga/tonga-3.0.jar -env BASEBUILD=C:/Java/jdk1.7.0_06_b18 -env KEYWORDS=manual -env STABLE_JAVA_HOME="C:/Java/jdk1.7.0_06_b18" -component awt -jdk " C:/Java/jdk1.7.0_06_b19" -testbase C:/awt/7/awt -results C:/awt/results
8. Go to C:/awt, and run the command : sh test_awt.sh
9.Run the test case: 
AWT_ShapedAndTranslucentWindows/Manual/SetShapePrintAWTTest

Case Instruction:
To check if an awt window set with shape prints correctly.
1. Wait for three shaped windows to be printed.
2. Verify each printout against the one shown on screen.
3. If image on screen matches the printout click 'Match' 
button.
4. Click 'Don't match' button if screenshots don't match.

Actual behavior:
The printout doesn't match image on screen. Refer to SetShapePrintAWTTest.jpg and SetShapePrintAWTTest2.jpg from attachment.

                                    

Comments
windows-vista-x86 with 7u10b15(32bit)
AWT_ShapedAndTranslucentWindows/Manual/ShapedTranslucentPrintTest
Create a new bug INTJDK-7600579. (converted to JDK-8003484)

                                     
2012-11-14
windows-vista-x86 with 7u10b15(32bit)
AWT_ShapedAndTranslucentWindows/Manual/ShapedTranslucentPrintTest
This case failed with Image on screen doesn???t match the printout.
refer to ShapedTranslucentPrintTest1.jpg and ShapedTranslucentPrintTest12.jpg from attachment.


                                     
2012-11-13
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/f04d8dee2da9
                                     
2012-08-14
EVALUATION

changeset: http://hg.openjdk.java.net/jdk7u/jdk7u6-dev/jdk/rev/f2738a05273d
                                     
2012-07-24
EVALUATION

The AwtTextField class should handle the WM_PRINTCLIENT message in the same way as it is done for the AwtTextArea class. They both are now based on the same RICHEDIT control.
                                     
2012-07-23
EVALUATION

TextField doesn't print its content and draw it incorrectly. TextArea works as expected.
                                     
2012-07-20



Hardware and Software, Engineered to Work Together