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

bug in mx.controls.colorPickerClasses.SwatchPanel causing the color text field in ColorPicker control to display wrong color

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • mx: ColorPicker
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1) Open color picker and enter value not in the palette i.e. 222222, hit enter.

      2) Color has now changed accordingly. Now open the color picker a second time. Mouseover -don't click! Another color, red for example.

      3) Move your mouse outside the color picker and click somewhere else on the canvas.

      4) Open the color picker a third time, while the proper color (222222) is still the drawn color ...

      Actual Results:
      the value in the text box is actually referring to the last mouseover color value.

      Expected Results:
      the value in the text box should refer to the currently selected color.

      Looking to override this behaviour but it appears the problem may reside in mx.controls.colorPickerClasses.SwatchPanel. I don't believe this source is distributed?

      Workaround:
      there an mx_internal dropdown property on ColorPicker which is the SwatchPanel, and it looks like if you set the selectedColor property it should reset the textfield.

      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: