JDK-4856786 : Screen updates around mouse pointer not working (Similar to 4160291)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2003-05-01
  • Updated: 2003-05-02
  • Resolved: 2003-05-02
Related Reports
Duplicate :  
Description

Name: jk109818			Date: 04/30/2003


FULL PRODUCT VERSION :
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)

FULL OS VERSION :
Microsoft Windows XP [Version 5.1.2600]

EXTRA RELEVANT SYSTEM CONFIGURATION :
TOSHIBA Notebook Satellite model 1800 - Display adapter is Trident Video Accelerator CyberBlade XP Ai1v6.4022-016B.22ICDNP

A DESCRIPTION OF THE PROBLEM :
Using any Java2D-based program (e.g. SwingSet, Notepad, etc.), when the screen
updates in a region underneath the mouse of my notebook (either with the
build-in hardware mouse, or an external Mouse Systems serial mouse), the mouse
image is obliterated by the graphics update.  When I next move the mouse, a
rectangle bounding the mouse location is re-drawn with the image that was
previously under the mouse, prior to the update.  This makes clicking on
anything that updates the screen in the clicked location (e.g. menus, tabbed
panes, tree-nodes, scroll bars, etc.) result in lots of garbage on the screen
and it can be difficult to read the screen in that region.

See bug #4160291

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Install 1.4.2 Beta, run any Swing app (java webstart for instance) try clicking on a button.  Move the frame.

EXPECTED VERSUS ACTUAL BEHAVIOR :
I'd expect it to repaint properly
Screen updates are written all over the place.  If I move the frame from the bottom of my screen to the top - several images/buttons/elements of the applicaiton are left behind

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
After setting hardware acceleration to "level 3 - Disable all Direct Draw and Direct 3D accelerations, as well as all cursor and advanced drawing accelerations.  Use this setting to correct severe problems with DirectX accelerated applications." the probelm goes away.

Increasing harware acceleration beyod this level doesn't work.

I have not had this problem with prior versions of the JDK.
(Review ID: 183521) 
======================================================================

Comments
EVALUATION Sounds just like the bug that was just integrated into the latest 1.4.2 workspace, 4839812. Closing as a duplicate of this bug. The fix for this bug should be in the public 1.4.2 RC release. ###@###.### 2003-05-01
01-05-2003