error calculate position cell in tree (XUL development)

RESOLVED EXPIRED

Status

()

Core
XUL
RESOLVED EXPIRED
16 years ago
10 years ago

People

(Reporter: Roman, Assigned: David Hyatt)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
Examples:
_______________
<?xml version="1.0"?>

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="csvview.css" type="text/css"?>

<window id="csv-test-window" title="CSV report"
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        width="750"
        height="600"
        persist="width ordinal height screenX screenY"
        onload="resize_tree();init();"
        onmousemove="resize_tree();"

        >
<script src="csvview.js"/>

<popupset>
  <popup id="clipmenu">
    <menuitem label="Change border" oncommand="show_border_dialog()"/>
    <menuitem label="Hide row" oncommand="hide_row()"/>
  </popup>
</popupset>
<vbox>
<box 
  id="csv_box"
  collapsed="false" 
  style="overflow: auto;" 
  width="300" 
  height="100"
>
<tree
  id="csv_tree"
  enableColumnDrag="true" 
  datasources="http://danss-test/csvreport.rdf" 
  ref="urn:csvdata:data"
  autostretch="never"
  width="300" 
  height="100"
  >
  <treecols >
                  
       <treecol  id="col0"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter   resizeafter="grow"/>
       <treecol  id="col1"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col2"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col4"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col5"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col6"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col7"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col8"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col9"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col10"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col11"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col12"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col13"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col14"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col15"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col16"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col17"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col18"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col19"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col20"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col21"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col22"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
          
       <treecol  id="col23"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
       <treecol  id="col24"  label="Label" style="{minwidth:50; maxwidth:300}"
persist="width ordinal hidden" autostretch="never"  context="clipmenu" />    
       <splitter />
         
          
    </treecols>
  
  <template>
    <rule>
      <treechildren properties="makeItBlue">
       <treeitem uri="rdf:*">
         <treerow  properties="makeItBlue">
           <treecell
            label="rdf:http://danss-test/rdf#row0"/>
           <treecell
            label="rdf:http://danss-test/rdf#row1"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row2"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row3"/>
           <treecell
            label="rdf:http://danss-test/rdf#row4"/>
           <treecell
            label="rdf:http://danss-test/rdf#row5"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row6"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row7"/>
           <treecell
            label="rdf:http://danss-test/rdf#row8"/>
           <treecell
            label="rdf:http://danss-test/rdf#row9"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row10"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row11"/>
           <treecell
            label="rdf:http://danss-test/rdf#row12"/>
           <treecell
            label="rdf:http://danss-test/rdf#row13"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row14"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row15"/>
           <treecell
            label="rdf:http://danss-test/rdf#row16"/>
           <treecell
            label="rdf:http://danss-test/rdf#row17"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row18"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row19"/>
           <treecell
            label="rdf:http://danss-test/rdf#row20"/>
           <treecell
            label="rdf:http://danss-test/rdf#row21"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row22"/>
           <treecell 
            label="rdf:http://danss-test/rdf#row23"/>
             <treecell 
            label="rdf:http://danss-test/rdf#row24"/>
          <treecell 
            label="rdf:http://danss-test/rdf#row25"/>
         
         </treerow>
       </treeitem>
      </treechildren>
    </rule>
  </template>
 
 </tree>

 </box>
</vbox>
</window>
_______________
There code not correct show in mozilla.. 
1. Load xul file from http: splitters element after tree column.. -(
2. Load xul file from packages/core: cell data not align with cell title -(
May be, this is my error in XUL file?

Comment 1

15 years ago
Reporter can you reproduce this bug with a newer build (1.4 final)?
If not, then please close this bug as worksforme. Thanks.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → EXPIRED

Updated

10 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.