Closed Bug 411149 Opened 17 years ago Closed 17 years ago

Firefix 2.0.1.1 handling of style.display='none' causes plug-ins to reload, lose context

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 90268

People

(Reporter: Kevin.McCoy, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

Came to light with Dojo 1.0.0 TabContainer, one tab has a dojo ContentPane with a FlashPlayer instance (a Flex app).  Dojo uses style.display='none' to hide inactive tabs, when tab re-activated in FireFox the FlashPlayer reloads the SWF file (in contrast, IE the ContentPane is simply displayed with no loss of context/input etc. in a Flex component). 

Reproducible: Always

Steps to Reproduce:
1.Load FlashPlayer (preferably a simple Flex app) in a Dojo TabContainer
2.switch between tabs
3.Observe Flash/Flex component reload when tab is selected in FireFox
Actual Results:  
I have a simple Flex app that shows a progress bar when loaded, available on request.  Also have a simple Dojo application that loads this. In IE, state is maintained when tab deselected/selected.

Expected Results:  
Firefox should maintain state of hidden TabContainer/ContentPane - handling of visibility and style.display should not cause reload of plug-in
This is a known problem, see bug 90268.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.