
| Key: |
LPP-5173
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
--
|
| Assignee: |
Unassigned
|
| Reporter: |
Max Carlson
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
| Severity: |
Minor
|
| Fixed in Change#: |
7,426
|
| Runtime: |
N/A
|
| Fix in hand: |
False
|
|
Change r7406 - Bugs related to "destroy" causes the following testcase to hang the player:
<canvas>
<dataset name="foo">
<foo>
<bar/>
<bar/>
</foo>
</dataset>
<handler name="oninit">
teststate.apply();
list.locdata.setData(foo.data);
</handler>
<state name="teststate">
<view name="list">
<dataset name="locdata"/>
<view name="list" datapath="local:parent.locdata:/foo/bar">
<text/>
</view>
</view>
</state>
</canvas>
|
|
Description
|
Change r7406 - Bugs related to "destroy" causes the following testcase to hang the player:
<canvas>
<dataset name="foo">
<foo>
<bar/>
<bar/>
</foo>
</dataset>
<handler name="oninit">
teststate.apply();
list.locdata.setData(foo.data);
</handler>
<state name="teststate">
<view name="list">
<dataset name="locdata"/>
<view name="list" datapath="local:parent.locdata:/foo/bar">
<text/>
</view>
</view>
</state>
</canvas>
|
Show » |
|
Date: 2007-11-30 17:22:28 -0800 (Fri, 30 Nov 2007)
New Revision: 7426
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as
Log:
Change 20071130-maxcarlson-w by maxcarlson@Roboto on 2007-11-30 13:18:21 PST
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix replication of text with local datasets
New Features:
Bugs Fixed:
LPP-5173- Change r7406 broke replication of text with local datasetsTechnical Reviewer: bargull
QA Reviewer: promanik
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Apparently, sprites _do_ need recursive destruction in some cases.
Tests: See
LPP-5173.Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as 2007-11-30 21:39:24 UTC (rev 7425)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as 2007-12-01 01:22:28 UTC (rev 7426)
@@ -915,17 +915,13 @@
*
*/
LzSprite.prototype.destroy = function(recursive){
- /* This does not work!
- * -> Every subview of this sprite's owner has already removed itself, see LzView#destroy(..).
- * Therefore "this.owner.subviews" will be an empty array at this stage!
- */
- /*if (recursive) {
+ if (recursive) {
if (this.owner.subviews) {
for (var i = 0; i < this.owner.subviews.length; i++) {
this.owner.subviews[i].sprite.destroy(recursive);
}
}
- }*/
+ }
this.__LZFinishDestroyOnIdle();
}
_______________________________________________
Laszlo-checkins mailing list
Laszlo-checkins@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins