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.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • 8
    • 7u6
    • javafx
    • 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
          Alexander Kuznetcov
        2. ColorPicker - movie1.avi
          4.36 MB
          Alexander Kirov
        3. ColorPiker - movie2.avi
          5.14 MB
          Alexander Kirov

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: