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

VBox spacing with WebView problem on Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P4
    • 9
    • 8u25
    • javafx
    • Mac OS X 10.10, JDK8u25

    • web

    Description

      Hi,
      I'll try to make it understandable. In SlideshowFX (https://bitbucket.org/twasyl/slideshowfx/) I have an issue on OSX when I specify a spacing on a VBox that contains a WebView.

      In the following FXML:
      https://bitbucket.org/twasyl/slideshowfx/src/a317f62af282ea3bcc22639c1e7c8160c83aea7c/SlideshowFX-app/src/main/resources/com/twasyl/slideshowfx/fxml/SlideshowFX.fxml?at=master

      On line 217 a VBox is created specifying a spacing. On line 244, a SlideContentEditor (custom component) which contains a WebView is added.
      Launching the application makes the UI crash but not the app entirely (I have no log to provide).

      If I remove the spacing property, everything works properly. If I keep the spacing property and remove the WebView (or replace it by a TextArea) it works properly too. Having both make the UI crash. Also, if I specify a spacing of 1 (other values aren't working) and keep the WebView, it works too.
      If I replace the SlideContentEditor by a WebView and keep the spacing property, it crashes.

      The best way to start the app is to do this in the command line:
      gradlew assemble

      Then the app is located in SlideshowFX-app/build/packaging/bundles/SlideshowFX
      When starting it, you will see a banner and then the UI appears and crashes.

      Thank you very much!

      Attachments

        Activity

          People

            loneid Leonid Popov (Inactive)
            twasylczejfx Thierry Wasylczenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: