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

Input handling for some fields is still not ideal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • None

      To reproduce
      add a button
      go to Inspector and try to paste smth like following lines into first of textAreas of Style editor

      -fx-background-color: #ffffff14, #000000cc, #090a0c, linear-gradient(from 0% 0% to 0% 100%, #4a5661ff 0%, #1f2429ff 20%, #1f242aff 100%), linear-gradient(from 0% 0% to 0% 100%, #242a2eff 0%, #23282eff 100%), radial-gradient(focus-angle 0.0deg, focus-distance 0% , center 50% 0%, radius 100%, #878e94e5 0%, #ffffff00 100%);
      -fx-background-insets: -3px -3px -4px -3px, -3px, 0px, 1px, 2px, 0px;
      -fx-background-radius: 7px, 7px, 7px, 7px, 7px, 7px, 7px, 7px, 6px, 6px, 6px, 6px, 6px, 6px, 6px, 6px, 5px, 5px, 5px, 5px, 5px, 5px, 5px, 5px, 4px, 4px, 4px, 4px, 4px, 4px, 4px, 4px, 3px, 3px, 3px, 3px, 3px, 3px, 3px, 3px, 5px, 5px, 5px, 5px, 5px, 5px, 5px, 5px;
      -fx-font-family: "Arial";
      -fx-font-size: 26px;
      -fx-padding: 10px 20px 10px 20px;
      -fx-text-fill: red;


      It will not throw any alert dialog of notification, and menu item "Reset to default" accessible from gearbox will be still disabled. And it also will not change anything. I doesn't look as normal behavior.

        1. sample.bmp
          88 kB
          Dmitry Kozorez

            jcambon Jerome Cambon
            dkozorez Dmitry Kozorez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: