JDK-4675343 : Image icons vanish when screen lock is relelased
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2002-04-26
  • Updated: 2002-05-17
  • Resolved: 2002-05-17
Related Reports
Duplicate :  
Description
When I lock the screen and release it, some imageicon vanish.

1. Reproducing

 1) Compile the attached file, Test.java(included in sample.tar)
 2) Invoke "java Test"
    -> You can see a windows which includes file Tree and 3 buttons
       (red, green and red)
 3) Press "alt"+"ctl"+"delete" and click the button for screen lock
 4) Enter your password in order to release the lock status
    -> you can see one of three buttons of 2) (maybe red) and folder icon
       vanish.

2. Configration

  Pentium IV 1.4 [GHz]
  MPU : 384 [MHz]
  OS  : Windows2000 (Sp2, Japanese)
  JDK : 1.4.0fcs, 1.4.1b10

3. Note

  The attached program work well with jdk1.3.1_03

 
2002-04-26
==============================================================================

Comments
EVALUATION In the passed in test case the Image will be loaded using Toolkit.getDefaultToolkit().createImage(path), this code has not changed in ages. I would suspect what is happening is that at some point it is determined a VolatileImage can be used to speed things up, when the screen is locked the VolatileImage is likely blown away and we probably don't realize we need to recreate it. Reassigning to 2D for further analysis. ###@###.### 2002-04-26 Closing as a duplicate of bug 4664818. ###@###.### 2002-05-17
26-04-2002