Open
Bug 276857
Opened 20 years ago
Updated 2 years ago
Tree column frame's mColumns can become stale
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
NEW
People
(Reporter: neil, Unassigned)
Details
Attachments
(2 files)
|
1.67 KB,
patch
|
Details | Diff | Splinter Review | |
|
664 bytes,
patch
|
janv
:
review+
|
Details | Diff | Splinter Review |
If the tree body frame is destroyed (e.g. by removing the <treechildren> node from the DOM and replacing it with a new one) then the tree column frame mColumn caches become stale, and column changes no longer repaint automatically.
| Reporter | ||
Comment 1•20 years ago
|
||
Just try resizing, dragging or hiding any of the columns.
| Reporter | ||
Comment 2•20 years ago
|
||
Attachment #170145 -
Flags: review?(jan)
Comment 3•20 years ago
|
||
We could also iterate over tree col frames and clear the cached value or use nsWeakReference. Anyway the patch looks good to me. r=varga
Updated•20 years ago
|
Attachment #170145 -
Flags: review?(jan) → review+
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.widgets
Comment 4•6 years ago
|
||
The plan is to remove the XUL "tree" widget in future (bug 1446335), but this has a patch, so for now I'm not going to wontfix this.
Assignee: jvarga → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•