History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-3959
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: -- --
Assignee: Unassigned
Reporter: Philip Romanik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

SWF: tree_example is broken in legals

Created: 11/May/07 10:41 AM   Updated: 16/Jan/08 12:34 PM
Component/s: Components - tree
Affects Version/s: Legals, 4.0.3
Fix Version/s: RingDing (4.1)

Time Tracking:
Not Specified

Environment: FF 1.5, Windows

Severity: Minor
Fixed in Change#: 5,169
Runtime: N/A
Fix in hand: False


 Description  « Hide
The tree_example, in swf, doesn't run properly in legals. It is fine in the current 4.0 branch, as well as dhtml.

The problem is that the left-most tree has some nodes being displayed on top of other nodes.


http://localhost:8080/legals/examples/components/tree_example.lzx?lzr=swf7


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Philip Romanik - 11/May/07 11:27 AM
I reduced the tree_example into a simpler test case:


<canvas title="Tree Example">

  <dataset name="mydata">
    <basket name="basket" isopen="true">
      <product name="fruits" isopen="true">
        <apples name="apples" isopen="true">
          <type name="red delicious apple" isleaf="true"/>
          <type name="fuji apple" isleaf="true" />
          <type name="braeburn apple" isleaf="true" />
          <type name="honey crisp" isleaf="true" isopen="true" />
        </apples>
        <oranges name="oranges">
          <type name="valencia orange" isleaf="true" />
          <type name="blood orange" isleaf="true" />
          <type name="navel orange" isleaf="true" />
        </oranges>
      </product>
      <product name="dairy">
        <dairy name="eggs">
          <type name="organic eggs" isleaf="true" />
          <type name="free-range eggs" isleaf="true" />
        </dairy>
        <dairy name="milk">
          <type name="skim milk" isleaf="true" />
          <type name="1% milk" isleaf="true" />
          <type name="whole milk" isleaf="true" />
        </dairy>
        <dairy name="yogurt" />
      </product>
    </basket>
  </dataset>

  <tree datapath="mydata:/basket" open="$path{'@isopen'}"
        text="$path{'@name'}" multiselect="true">
    <tree id="xxx" datapath="*" text="$path{'@name'}" isleaf="$path{'@isleaf'}" />
  </tree>
</canvas>


Philip Romanik - 17/May/07 10:10 AM
I forgot to mention that this is caused by Changeset 4924 (implemenetation of 'visibility' attribute on view) .

Henry Minsky - 18/May/07 09:25 PM
Something weird, if I do not explicitly include the tree component lib

    <include href="lz/tree.lzx"/>

then the tree component is broken in non-debug mode, but works in debug mode.
Is some autoinclude broken??


Henry Minsky - 22/May/07 05:18 PM
Committed revision 5169.

stale reference to __LZvisibleSet property, which was renamed in lzView


Mamye Kratt - 19/Jul/07 01:44 PM
(4.0 branch (4.0.3) local build r5678)
Closed in 4.0.3

Mamye Kratt - 20/Jul/07 10:38 AM
Needs to be tested in legals.

Mamye Kratt - 16/Jan/08 12:34 PM
(trunk 4 build r7829)
Closing.