JDK-7144207 : [macosx] Text disappears when moving from external monitor to laptop
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u4
  • Priority: P2
  • Status: Resolved
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-02-09
  • Updated: 2013-03-12
  • Resolved: 2013-03-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u6Fixed 8Resolved
Related Reports
Relates :  
Relates :  
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
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.
12-03-2013

Assignee has an opinion that the problem is fixed by JDK-7168550. Reassigning to AWT engineer.
22-01-2013

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.
15-02-2012