JDK-4856113 : Severely corrupted graphics on Windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.2_01
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2003-04-30
  • Updated: 2003-05-01
  • Resolved: 2003-05-01
Related Reports
Duplicate :  
Description
I am seeing seriously corrupted graphics when running any Swing application under JDK 1.4.1_02 or JDK 1.4.2-beta, to the point that the application is unusable.  Specifically, application windows and widgets are not being repainted properly; dialogs are not being painted until resized; menus do not paint items when activated; trying to resize windows leaves leftover areas of the window on the screen and causes strange resizing behavior inside the window (e.g. contained widgets appear in incorrect locations).  

For example, when I run Studio 5, the loading dialog appears, but the status message consistently overwrites itself without erasing the previous message.  The result is messages repeatedly painted atop one another.  Also, the status dialog is supposed to disappear when loading is complete, but areas of it are left on the screen until I move over them with another window.  Selecting a menu from the main window pops up only a blank grey region.  These or similar problems occur in Sun ONE Studio 5 RC1 (Nevada), Sun ONE Studio 4.1, NetBeans 3.4, and various other Swing-based GUI apps.  All Swing apps seem to be affected.

I realize that all of this sounds like just a local system problem, but I have successfully run previous versions of Sun ONE Studio and many other Swing-based apps on this machine and have made no changes to my configuration except to install JDK 1.4.1_02 or later.  For example, I had just run an older pre-release version of Sun ONE Studio 5 under JDK 1.4.1_01 successfully today before I uninstalled it and installed the Studio 5 RC1 version (which requires JDK 1.4.1_02).  Clearly, there is some issue with the graphics card on this machine (a Toshiba Tecra 8200, Trident CyberBlade-XP, latest driver rev) and the JDK's graphics subsystem.  I have found that I can eliminate the most severe problems by turning down the graphics acceleration settings on my machine, or by changing to 256-color mode.

What most concerns me is that something significant has changed in the JDK's graphics subsystem since JDK 1.4.1_01, and there is no clear information on the extent of the problem I am seeing--I believe there is a real possibility that other graphics cards/drivers might also be affected (for example, my laptop model is popular, and this brand of video card is common in many laptop systems).
###@###.### 2003-04-30

Comments
WORK AROUND I have found that I can eliminate the most severe problems by turning down the graphics acceleration settings on my machine, or by changing to 256-color mode. This is definitely not a workaround that general users would accept for any length of time. ###@###.### 2003-04-30 See workarounds listed in the bug report for bug 4839812 for more ideas. ###@###.### 2003-05-01
30-04-2003

EVALUATION Sounds like a duplicate of 4839812 (fortunately just fixed); waiting for input from submitter to make sure. ###@###.### 2003-04-30 Submitter verified that the fix to 4839812 also fixed this bug. Closing this one as a duplicate. ###@###.### 2003-05-01
30-04-2003