I'm using the standard datacombobox from 3.4.x

You should just be able to run my sample code with no added files.


Quoting Adam Wolff <[EMAIL PROTECTED]>:

> Hi William,
> Can you please add your copy of datacombobox to the bug or at least point
> me to where I could find it?
>
> Thanks,
> Adam
>
> On Sep 21, [EMAIL PROTECTED] wrote:
>
>> I just filed a bug about memory usage with datacomboboxes...
>>
>> http://www.openlaszlo.org/jira/browse/LPP-2719
>>
>> I also included a test app.
>>
>> While exercising the test app, I think I uncovered another bug and I
>> wanted to get some input.
>>
>> Looking at the source for basedatacombobox, it appears that when the
>> control loses focus, the pop-up list is deleted to recover memory.
>> However, if the combobox is manipulated programmatically, as in my
>> sample app, the popup lists are never destroyed.
>>
>> So to demonstrate the problem, run the app, click the button and wait
>> for every combo to select.  Notice that the memory usage goes *way* up
>> as I noted in the bug report.  Then choose an item from the first
>> combo, then hit tab to shift focus to the next combo.  There's a
>> *HUGE* CPU usage spike when you hit tab.  This, I assume, is the list
>> (or lists?) being destroyed.
>>
>> We absolutely have to get some of these combo performance/memory usage
>> issues fixed if we are going to ever be able to come close to the
>> functionality of a desktop app in OpenLaszlo.
>>
>>
>> _______________________________________________
>> Laszlo-user mailing list
>> [email protected]
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>>
>




_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to