You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org> on 2007/12/11 17:32:43 UTC

[jira] Created: (XAP-550) Widgets: HorizontalBoxPane and VerticalBoxPane: Adding and removing children leaks memory in IE

Widgets: HorizontalBoxPane and VerticalBoxPane: Adding and removing children leaks memory in IE
-----------------------------------------------------------------------------------------------

                 Key: XAP-550
                 URL: https://issues.apache.org/jira/browse/XAP-550
             Project: XAP
          Issue Type: Bug
          Components: Widgets: Layouts
            Reporter: Trevor Oldak


Run the following xal. IE will use 3 more nodes each time nodes are added then removed
<xal xmlns="http://openxal.org/ui">
  <macro:macro xmlns:macro="http://openxal.org/core/macro" id="addMultiRow">
    <xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
      <xm:append select="//horizontalBoxPane">
        <button text="foo"/><button text="foo"/><button text="foo"/>
      </xm:append>
    </xm:modifications>
  </macro:macro>
  <macro:macro xmlns:macro="http://openxal.org/core/macro" id="removeRows">
    <xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
      <xm:remove-element select="//horizontalBoxPane/button"/>
    </xm:modifications>
  </macro:macro>
  <freePane width="500px" height="300px" id="testComponentFreePane">
    <button text="add" onCommand="macro:addMultiRow.execute()" x="0px" y="0px"/>
    <button text="remove" onCommand="macro:removeRows.execute()" x="0px" y="30px"/>
    <horizontalBoxPane x="50px" y="10px">
      <button text="foo"/><button text="foo"/><button text="foo"/>
    </horizontalBoxPane>
  </freePane>
</xal>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.