You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Scott Boyd (JIRA)" <xa...@incubator.apache.org> on 2007/07/25 00:29:31 UTC

[jira] Created: (XAP-501) menu/@disabled=true does not disable the menu at runtime properly

menu/@disabled=true does not disable the menu at runtime properly
-----------------------------------------------------------------

                 Key: XAP-501
                 URL: https://issues.apache.org/jira/browse/XAP-501
             Project: XAP
          Issue Type: Bug
          Components: Widgets: Menu/MenuBar/Toolbar
         Environment: IE6, FF2
            Reporter: Scott Boyd


Run this XAL. Note that the disabled button is properly disabled, but the disabled menu is not.

IE6 - menu renders disabled, but the cursor incorrectly changes to the finger on mouseOver.  Nothing happens when you click on it.
FF2 - menu is fully functional, but should be disabled



<xal xmlns="http://openxal.org/ui/html">
  <rootPane>
    <freePane width="1024px" height="768px">
      <menuBar x="80px" y="230px">
        <menu text="File">
          <popupMenu>
            <menuItem text="Open"/>
            <menuItem text="Close"/>
            <menuItem text="Preferences">
              <popupMenu>
                <menuItem text="A preference"/>
                <menuItem text="A different preference"/>
              </popupMenu>
            </menuItem>
          </popupMenu>
        </menu>
        <menu text="Edit">
          <popupMenu>
            <menuItem text="Cut"/>
            <menuItem text="Copy"/>
            <horizontalSeparator/>
            <menuItem text="Paste"/>
          </popupMenu>
        </menu>
        <menu disabled="true" text="Format">
          <popupMenu>
            <menuItem text="Cut"/>
            <menuItem text="Copy"/>
            <menuItem text="Paste"/>
          </popupMenu>
        </menu>
        <menu text="Run">
          <popupMenu>
            <menuItem text="Open"/>
            <menuItem text="Close"/>
            <menuItem text="Preferences..."/>
          </popupMenu>
        </menu>
      </menuBar>
      <button height="25px" text="Button" width="100px" x="110px" y="140px" disabled="true"/>
    </freePane>
  </rootPane>
</xal>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.