JDK-4527320 : cursor flickers when running applets where repaint is called often
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-11-14
  • Updated: 2002-04-04
  • Resolved: 2002-04-04
Related Reports
Duplicate :  
Description

Name: gm110360			Date: 11/14/2001


java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01a)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)

Go to http://p20.my.yahoo.com/javaticker/ (which will launch the ticker)

 OR

(Another example http://www.javagameplay.com/index.html?tankHunter.html&2
and play the game)

Note the cursor (it is flickering which corresponds to the repaint).
(Review ID: 135404) 
======================================================================

Comments
EVALUATION This problem is caused by color palette rotation between JPI and the browser when the applet is running. This happens most likely in lower color depth like 16/256 colors. Changing the depth to 65K or higher will solve the problem. In the future, JPI should use the same color palette as the browser, and this problem will go away. ###@###.### 2001-12-12 Java in general does not work with 16 colors - jre crushes. So, 16 colors are not supported by jre. The only time when I was able to reproduce this problem is when I set display settings to 256 colors and resolution to 1152 x 864 (Using 85 Hz frequency). Besides the fact that it is a very unhealthy setting and everything flickers (not just an applet), I was able to see the problem with JRE 1.4.0 build 83, beta3. I was not able to see the problem with JRE 1.4.1 build 5. I was able to get the *Tank*-thing going. Could you please retest with 1.4.1 and verify that you still see the problem. ###@###.### 2002-03-20 This problem could be a duplicate of 4409306, which started happening in 1.3 for win2k/XP and is still apparent in 1.4 (for apps which do not use the new hw-accelerated back buffer introduced in 1.4). The problem is not related to palettes, but comes from a combination of DirectDraw locking for writing to the screen and the user system having a video card which does not support the current cursor in hardware. See the bug report for more info. ###@###.### 2002-04-03 Based on the description, I agree. Marking as duplicate. ###@###.### 2002-04-04
03-04-2002

WORK AROUND Name: gm110360 Date: 11/14/2001 none ====================================================================== Change the color depth to 65K or higher. ###@###.### 2001-12-12
12-12-2001