Open
Bug 383647
Opened 18 years ago
Updated 3 years ago
Splitter and pane's jump and increase in size when selecting splitter in certain circumstances
Categories
(Core :: XUL, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: steven.bakh, Unassigned)
References
()
Details
Attachments
(1 file)
|
664 bytes,
application/vnd.mozilla.xul+xml
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070328 Firefox/2.0.0.3
Build Identifier: Firefox 2.0.0.3
As shown in the small (1.4MByte) flash video http://steven.nonlogic.org/xultest.html
Layout using 2 vbox panes, side by side, contained in a hbox. 2 trees, seperated by a splitter, are placed inside the left pane, another tree is placed in the right pane. The left and right pane's are seperated by a splitter.
On running the application, selecting the left splitter first (the one between the two treet in the left pane) causes both the splitter, and the tree to jump. The tree also extends in size. This can be repeated, until the right splitter is used.
If the right splitter is used _first_ upon running the application, the "bug"? with the left splitter doesn't occur. This is also highlighted in the small flash video linked above.
This issue was first discovered under Gentoo linux, using a binary build of Firefox 2.0.0.3 to run the XUL app. It was subsequently tested and confirmed on Mac and Windows by mfinkle (irc #xul on irc.mozilla.org).
Reproducible: Always
Steps to Reproduce:
1. Load application
2. Select left splitter first
3. Watch it fly!
Actual Results:
Splitter jumps. Pane / tree expands.
Expected Results:
Pane's should resize as expected, with the splitter not jumping.
XUL test case that I used:
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<vbox flex="1">
<hbox flex="1">
<!-- left panel -->
<vbox flex="1" id="left_panel">
<hbox flex="1">
<tree flex="1">
</tree>
<splitter />
<tree flex="2">
<treecols>
<treecol id="fileman_dirlisting_filename" label="File name" flex="1" />
<treecol id="fileman_dirlisting_filetype" label="Filetype" flex="1" />
<treecol id="fileman_dirlisting_filesize" label="Filesize" flex="1" />
</treecols>
</tree>
</hbox>
</vbox>
<!-- end of left panel -->
<splitter />
<!-- right panel -->
<vbox flex="1" id="right_panel">
<tree flex="1">
</tree>
</vbox>
<!-- end of right panel -->
</hbox>
</vbox>
</window>
| Reporter | ||
Updated•18 years ago
|
Version: unspecified → 1.8 Branch
Comment 1•18 years ago
|
||
To see the bug using this testcase:
1. drag the left splitter
2. right splitter jumps
note:
if you move the right splitter first (even just a pixel) and then the left splitter, there is no jumping
| Reporter | ||
Updated•18 years ago
|
Component: Widget → XP Toolkit/Widgets: XUL
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: general → xptoolkit.widgets
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•