United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7190349 : [macosx] Text (Label) is incorrectly drawn with a rotated g2d

Details
Type:
Bug
Submit Date:
2012-08-09
Status:
Resolved
Updated Date:
2014-04-18
Project Name:
JDK
Resolved Date:
2013-07-26
Component:
client-libs
OS:
os_x
Sub-Component:
2d
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:
Relates:

Sub Tasks

Description
FULL PRODUCT VERSION :
Java Plug-in 10.6.0.21
Using JRE version 1.7.0_06-ea-b21 Java HotSpot (TM) 64-Bit server VM

ADDITIONAL OS VERSION INFORMATION :
MacOSX 10.7.5 & 10.8

A DESCRIPTION OF THE PROBLEM :
Text (Label) in a JTabbedPane is incorrectly drawn making the tab text label unreadable.

REGRESSION.  Last worked in version 6u31

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Goto www.rampageremote.com and login in as
Username= customer
Password= customer
Click the proof button to spawn applet. See tab in left pane of the Page Browser.
Should Read "Customers & Jobs".


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Legible text in the tab
ACTUAL -
Text in tab that appear shifted (Not Legible)

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
None

Note, I submitted this same bug but it was closed as not reproducible. It's reproducible every time so please email me if you have difficulty reproducing it.

OLD BUG ID WAS 7168653

                                    

Comments
The title of the bug is misleading. Actually, it has nothing to do with JTabbedPane. The more appropriate title would be like "[macosx] Wrong rendering when drawing text into rotated Graphics2D instance". Attached is a heavily modified testcase provided by the reporter. It's a simple applet. Run it and select "Add" , then "Internal frame" from the menu. I've also attached two screenshots. One shows correct rendering with JDK 6, and another incorrect with JDK 8.  
                                     
2013-02-05
Sergey will own the bug.
                                     
2013-05-23
URL:   http://hg.openjdk.java.net/jdk8/2d/jdk/rev/a8b9df782017
User:  serb
Date:  2013-07-26 17:21:29 +0000

                                     
2013-07-26
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/a8b9df782017
User:  lana
Date:  2013-08-06 17:34:56 +0000

                                     
2013-08-06
How risky is the fix? Did the customer verify it? Can the fix be considered for April CPU inclusion? 
                                     
2013-12-19
removed 7u60-critical-request because back port is not ready yet
                                     
2014-01-09
SQE OK to take the fix into CPU14_02
                                     
2014-01-13



Hardware and Software, Engineered to Work Together