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

Nested SplitPane rendering issue


    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Environment:

      Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
      System: Linux version 2.6.38-15-generic-pae running on i386; UTF-8; de_CH (nb)
      Kubuntu 11.04
      JavaFX: javafx_sdk-2_2_0-beta-b13-linux-i586-13_jun_2012


      When nesting SplitPanes (e.g. a horizontal SplitPane with 2 items where the first item is a vertical SplitPane with also 2 items.) then under some conditions the horizontal divider of the root SplitPane shows up all to the left (value around 0, e.g. a debugger session showed 0.0020026702269692926) and the content of the second item is not shown, just the background of the SplitPane (I changed the background color to verify this).

      When I manually increase the window width after start-up everything is rendered as expected. Changing the height or decreasing the width has no effect, but manually changing the divider works as well.

      There are different seemingly unrelated conditions which cause the same effect and I haven't found workarounds for all of them yet.

      I will try and provide some SSCCEs which show the issues.


        1. real-product-after-resizing-1.jpg
          77 kB
          Florian Brunner
        2. real-product-after-resizing-2.jpg
          70 kB
          Florian Brunner
        3. real-product-issue-3.png
          31 kB
          Florian Brunner
        4. real-product-on-start-up-1.jpg
          64 kB
          Florian Brunner
        5. real-product-on-start-up-2.jpg
          58 kB
          Florian Brunner
        6. RT23063.diff
          0.7 kB
          Kinsley Wong
        7. splitPane-application1-rendering-issue.png
          19 kB
          Florian Brunner
        8. splitPane-application1-rendering-ok.png
          20 kB
          Florian Brunner
        9. splitPane-application2-rendering-issue.png
          19 kB
          Florian Brunner
        10. splitPane-application2-rendering-ok.png
          21 kB
          Florian Brunner



            • Assignee:
              kwwong Kinsley Wong
              puce Florian Brunner
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: