| Issue 20: | Javascript show hide plugin cause recreate activex and activex lost its state | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1.hide object by adding style display:none 2.showing object by setting style display:block 3.and then the activex recreate and lost its state What is the expected output? What do you see instead? activex must save its state and simply we can show or hide object tag What version of the product are you using? On what operating system? FF v8 - ffactivex r39 - Windows 7 Please provide any additional information below.
Dec 29, 2011
Project Member
#1
leeor.ah...@gmail.com
Status:
Invalid
Dec 29, 2011
thank you for your attention. how i can enable logging ?
Dec 29, 2011
Please see the new ConfiguringLogging Wiki page.
Dec 29, 2011
AxHost.NPP_New: debug level set to 5
AxHost.verifyClsID: verified successfully
AxHost.setClsID: failed to set the requested clsid
AxHost.NPP_New: no valid CLSID or PROGID
AxHost.~AXHost: destroying the control...
AxHost.TestAuthorization: returning True
AxHost.verifyClsID: verified successfully
AxHost.setClsID: CLSID {6BA21C22-53A5-463f-BBE8-5CF7FFA0132B} set
AxHost.verifyClsID: verified successfully
AxHost.setClsIDFromProgID: PROGID EDOFFICE.EDOfficeCtrl.1 resolved and set
AxHost.CreateControl: control created successfully
AxHost.TestAuthorization: returning True
AxHost.verifyClsID: verified successfully
AxHost.setClsID: CLSID {6BA21C22-53A5-463f-BBE8-5CF7FFA0132B} set
AxHost.verifyClsID: verified successfully
AxHost.setClsIDFromProgID: PROGID EDOFFICE.EDOfficeCtrl.1 resolved and set
AxHost.CreateControl: control created successfully
NPP_Destroy: destroying the control...
AxHost.~AXHost: destroying the control...
// hide activex
NPP_Destroy: destroying the control...
AxHost.~AXHost: destroying the control...
// show activex
AxHost.TestAuthorization: returning True
AxHost.verifyClsID: verified successfully
AxHost.setClsID: CLSID {6BA21C22-53A5-463f-BBE8-5CF7FFA0132B} set
AxHost.verifyClsID: verified successfully
AxHost.setClsIDFromProgID: PROGID EDOFFICE.EDOfficeCtrl.1 resolved and set
AxHost.CreateControl: control created successfully
Dec 29, 2011
why status of this issue is invalid ? this is important issue for me !
Dec 30, 2011
The status of this issue is invalid because your logs corroborate the explanation I provided in my initial reply to this report - when hiding the plugin object, the browser destroys it. It is shown by the calls to NPP_Destroy. Since you have added your hide/show comments by hand, I have created the following page - http://jsfiddle.net/leeor/xaVcN/embedded/result/ - to illustrate exactly what is happening when you hide an element, as opposed to setting its size to 0 (height, width, or both). Below, you can see the exact logging output, with the hide/show/resize messages. I suggest that you switch to changing the element's size instead of hiding it. {{{ AxHost.NPP_New: debug level set to 5 AxHost.verifyClsID: verified successfully AxHost.setClsID: CLSID {D27CDB6E-AE6D-11cf-96B8-444553540000} set AxHost.verifyClsID: verified successfully AxHost.setClsIDFromProgID: PROGID ShockwaveFlash.ShockwaveFlash resolved and set AxHost.CreateControl: control created successfully AxHost.AddEventHandler: handler OnReady set for event onreadystatechange setting width to 0... setting width to 300... setting height to 0... setting height to 300... setting height to 0... setting width to 0... setting height to 300... setting width to 300... hiding... NPP_Destroy: destroying the control... AxHost.~AXHost: destroying the control... showing... AxHost.TestAuthorization: returning True AxHost.NPP_New: debug level set to 5 AxHost.verifyClsID: verified successfully AxHost.setClsID: CLSID {D27CDB6E-AE6D-11cf-96B8-444553540000} set AxHost.verifyClsID: verified successfully AxHost.setClsIDFromProgID: PROGID ShockwaveFlash.ShockwaveFlash resolved and set AxHost.CreateControl: control created successfully AxHost.AddEventHandler: handler OnReady set for event onreadystatechange }}}
Jun 28, 2012
EDOFFICE.EDOfficeCtrl.1 EDOFFICE.EDOfficeCtrl.1
Jun 29, 2012
what's your mean ? |