#2614 closed defect (fixed)
ComboBox chews cpu when hidden prior to page display
Reported by: | 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)
Change History (3)
Changed 14 years ago by
comment:1 Changed 14 years ago by
Milestone: | → 0.9M2 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
This is fixed in the new 0.9 trunk since onResize has been removed.
Test case for #2614