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

UIComponent.cursorManager is unreliable for popups in AIR (custom cursor causes mouse cursor to disappear)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.1 (Release)
    • None
    • Cursor Manager
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      cursorManager returns the wrong instance of CursorManager for items created with PopUpManager if the popup is in a secondary AIR window.

      Steps to reproduce:
      1. Run the attached airTest app
      2. Click Open Window
      3. Click Open Popup
      4. Mouse over the vertical divider

      Actual Results:
      Mouse cursor disappears.

      Expected Results:
      Custom mouse cursor shown.

      Workaround (if any):
      a) Before opening popup, add this line: Window.getWindow(popup).addChild(popup);
      or
      b) When setting/removing custom cursor, use Window.getWindow(this).cursorManager instead of this.cursorManager
      (this is easier when the custom cursor comes from a widget you wrote yourself, as opposed to SDK code in the testcase here)

      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: