Closed Bug 45865 Opened 26 years ago Closed 26 years ago

Tree items not displayed

Categories

(Core :: XUL, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: toml, Assigned: hyatt)

References

()

Details

Attachments

(3 files)

From Bugzilla Helper: User-Agent: Mozilla/4.72 [en] (WinNT; U) BuildID: 2000061408 I have an InMemoryDataSource built (I wrote it in XML and followed the resource creations and asserts that were done in nsRDFContentSink when it was processed). After adding the datasource to the tree widget I've tried doing both a setattribute() and a builder.rebuild()) to cause the InMemoryDataSource to be processed and displayed. As far as I can tell it is being processed (I followed the code through nsXULTemplateBuilder.cpp in the debugger) but it is not being displayed. To confirm this, I added another tree widget to the XUL that referenced a remote rdf source and a button that referenced a javascript function to execute when pressed. When initially loaded, the remote rdf tree is visible. I then click on the button and in the javascript function I did builder.rebuild() against the tree with the remote rdf and it disappeared (seemed to do with the aNotify parameter to the BuildContentFromTemplate function and notifying the XULDocument of content change). Reproducible: Always Steps to Reproduce: 1. Copy the attached files to the chrome\packages\core\navigator\content directory 2. Start the browser 3. Enter "chrome://navigator/content/rdftest.xul" in the location field 4. Press either the "Rebuild" button or the "SetAttr" button and the information will disappear Actual Results: The RDF created tree will disappear. Expected Results: The RDF create tree should rebuild and be redisplayed.
Attached file RDF test file —
Attached file Tree building XUL —
You left off flex="1" on your <treechildren>. Invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
verified invalid per hyatt's comments.
Status: RESOLVED → VERIFIED
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.

Attachment

General

Created:
Updated:
Size: