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

WebView: a double layout pass is needed before webview contents are visible.

    XMLWordPrintable

    Details

      Description

      To reproduce.

      Run HelloHTMLEditor
      Notice that the webview area is empty
      move the mouse into the window and the text appears.


      What I suspect is in HelloHTMLEditor the text is already drawn in the webview. When the mouse moves over the toolbar or a button in the scene it causes another layout pass because the button changes it state from inactive to hovered. This 2nd layout pass will relayout the scene and the text is visible.

        Attachments

          Activity

            People

            Assignee:
            kwwong Kinsley Wong
            Reporter:
            kwwong Kinsley Wong
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: