United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7124242 [macosx] Test doesn't work because of the frame round corners in the LaF
JDK-7124242 : [macosx] Test doesn't work because of the frame round corners in the LaF

Details
Type:
Bug
Submit Date:
2011-12-23
Status:
Resolved
Updated Date:
2013-06-26
Project Name:
JDK
Resolved Date:
2012-11-30
Component:
client-libs
OS:
os_x
Sub-Component:
javax.swing
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

Description
http://java.net/jira/browse/MACOSX_PORT-718 submitted 2011/11/17 by Yuri Nesterenko
This test does compare a bottom rectangle of the frame before and after resize. However in the default LaF (Aqua) frame corners are round, and background under the frame corners is different before and after so the comparison fails.
Build: b217
javax/swing/text/CSSBorder/6796710/bug6796710.java

                                    

Comments
EVALUATION

Author: Yuri Nesterenko Date: 18/Nov/11 09:33 AM
The same problem (round corners) plus zero delay:
closed/javax/swing/text/DefaultCaret/4203175/bug4203175.java
 
Author: Alexander Potochkin Date: 05/Dec/11 02:36 PM
The test should be updated, 
the frame must be undecorated to make the screenshot 
contain only Swing related data.
                                     
2011-12-23
Suggested fix:
http://cr.openjdk.java.net/~kshefov/7124242/webrev.00/
                                     
2012-11-16
URL:   http://hg.openjdk.java.net/jdk8/awt/jdk/rev/abee1d528df1
User:  serb
Date:  2012-11-30 12:57:59 +0000

                                     
2012-11-30
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/abee1d528df1
User:  lana
Date:  2012-12-11 19:52:58 +0000

                                     
2012-12-11



Hardware and Software, Engineered to Work Together