Hi Hugh,

Good suggestion -- and along the same lines I was thinking :)

I'm planning on investigating the appearance code in more detail when I next 
have a few hours to dedicate to it.

Thanks,

Simon




----- Original Message ----
From: Hugh Gibson <[EMAIL PROTECTED]>
To: qooxdoo-devel@lists.sourceforge.net
Sent: Saturday, 21 October, 2006 5:35:00 AM
Subject: Re: [qooxdoo-devel] Memory use test results for Qx 0.6.2 (r4314) on 
Win2k IE6

>     qx.OO.changeProperty({ name : "appearance"...

That's very interesting. When looking through the code for the default 
appearance (see the message I posted yesterday - search on "fontObject") I 
found that colorObject and borderObjects were being used. These explicitly hold 
references to the widgets that they are associated with, so they can be updated 
if the color changes. It seems pointless using them in the appearance when the 
appearance itself is unlikely to change - you apply a complete new appearance, 
all at once. I'm guessing that the appearance code causes the association to be 
made.

Perhaps you could try rewriting the default appearance to not use the xxxObject 
form of these items. That might remove the circular link. Or make sure that the 
widgets are removed properly from the objects.

This is just educated supposition - I haven't had time to trace all the code 
yet.

Hugh

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel





                
____________________________________________________ 
Do you Yahoo!? 
Upgrade to Internet Explorer 7, optimised for Yahoo!7
http://au.rd.yahoo.com/evt=44716/*http://au.downloads.yahoo.com/internetexplorer/index.php

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to