[Linux] Dialog buttons not clickable after drag event

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: javafx
    • None
    • b14
    • 20
    • linux

      After performing a regular drag and drop gesture in the primary stage, if a dialog is displayed immediately, its buttons can't be clicked.

      To reproduce:
      - Run the attached test on Linux, with any recent JavaFX version (20 to head, also 17.0.10)
      - Drag the blue rectangle and drop it into the red one
      - Press the X button to close the stage, a dialog shows up (see attached picture Dialog.png)
      - Try to click the Cancel/OK buttons, it won't be possible, unexpectedly.
      - Press the X button of the dialog to close it and exit

      Expected results:
      - The Cancel/OK buttons are clickable

      Actual results:
      - The Cancel/OK buttons are not clickable

      Workaround:
      - There is no workaround, other than using any version of JavaFX lower than 20-ea+14, or lower than 17.0.10

      Bisecting the JavaFX versions that work and fail leads to the commit that causes this issue: The fix for https://bugs.openjdk.org/browse/JDK-8292922 that was added in 20-ea+14, and also backported to 17.0.10.

        1. Dialog.png
          19 kB
          Jose Pereda
        2. DialogButtonsTest.java
          2 kB
          Jose Pereda

            Assignee:
            Unassigned
            Reporter:
            Jose Pereda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: