United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4774159 : REGRESSION: Applet display area corupted after resizing under IE6 SP1

Details
Type:
Bug
Submit Date:
2002-11-05
Status:
Resolved
Updated Date:
2002-11-19
Project Name:
JDK
Resolved Date:
2002-11-19
Component:
deploy
OS:
windows_xp,windows_2000
Sub-Component:
plugin
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.1,1.4.1_02
Fixed Versions:
1.4.2 (mantis)

Related Reports
Duplicate:

Sub Tasks

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
EVALUATION

Fixed in AxControl.cpp

###@###.### 2002-11-08
                                     
2002-11-08
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mantis

FIXED IN:
mantis

INTEGRATED IN:
mantis
mantis-b08


                                     
2004-06-14



Hardware and Software, Engineered to Work Together