Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126764

[ColorPicker] changing color using setValue() and clicking on use after selecting new color in web-form is not reflected by rectangle and text on control.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7u6
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      2.2.0b12.

      Description

      In RT-21531:
      This is actually the intended behavior - although not specified in the spec. We decided this after the spec was originally written has not been updated since then. Jindra can update it once he is back.

      The last time when spec was updated is 12-march.

      1. If I call setValue(<some new color>) value is set to property "value", but rectangle and text don't reflect this change. Watch movie1.
      2. If I set new color in web-form, and click "use" it is set to property, but it is not reflected by rectangle and text on control. Watch movie2.

      Also, I note here, that normal and expected behavior now: when you select new color in custom color dialog, it is set to property, but it is not reflected by rectangle and text on control. But if you click "use" selected color (which is new) should be reflected by rectangle and text on control.

        Attachments

        1. Bug.java
          1 kB
        2. ColorPicker - movie1.avi
          4.36 MB
        3. ColorPiker - movie2.avi
          5.14 MB

          Activity

            People

            • Assignee:
              mrkam Alexander Kuznetcov (Inactive)
              Reporter:
              akirov Alexander Kirov (Inactive)
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:
                Imported: