Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#2614 closed defect (fixed)

ComboBox chews cpu when hidden prior to page display

Reported by: dojo@… Owned by: bill
Priority: high Milestone:
Component: Widgets Version: 0.4.2
Keywords: Cc:
Blocked By: Blocking:

Description

When a ComboBox? is hidden prior to the display of the page, the onResize() method goes into an infinite timeout loop and chews CPU. Once the widget is displayed and allowed to size, the usage drops to almost noise.

Not sure if this is a bug or not, but it took a while for me to find the culprit so I'm posting it here so that others may find it.

BTW, if you only have one ComboBox?, you only consume between 10% & 15%. I had a page with 4 hidden ComboBoxes? and my system basically slowed to a crawl. :-(

I think this has been happening since 0.4.1 but it is still present so I'm posting against 0.4.2

Test case attached.

Attachments (1)

cb.html (527 bytes) - added by dojo@… 13 years ago.
Test case for #2614

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by dojo@…

Attachment: cb.html added

Test case for #2614

comment:1 Changed 13 years ago by Douglas Hays

Milestone: 0.9M2
Resolution: fixed
Status: newclosed

This is fixed in the new 0.9 trunk since onResize has been removed.

comment:2 Changed 12 years ago by (none)

Milestone: 0.9M2

Milestone 0.9M2 deleted

Note: See TracTickets for help on using tickets.