United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7144207 [macosx] Text disappears when moving from external monitor to laptop
JDK-7144207 : [macosx] Text disappears when moving from external monitor to laptop

Details
Type:
Bug
Submit Date:
2012-02-09
Status:
Resolved
Updated Date:
2013-03-12
Project Name:
JDK
Resolved Date:
2013-03-12
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
x86
Priority:
P2
Resolution:
Duplicate
Affected Versions:
7u4
Fixed Versions:
8

Related Reports
Backport:
Relates:
Relates:

Sub Tasks

Description
Normally I work on a MacBook Pro with an external monitor attached. The laptop is closed, so the external monitor is the only screen in use.  In this configuration, web start applications and applets and other standalone code works fine.

However, when I disconnect the external monitor and switch to the laptop display the same applications often stop drawing text. In the attached case, the button label and text area content draws correctly, but if you resize the window small enough so the scroll area shows scrollbars the text stops drawing. I am not sure if the scroll pane is important or not, but it readily reproduces the problem.

Test case attached. 'before.png' shows the state before the problem occurs, 'after.png' shows the state afterwards.

                                    

Comments
EVALUATION

Moltimonitor configuration not required to reproduce this issue - fast resizing on one display does the same. Couple of findings:
- turning off CALayer solves this issue;
- issue manifested on a small subset of machines - namely MacBook Pro with Intel/Nvidia cards combo with automatic cards switching enabled and only on Lion (10.7.2 and 10.7.3). Any variation - 10.6.8 on the same platform or different set of cards - bug not reproducible.
                                     
2012-02-15
Assignee has an opinion that the problem is fixed by JDK-7168550. Reassigning to AWT engineer.
                                     
2013-01-22
This problem is resolved as a part of the fix for JDK-7168550,
which has been pushed into jdk8.

So, I am closing this bug as a duplicate of 7168550.
                                     
2013-03-12



Hardware and Software, Engineered to Work Together