Closed
Bug 83739
Opened 24 years ago
Closed 24 years ago
nsOutlinerRows::Subtree::Clear() doesn't reset mSubtreeSize
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: hewitt, Assigned: hewitt)
References
Details
Attachments
(1 file)
515 bytes,
patch
|
Details | Diff | Splinter Review |
I ran into this problem while attempting to modify a <template/> inside of an
rdf-based outliner, and then call rebuild(). I noticed that the row count of
the outliner builder doubles each time you call rebuild, causing a ton of "index
of of range assertions", because the row count is derived from the subtree size
of the root subtree.
The subtree size simply doesn't get reset to 0 inside of
nsOutlinerRows::Subtree::Clear().
Teensy patch ahead.
Assignee | ||
Comment 1•24 years ago
|
||
Assignee | ||
Comment 2•24 years ago
|
||
I cc'd blake because I suspect this may be related to the crash he filed in bug
82913
waterson, can you review this?
Status: NEW → ASSIGNED
Comment 3•24 years ago
|
||
Thanks for fixing this. r=waterson
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.2
Comment 5•24 years ago
|
||
sr=blake
Comment 6•24 years ago
|
||
a= asa@mozilla.org for checkin to the trunk.
(on behalf of drivers)
Assignee | ||
Comment 8•24 years ago
|
||
fixed
Assignee | ||
Comment 9•24 years ago
|
||
really fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•