Closed Bug 279659 Opened 20 years ago Closed 20 years ago

no scroll bar in xul tree

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: pat.mcgowan, Assigned: janv)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041122

The following tree object caused a scroll bar to appear in v1.7 of Firefox and
Mozilla. In the latest 1.8 alpha version no scroll bar appears. The window still
scrolls with the mouse wheel.


<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet href="scroll.css" type="text/css"?>
  <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

    <window
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xalan="http://xml.apache.org/xalan">

<tree flex="1" id="library" >

<treecols>
    <treecol id="tree.all" hideheader="true" flex="1" primary="true"/>
</treecols>

 <treechildren flex="1" >

    <treeitem container="true" open="true">
    <treerow> <treecell label="one"/> </treerow>
    </treeitem>
    <treeitem container="true" open="true">
    <treerow> <treecell label="two"/> </treerow>
    </treeitem>
    <treeitem container="true" open="true">

    <treerow> <treecell label="three"/> </treerow>
    </treeitem>
    <treeitem container="true" open="true">
    <treerow> <treecell label="four"/> </treerow>
    </treeitem>
    <treeitem container="true" open="true">
    <treerow> <treecell label="five"/> </treerow>

    </treeitem>
    <treeitem container="true" open="true">
    <treerow> <treecell label="six"/> </treerow>
    </treeitem>
    <treeitem container="true" open="true">
    <treerow> <treecell label="seven"/> </treerow>
    </treeitem>

    <treeitem container="true" open="true">
    <treerow> <treecell label="eight"/> </treerow>
    </treeitem>
    <treeitem container="true" open="true">
    <treerow> <treecell label="ten"/> </treerow>
    </treeitem>
    <treeitem container="true" open="true">

    <treerow> <treecell label="eleven"/> </treerow>
    </treeitem>
</treechildren>
</tree>
</window>


Reproducible: Always

Steps to Reproduce:
1.create a file with the .xul extension using the provided snippet
2. open the file in 1.8
3. shrink the window so a vertical scroll bar is necessry

Actual Results:  
No scroll bar appears

Expected Results:  
As in 1.7, a vertical scroll bar should appear
There is no scroll bar though it tried with Mozilla1.7.4 and Firefox nightly build.

Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.8b) Gecko/20050128
Firefox/1.0+ 
That testcase shows a scrollbar in a current trunk Linux build....
WFM (after I resize the window)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050308
Firefox/1.0+
This is fixed in the 1.8 beta. Thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
No specific bug / patch referenced as the fix.

-> WORKSFORME
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → WORKSFORME
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: