Closed Bug 158692 Opened 22 years ago Closed 21 years ago

multiple splitters cause misalignment of tree data and headers

Categories

(Core :: XUL, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 137389

People

(Reporter: jbaileycibs, Assigned: janv)

Details

Attachments

(2 files)

632 bytes, application/vnd.mozilla.xul+xml
Details
742 bytes, application/vnd.mozilla.xul+xml
Details
created a window with 9 columns with a splitter between each column. populated the fields with an rdf template when displayed, the headers are displaced to compensate for the insertion of the splitter. However the contents are not being adjusted. After 3 to 4 splitters there is an obvious displacement that makes the use of the tree unrealistic.
Can you provide a testcase please? Thanks.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I was unsure of what you needed for a test case so I've placed an example on the following url. http://members.aol.com/jbaileycibs/ this will give you links display the tree with and without the splitters as well as text representations of both xul files as well as the rdf file. please note that you may receive a message "url not on this server" when selecting a link. this appears to be an issue with the host.
Moz Version: 1.3.1 [Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425] Okay, I'm getting a version of this problem as well. When viewing a XUL tree with Moz 1.3.1 (In 1.1 this renders fine), Putting splitters into a tree will re-arrange the columns. There doesn't seem to be any pattern to how it gets resorted. This bug is viewable (at least) under Mandrake Linux 9 and Redhat Linux 9.
Attached file Testcase
This is a testcase for the above.
Alright, there's a workaround for this. In order to fix this bug, you need to add class="tree-splitter" to the <splitter/> tags. (see workaround attachment) /However/, you need to be carefull not to use style="overflow: auto" on the page, since moving the splitter around will cause Mozilla to crash. But that's a bug for a different day, I suppose.
about comment #5: <wizardpage> is overflow: auto; before 1.4 I workaround crash using: max-width: 1px; but now I can't use <splitter>s in <wizard>s because something change and if I use max-width: 1px produce a horrible visual output (really, every <treecol>s painted with splitter's background-color). I must open a new bug? I must post a testcase?
cc-spam
taking
Assignee: hyatt → varga
Component: XP Toolkit/Widgets: XUL → XP Toolkit/Widgets: Trees
*** This bug has been marked as a duplicate of 137389 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: