From: SourceForge.net <no...@so...> - 2005-08-31 15:15:57
|
Bugs item #1274309, was opened at 2005-08-26 16:46 Message generated for change (Comment added) made by warp9pnt9 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=1274309&group_id=5757 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: DynAPI 3 API Group: None Status: Open Resolution: None Priority: 5 Submitted By: ksj (skang) Assigned to: Andrew Gillett (agillett) Summary: unable to redraw dynlayer object in IE 6.0 Initial Comment: layer2 is a dynlayer object which is already a children of dynlayer object layer1. The following redraw logic does not work in IE 6.0 layer2.removeFromParent(); layer1.addChild(layer2); Below is the error message: Line: 51 Char: 4 Error: invalid argument Code: 0 URL: http://127.0.0.1/test.html ---------------------------------------------------------------------- >Comment By: L W (warp9pnt9) Date: 2005-08-31 11:15 Message: Logged In: YES user_id=706287 Hi. It was Andrew (agillett) who changed Resolution to Works for Me, before the example was supplied. Now I see the problem as you describe. ======== In Firefox, if reload, I get this error in the JavaScript console: Error: this.parent.menu.OnLoadDesktop is not a function Source File: file:///path/to/dynapi-3.0.0-beta2/examples/test/content.html Line: 22 If I then hold Shift and reload, I get this JavaScript error: Error: this.parent.menu.OnUnloadDesktop is not a function But the page loads properly otherwise. This indicates that something is being destroyed and then trying to use it after it's gone. ======== In IE 6, on pressing Set Desktop, I get a different error from the one reported. In an alert-style popup, in addition to the script error popup: An error has occured in this dialog. Error: 84 Unspecified error. And the odd thing, the IE script error popup has no content: Line: Char: Error: Code: URL: But clicking "OK" on the alert-style popup closes the IE script error popup as well. Reloading the page AFTER clicking Set Desktop yields the following script error: Line: 198 Char: 19 Error: Can't execute code from a freed script Code: 0 URL: file:///path/to/dynapi-3.0.0-beta2/examples/test/menu.html Followed by: Line: 22 Char: 4 Error: Object doesn't support this property or method Code: 0 URL: file:///path/to/dynapi-3.0.0-beta2/examples/test/content.html Then the page reloads just fine. I'll have to look into it some more. ---------------------------------------------------------------------- Comment By: ksj (skang) Date: 2005-08-31 10:20 Message: Logged In: YES user_id=1335843 Still does not work for me - sorry I submitted "Works For Me" by mistake ---------------------------------------------------------------------- Comment By: ksj (skang) Date: 2005-08-31 10:17 Message: Logged In: YES user_id=1335843 First, thanks a lot for checking this problem. Your test code does work. To reproduce my problem, please unzip my attached file and put it in "test" folder under the dynapi's "examples" folder. "desktop.html" is the entrance page. Please follow steps below to see the problem: ========================================== Problem for IE6: Step 1: browse page: "desktop.html" and remember what's in the the lower frame of the screen. Step 2: click "Set Desktop" button to redraw the lower frame of the screen. You can see how the yellow layer and blue layer disappear. ========================================== BTW, I just found another problem for the same code when running it in firefox 1.0.1. Below are the steps to reproduce the problem: Step 1: browse page: "desktop.html" and remember what's in the upper frame of the screen. Step 2: click the browser's "reload" button to refresh the page. You'll see that "toolbar1" disappears ---------------------------------------------------------------------- Comment By: L W (warp9pnt9) Date: 2005-08-31 09:06 Message: Logged In: YES user_id=706287 Also, let us know what specific version of DynAPI you are using. I did not see the problem with dynapi-3.0.0-beta2. So provide a complete example of the failure, and the DynAPI version you're using. ---------------------------------------------------------------------- Comment By: Andrew Gillett (agillett) Date: 2005-08-30 23:48 Message: Logged In: YES user_id=134108 I haven't been able to reproduce this error. My test case is http://dynapi.sourceforge.net/releases/dynapi3x/test/006.Redraw.html Can you supply the complete code for your example that fails? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=1274309&group_id=5757 |