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

AIR 1.5: contextMenu no longer shows custom items.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.2 (Release)
    • None
    • mx: FlexNativeMenu
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      [This bug is AIR 1.5 only]

      With the new contextMenu clipboard items, all rich text editors create a default context menu. This can be overridden by assigning a new menu to the contextMenu property of an InteractiveObject.

      Many Flex widgets, including TextArea, use a UITextField to handle text editing. This means that assigning a custom contextMenu to a TextArea will do nothing, since the underlying UITextField will continue to intercept the right-click and display the default contextMenu.

      One possible fix would be for TextAreas (and other text widgets) to propagate their contextMenu to their components.

      Workaround: Grab the underlying textField object and set the contextMenu on that object as well.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: