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

Enhance CustomColorDialog to have flexibility to hide 'Opacity', 'Use' and 'Save' Button

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        To support JDK-8160837 : WebEngine doesn't handle html5 color picker. WebView requires a Custom Color picker dialog with Two Buttons (Ok and Cancel) and Color picker widget.
        CustomColorDialog would be best option to re-use in WebView With below modification.
        1. Hide Opacity Button and its slider
        2. Hide Use Button
        3. Save button text to be as OK ('Save' --> 'Ok')

        The above there modification will make the Common UX behavior observed in Windows (Firefox and chrome), Ubuntu (Firefox and chrome).

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jgiles Jonathan Giles
                Reporter:
                ghb Guru Hb (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: