Closed Bug 173276 Opened 22 years ago Closed 22 years ago

Applet destroyed if I hide the <div> which contains it

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 90268

People

(Reporter: bosch2k1, Assigned: joe.chou)

Details

Attachments

(2 files)

480 bytes, text/html
Details
1.27 KB, application/octet-stream
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021006
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021006

I put an applet into a <div> tag, then dynamically I hide the div: the result is
that applet is destroyed and then initialized again when I display the div.
If the applet life cycle is init, start, stop, destroy, I wonder why Mozilla
destroys the applet even if I don't unload the page and then initialize it again.
I think Mozilla should only stop the applet when I hide the div.

Reproducible: Always

Steps to Reproduce:
1. Put an applet into a <div> tag
2. Hide the div. 
3. Display the div. 

Actual Results:  
The applet is destroyed.
The applet is initialized again.

Expected Results:  
Mozilla should only stop the applet when I hide it in order to maintain applet
alive and not initialize it again.
Attached file Test Page
Thìs is the test page.
Attached file Test applet
... and this is a test applet. Put test page and .class into the same dir.

*** This bug has been marked as a duplicate of 90268 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Chris Petersen is a new QA contact for oji component. His email is:
petersen@netscape.com
Assignee: joe.chou → petersen
fixing small error for pmac@netscape.com (filter with : SPAMMAILSUCKS)
Assignee: petersen → joe.chou
QA Contact: pmac → petersen
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: