Closed
Bug 377035
Opened 18 years ago
Closed 18 years ago
Want to be able to build trees in a mix of anonymous content
Categories
(Core :: XUL, enhancement)
Core
XUL
Tracking
()
RESOLVED
FIXED
People
(Reporter: neil, Assigned: neil)
References
Details
Attachments
(3 files, 1 obsolete file)
902 bytes,
application/x-zip-compressed
|
Details | |
1.19 KB,
patch
|
enndeakin
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
4.84 KB,
patch
|
enndeakin
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
In particular, I want to be able to write a binding that includes the <tree> element but not the <treechildren> element. Test case coming up.
Assignee | ||
Comment 1•18 years ago
|
||
Assignee | ||
Comment 2•18 years ago
|
||
(In reply to comment #1)
>Created an attachment (id=261142)
>Test case
jar:https://bugzilla.mozilla.org/attachment.cgi?id=261142!/377035.xul
Assignee | ||
Comment 3•18 years ago
|
||
Assignee: Jan.Varga → neil
Status: NEW → ASSIGNED
Attachment #261144 -
Flags: superreview?(roc)
Attachment #261144 -
Flags: review?(enndeakin)
Updated•18 years ago
|
Attachment #261144 -
Flags: review?(enndeakin) → review+
Attachment #261144 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Comment 4•18 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 5•18 years ago
|
||
Neil, does this affect bug 228831?
Comment 6•18 years ago
|
||
Or bug 235901 (which may be a dupe of something else)?
Assignee | ||
Comment 7•18 years ago
|
||
(In reply to comment #5)
>Neil, does this affect bug 228831?
Only in the case of moving the treechildren out of the binding and using <xbl:children includes="treechildren"/> instead. Note: some CSS required
Assignee | ||
Comment 8•18 years ago
|
||
Otherwise you can't e.g. toggle twisties
(see the demo at http://neil.rashbrook.org/377035.xul)
Attachment #263464 -
Flags: review?(enndeakin)
Updated•18 years ago
|
Attachment #263464 -
Flags: review?(enndeakin) → review+
Assignee | ||
Updated•18 years ago
|
Attachment #263464 -
Flags: superreview?(roc)
Attachment #263464 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Comment 9•18 years ago
|
||
Notification fix checked in.
Comment 10•18 years ago
|
||
So this latest patch totally broke ChatZilla's userlist. Backed out locally,
that fixed it. The rowCount on the view of the rdf tree we use is 0 even if the
channel is full of users. I don't really know how or why yet, so if anyone
else does, now would be a good time to say.
Filed bug 380184.
Assignee | ||
Comment 11•18 years ago
|
||
Notification fix backed out.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 12•18 years ago
|
||
It turns out that the existing code relies on a document notification for the top-level treechildren to notice when the tree has gone away, and this was the one notification that my change didn't handle. We don't need this notification because removing the top-level treechildren causes the frame to be destroyed which calls mView->SetTree(nsnull) (thus mBoxObject is always null for that particular notification) so I just unconditionally clear the row cache instead.
Attachment #263464 -
Attachment is obsolete: true
Attachment #264354 -
Flags: superreview?(roc)
Attachment #264354 -
Flags: review?(enndeakin)
Updated•18 years ago
|
Flags: in-testsuite?
Attachment #264354 -
Flags: superreview?(roc) → superreview+
Updated•18 years ago
|
Attachment #264354 -
Flags: review?(enndeakin) → review+
Assignee | ||
Comment 13•18 years ago
|
||
Fixed notification fix checked in.
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•