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

When WebView is scrolled to bottom and window resizes to a larger size, JavaFX controls stop rendering correctly

XMLWordPrintable

    • x86
    • other

      FULL PRODUCT VERSION :
      java version "1.8.0_111"
      Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
      Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 10.0.14393]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      GUI is probably being rendered by the CPU: Core i5-6600. I have JDK8u111 installed and am using Eclipse.

      A DESCRIPTION OF THE PROBLEM :
      When a window has a WebView and other JavaFX controls, and someone scrolls to the bottom of the WebView, resizes their window to be larger than it was previously, and attempts to use the JavaFX controls, they cease to render correctly. Specifically hovering over a button and it turns into a white box and trying to use a TextField and anything from the text turning white to the entire TextField turning into a white box occurs.

      Bug ID: 8129399 is a similar, but closed as incomplete issue.
      StackOverflow post provides an image example and a small code example demonstrating the bug:
       https://stackoverflow.com/questions/41435572/javafx-webview-scrolled-issue

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1) Create a window with a BorderPane and place a WebView in the center
      2) Add a HBox with a Button or TextField for example to the bottom of the BorderPane
      3) Have the WebView navigate to some website
      4) Scroll to the bottom of the WebView
      5) Take hold of the bottom border of the Window and pull it down to increase the Window's height
      6) Mouse over the Button and try using the TextField. You should see rendering issues occur when interacting with them.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The Button and TextField controls continue to render properly.
      ACTUAL -
      The Button and TextField controls don't render properly. Hovering over the Button leads it to turning into a white box. Using the TextField intermittently turns its text white and/or turns the entire TextField into a white box. This bug ALSO affects the rendering of the WebView once it occurs, but to a lesser extent.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Please see the StackOverflow post.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      None as far as I can tell. I did tried simply re-creating the controls after a resize but that didn't seem to help.

            aroy Abhijit Roy (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: