JDK-4686118 : REGRESSION: Toolbar icons disappears after lock/unlock computer
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt,windows_2000
  • CPU: x86
  • Submitted: 2002-05-16
  • Updated: 2002-06-12
  • Resolved: 2002-06-12
Related Reports
Duplicate :  
Description

Name: rmT116609			Date: 05/15/2002


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

FULL OPERATING SYSTEM VERSION : Windows 2000/XP

DESCRIPTION OF THE PROBLEM :
Run notepad demo application Press Alt+Ctrl+Del and lock computer.

Unlock computer Icons on toolbar are disappered(particulary the "create new file" icon disappear always).

The problem is also reproduciable after the screen saver starts.

This defect is not always reproduciable.

This problem is not detected with JDK1.3.1_03

REGRESSION.  Last worked in version 1.3.1_03

This bug can be reproduced often.

Release Regression From : 1.3.1_03
The above release value was the last known release where this 
bug was known to work. Since then there has been a regression.

(Review ID: 146603) 
======================================================================

Name: rmT116609			Date: 05/20/2002


FULL OPERATING SYSTEM VERSION :
Windows 2K Service Pack 2
Win 5.00.2195

EXTRA RELEVANT SYSTEM CONFIGURATION :
Intel PIII 733 MHZ
768 MB Ram
NVidia

 DESCRIPTION OF THE PROBLEM :
After deactivating the OpenGL screen saver some of the components do not repaint properly.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Set windows screen saver to be one of the OpenGL screen
savers (3D Open Text).
2. Run JFC - Notepad Demo which is distributes with the 1.4 JDK. (java -jar Notepad.jar)
3. Allow the screen saver to be come active.
4. Deactive the screen saver through keyboard or maouse
motion.
5. Note the state of the Icon buttons.

EXPECTED VERSUS ACTUAL BEHAVIOR :
*Almost* always the one or more the buttons will fail to repaint.  You can improve chances to see this issue by running multiple Notepad instances.


CUSTOMER WORKAROUND :
Force a manual repaint of the window, by overlaying another window or resizing.
(Review ID: 146820)
======================================================================

Name: rmT116609			Date: 05/22/2002


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

FULL OPERATING SYSTEM VERSION :
Windows NT Version 4.0

EXTRA RELEVANT SYSTEM CONFIGURATION :
service pack 6

A DESCRIPTION OF THE PROBLEM :
after locking the screen (or press ctrl+alt+del and then
esc) the imageicon on a jbutton is not repainted

REGRESSION.  Last worked in version 1.3

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. compile the code below using jdk1.3 or jdk1.4
2. run the application using jdk1.4
3. press alt+ctrl+del, then esc to go back to the desktop


EXPECTED VERSUS ACTUAL BEHAVIOR :
expected: the imageicon on the jbutton is visible (as is the
case with the virtual machine of jdk1.3

actual: the imageicon is not visible

This bug can be reproduced always.

---------- BEGIN SOURCE ----------
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JFrame;

public class ImageIconTester
    extends JPanel
{
    public ImageIconTester(String filename) {
        add(new JButton(new ImageIcon(filename)));
    }

    public static void main(String [] arg) {
        JFrame f = new JFrame();

        f.getContentPane().add(new ImageIconTester(arg[0]));
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.pack();
        f.setVisible(true);
    }
}
---------- END SOURCE ----------

CUSTOMER WORKAROUND :
1. minimize, then restore the application
or
2. click on the jbutton
(Review ID: 146892)
======================================================================

Comments
EVALUATION Closing as a duplicate of earlier bug 4664818 ###@###.### 2002-05-17
17-05-2002