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

Changing UIComponent depth on mouseDown while starting drag & drop operation prevents x &y properties update

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Spark: Application
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Browser: Firefox 3.x
      Language Found: English

    Description

      It concerns UIComponent but it is not in component compobox, sorry.

      Steps to reproduce:
      1. Paste this code in your application :

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      minWidth="955"
      minHeight="600"
      >

      <s:Button id="btn2" x="0" label="

      {btn2.x}

      x

      {btn2.y}

      " mouseDown="btn2.depth = 2;btn2.startDrag()" mouseUp="btn2.stopDrag()" />
      <s:Button id="btn1" x="20" label="

      {btn1.x}

      x

      {btn1.y}

      " mouseDown="btn1.startDrag()" mouseUp="btn1.stopDrag()" />

      </s:Application>

      2. Launch the application and click & drag the left button

      Actual Results:

      Left button's depth change then it stops updating it's x and y properties (visually it is in the correct position though)

      Expected Results:

      Left button should update it's x and y properties while being dragged.

      Workaround (if any):

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment