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

If scrollbar/slider thumb and track are in different coordinate spaces, thumb is placed incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: TrackBase
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run this code:
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark">

      <s:VScrollBar skinClass="VSBSkin"/>

      </s:Application>

      VSBSkin.mxml:

      <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">

      <fx:Metadata>
      [HostComponent("spark.components.VScrollBar")]
      </fx:Metadata>

      <s:states>
      <s:State name="normal" />
      <s:State name="disabled" />
      <s:State name="inactive" />
      </s:states>

      <s:Button height="300" id="track"/>

      <s:Group y="100">
      <s:Button id="thumb"/>
      </s:Group>

      </s:Skin>

      2. Drag the thumb

      Actual Results:
      Thumb placement fail. (Thumb jumps around erratically).

      Expected Results:
      Thumb placement win. (Thumb behaves like a scrollbar thumb should).

      Workaround (if any):
      Take the thumb out of the group.

      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: