JDK-4774159 : REGRESSION: Applet display area corupted after resizing under IE6 SP1
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.4.1,1.4.1_02
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_2000,windows_xp
  • CPU: x86
  • Submitted: 2002-11-05
  • Updated: 2002-11-19
  • Resolved: 2002-11-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Related Reports
Duplicate :  
Description
Name: gm110360			Date: 11/05/2002


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

FULL OPERATING SYSTEM VERSION :Microsoft Windows 2000
[Version 5.00.2195]


ADDITIONAL OPERATING SYSTEMS :

Internet Explorer 6.0 with Service Pack SP1

A DESCRIPTION OF THE PROBLEM :
Applets displays OK. Then rezize IE so that only part of the
applet is displayed. When the IE window is then made larger
again so that whole applet should be visible, the display of
the part of the applet that wes hidden in 'mangled' with
pieces of IE scrollbars and other inappropriate graphics
displayed. ie. the are of the applet uncovered is not
repainted properly.

This occurs only on InternetExplorer 6 with SERVICE PACK 1 !!!
Update works on IE 6 without service pack. This problem also
occurs with WIndowsXP.

REGRESSION.  Last worked in version 1.4

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Display applet
2. resize window so only part of applet is visible
3. resize window so the all applet shoulf be visible

EXPECTED VERSUS ACTUAL BEHAVIOR :
Newly exposed area ofApplet should be repainted

Not repaited until update forced by covering appler area
with another application



REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 166635) 
======================================================================

Name: gm110360			Date: 11/06/2002


FULL PRODUCT VERSION :
JRE 1.4.1 and JRE 1.4.1_02


FULL OPERATING SYSTEM VERSION :
Windows XP SP1

A DESCRIPTION OF THE PROBLEM :
When Internet Explorer is stretch by dragging right or
bottom side, the Applet is not redraw correctly, and
garbage is display in the new visible applet zone.

REGRESSION.  Last worked in version 1.4

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Create a JApplet containing a JPanel
2. Create an HTML page to display the applet
3. Launch Internet Explorer with the HTML page.
4. Resize Internet Explorer to have IE smaller than the
Applet size (scroll bar appear in the client zone of
Internet explorer).
5. Stretch Internet explorer with right or bottom side.

Rem.: Netscape 7.0 works well, but not Internet Explorer

EXPECTED VERSUS ACTUAL BEHAVIOR :
The zone of the applet being visible by the stretching is
not display correctly. You see garbage, not the new
visible zone of the applet.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
File JTestApplet.java

public class JTestApplet extends javax.swing.JApplet {
    
    public JTestApplet() {
    }
     
    public void init() {
        //this.getRootPane().putClientProperty("defeatSystemEventQueueCheck",
Boolean.TRUE);
    }
    
    public void start() {
        jp = new JPanel();
        jp.setBackground(Color.red);
        this.getContentPane().setLayout(new java.awt.BorderLayout());
        this.getContentPane().add(jp, java.awt.BorderLayout.CENTER);
    }
    
    public void stop() {
        this.getContentPane().removeAll();
        jp = null;
    }
    
    JPanel jp = null;
}

File JTestApplet.html

<HTML>
<HEAD>
   <TITLE>Applet HTML Page</title>
</head>
<BODY>

<H3><HR WIDTH="100%">Applet HTML Page<HR WIDTH="100%"></h3>

<P>
<APPLET code="JTestApplet.class" width=640 height=480></applet>
</p>

<HR WIDTH="100%"><FONT SIZE=-1><I>Generated by NetBeans IDE</i></font>
</body>
</html>


---------- END SOURCE ----------
(Review ID: 166752)
======================================================================
###@###.### 2003-04-18

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis mantis-b08
14-06-2004

EVALUATION Fixed in AxControl.cpp ###@###.### 2002-11-08
08-11-2002