|
|
|
[
Permlink
| « Hide
]
Benjamin Shine - 18/May/07 03:50 PM
(Rewrote bug for clarity.)
Isolating further, the problem comes down to calling drawview.clear() before the drawview is completely built. This code snippet demonstrates the problem; running in dhtml gives a debugger error,
ERROR: http://localhost:8080/legals/test/drawing/drawing.lzx?lzt=object&lzt=object&debug=true&lzr=dhtml&_canvas_debug=true:188: this.context has no properties <drawview width="200" height="200"> <handler name="onwidth"> <![CDATA[ this.drawStructure(); ]]> </handler> <method name="drawStructure"> this.clear(); </method> </drawview> This bug is just about the roundrect problem; the code snippet above is actually demonstrating a slightly separate problem, which is tracked in
(local legals build r5334)
roundrect is broken, but removing changes to drawview made by Jim in changeset r5295 fixes the issue - it's a regression in drawview (spoke w/Max). I don't see how a regression introduced after 4.0.2 shipped could possibly be the cause of the original bug.
(local legals build r5334)
drawview issues need to be resolved to test this. changeset r5296 needs to be backed out. (4.0 branches (4.0.3)local build r5538)
Fixed |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||