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

Cursor Manager - currentCursorID inaccurate when adding multiple cursors via .setCursor( )

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Later
    • Adobe Flex SDK 3.0 (Release)
    • None
    • Cursor Manager
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 7.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Note that cursorManager.currentCursorID = 0 (at application creationComplete)
      2. Create a custom cursor named 'cursorOne' with an embedded image.
      3. Add the custom cursor to the manager via .setCursor(cursorOne, CursorManagerPriority.HIGH, 0, 0);
      4. Repeatedly add the cursor references again by calling .setCursor(cursorOne, CursorManagerPriority.HIGH, 0, 0); several more times.
      5. Watch the value of cursorManager.currentCursorID

      Actual Results:
      The pattern is: 0, 1, 1, 1, 3, 1, 4, 1, 5, 1, 6, ... etc

      Expected Results:
      The pattern should count linearly (provided that all cursors added are at the same priority and created in the order in which they were added).

      Workaround (if any):

      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: