Closed
Bug 83741
Opened 24 years ago
Closed 24 years ago
can't dynamically add columns to an outliner
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: hewitt, Assigned: hewitt)
Details
Attachments
(3 files)
|
1.06 KB,
patch
|
Details | Diff | Splinter Review | |
|
6.36 KB,
patch
|
Details | Diff | Splinter Review | |
|
6.28 KB,
patch
|
Details | Diff | Splinter Review |
I'm trying to repair a rotting feature in Document Inspector which allowed you
to dynamically add columns to the DOM tree. Since I'm re-writing this tree to
use an rdf-based outliner, I'll need outliner to have this capability.
Currently, nsOutlinerBodyFrame::EnsureColumns builds of the structure of column
information, but it only does this upon construction. If new outlinercol
elements are added via JS, this structure is never updated and the new columns
go unrecognized.
I'll smack together a fix for this in a segundo.
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•24 years ago
|
||
| Assignee | ||
Comment 2•24 years ago
|
||
There are several ways to fix this problem - the patch above is the simplest one
I could come up with, not necessarily the best. It would be nice to rebuild the
column cache with a document observer each time an outlinercol is added/removed
- but that requires a lot more code.
| Assignee | ||
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
i gave hewitt some changes on irc. with those changes, sr=hyatt. i suggest
posting a third patch so that the reviewer can see it post-all my comments.
| Assignee | ||
Comment 5•24 years ago
|
||
Comment 6•24 years ago
|
||
May God have mercy on us all. The 212 bug spam-o-rama is Now!
QA Contact: aegis → jrgm
| Assignee | ||
Comment 7•24 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•