Select widgets in trees are dead widgets

VERIFIED INVALID

Status

P3
normal
VERIFIED INVALID
19 years ago
14 years ago

People

(Reporter: morse, Assigned: don)

Tracking

Trunk
x86
Windows NT

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
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>
(Reporter)

Comment 1

19 years ago
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>

Comment 2

19 years ago
This one is invalid.  Use "allowevents".
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → INVALID

Comment 3

19 years ago
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.