Closed Bug 557788 Opened 15 years ago Closed 15 years ago

Tree with both rows- and flex-attributes set leads to 100% CPU load

Categories

(Core :: XUL, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 541804

People

(Reporter: edwin, Unassigned)

Details

Attachments

(1 file)

434 bytes, application/vnd.mozilla.xul+xml
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 GTBDFff GTB7.0 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 GTBDFff GTB7.0 (.NET CLR 3.5.30729) In a XUL-file with both rows- and flex-attributes set, the CPU-load will become 100%. Example: <?xml version="1.0"?> <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <vbox> <description class="header">This is a test page reproducing 100% CPU. Click the "Name"-header and watch your CPU load.</description> <tree rows="6" seltype="single" flex="1"> <treecols> <treecol label="Name" flex="2" minwidth="50"/> </treecols> <treechildren/> </tree> </vbox> </overlay> Reproducible: Always Steps to Reproduce: 1. Load the following XUL-file in Firefox 3.6 in Windows (7): <?xml version="1.0"?> <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <vbox> <description class="header">This is a test page reproducing 100% CPU. Click the "Name"-header and watch your CPU load.</description> <tree rows="6" seltype="single" flex="1"> <treecols> <treecol label="Name" flex="2" minwidth="50"/> </treecols> <treechildren/> </tree> </vbox> </overlay> 2. Open the CPU-monitor (press CTRL-SHIFT-ESC). 3. Click the Name-header from the XUL-file. 4. Watch the CPU-load go to 100%. Actual Results: CPU load became 100%. Expected Results: Normal CPU-load. The bug became apparent in View Cookies: https://addons.mozilla.org/nl/firefox/addons/versions/315#version-1.9.2
I think we have bugs on file on this already...
This is the example file.
Ah, I didn't search well enough. Seems duplicate of #541804.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: