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

Performance regression with Group.mouseEnabledWhereTransparent in 4.5.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • Spark: Group
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Customer reported performance problem (via Heidi and http://forums.adobe.com/thread/918527).

      From Email Exchange with Evtim:

      >I see what the problem is. We'd need to do some refactoring to fix the
      >group hit-testing background in optimal way... We should fix this in
      >ultra. Seems too risky for Mega though.
      >
      >I think best work-around I can suggest is set
      >"mouseEnabledWhereTransparent" to "false" and add an invisible hit-testing
      >Rect with 100% width & height to the Group.

      Workaround (if any):

      Set mouseEnabledWhereTransparent=false on the Group and add an invisible hit-testing Rect:

      <s:Group mouseEnabledWhereTransparent="false">
      <s:Rect width="100%" height="100%">
      <s:fill>
      <s:SolidColor color="white" alpha="0" />
      </s:fill>
      </s:Rect>
      ...
      </s:Group>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: