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

Wrong height in dialog with TitledPane and resizing under Gnome

XMLWordPrintable

      ADDITIONAL SYSTEM INFORMATION :
      Ubuntu 22.04.3 x64
      Gnome 42.9 Wayland
      JDK 21.0.1

      A DESCRIPTION OF THE PROBLEM :
      See the reproducer example. When clicking on the other titled pane, the pane expands and the dialog buttons are no longer visible. The height does get calculated correctly.
      Terminal prints
      (java:28148): Gtk-CRITICAL **: 16:52:40.137: gtk_window_resize: assertion 'width > 0' failed

      See screenshots for javafx 21 and javafx 20
      https://github.com/Siedlerchr/javafxreproducer/issues/2

      REGRESSION : Last worked in version 20

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Execute the reproducer example with ./gradlew run or use the precompiled jlnk binary from the
      To compare with javafx 20 simply replace the javafx version in the build.gradle

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The dialog buttons should be still visible after expanding
      ACTUAL -
      The dialog buttons are no longer visible

      ---------- BEGIN SOURCE ----------
      https://github.com/Siedlerchr/javafxreproducer/tree/main
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Downgrade to javafx20

      FREQUENCY : always


            tsayao Thiago Sayao
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: