Closed Bug 32090 Opened 24 years ago Closed 24 years ago

Select widgets in trees are dead widgets

Categories

(SeaMonkey :: UI Design, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: morse, Assigned: don)

Details

The following xul file displays a tree of select widgets.  However the widgets 
don't do anything -- clicking on the down-arrow at the right of the widget does 
not cause the select list to drop down.  The widgets are "dead".

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://wallet/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://wallet/locale/SignonViewer.dtd" >

<window id="walletpreview"
        title="&windowtitle.label;"
        xmlns:html="http://www.w3.org/TR/REC-html40"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        align="vertical"
        class="dialog">

  <box align="vertical">
    <tree class="inset" style="height: 280px; width: 440px;" align="vertical">
      <treecol width="100%"/>
      <treechildren>
        <treeitem>
          <treerow>
            <treecell>
              <html:select>
                <html:option value="1">value 1 </html:option>
                <html:option value="2">value 2 </html:option>
                <html:option value="3">value 3 </html:option>
              </html:select>
            </treecell>
          </treerow>          
        </treeitem>
        <treeitem>
          <treerow>
            <treecell>
              <html:select>
                <html:option value="1">value 1 </html:option>
                <html:option value="2">value 2 </html:option>
                <html:option value="3">value 3 </html:option>
              </html:select>
            </treecell>
          </treerow>          
        </treeitem>
      </treechildren>
    </tree>
  
  </box>

</window>
I think the answer to bugs 32090, 32095, 32097, and 32099 are all going to be 
that <select> and <option> are being deprecated in favor of <menulist>, 
<menupopup> and <menuitem>.  I've started playing with them and it appears that 
they don't exhibit any of the problems reported in these reports.

Furthermore, to solve this particular problem, you need to include

   allowevents="true"

on the <menulist>
This one is invalid.  Use "allowevents".
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Sorry for the spam. changing qa contact.
QA Contact: paulmac → sairuh
verif.
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.