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

CursorManager resets when `stage.mouseChildren = false` is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.5 (Release)
    • None
    • Cursor Manager
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      To reproduce:

      CursorManager.setBusyCursor();
      stage.mouseChildren = false;

      Then move the mouse. The cursor will revert to the "default" cursor.

      This is caused by the `mouseOutHandler` method in `CursorManagerImpl`:

      private function mouseOutHandler(event:MouseEvent):void
      {
      if ((event.relatedObject == null) && (cursorList.length > 0))

      { customCursorLeftStage = true; hideCursor(); Mouse.show(); }

      }

      Because, I think, a `MOUSE_OUT` event is fired when `stage.mouseChildren = false` is set.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: