Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-16121

Enabled and Disabled Menu Items not Displaying Correctly

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Menu Bar
    • None
    • Affected OS(s): All OS Platforms
      Browser: Internet Explorer 7.x
      Language Found: English

    Description

      Steps to reproduce:

      (Skip steps 1-5 by running the atttached SWF or compiling the attached MXML application)

      1. Create an application with a DataGrid with an Array of Objects as its dataProvider.
      2. Create all of the items with a Boolean property - set some to true, some to false.
      3. Add a MenuBar Component with an Array of Objects as its dataProvider.
      4. Create several of the Objects with an "enabled" property whose value is based on the Boolean property of the selectedItem in the DataGrid.
      5. Compile and run the project.

      6. Open the Menu with no items selected in the DataGrid.

      Actual Results:

      The Menu Items that have an enabled property based on the Boolean property in the DataGrid are enabled, even though no item is selected.

      Expected Results:

      The Menu Items that have an enabled property based on the Boolean property in the DataGrid should be DISABLED, since no item is selected.

      7. Select one of the items that has the Boolean property set to false.
      8. Open the Menu.

      Actual Results:

      The Menu Items that have an enabled property based on the Boolean property in the DataGrid are not clickable, as expected, but they are not grayed out.

      Expected Results:

      The Menu Items that have an enabled property based on the Boolean property in the DataGrid should be grayed out.

      Workaround (if any):

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment