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

[Linux] No more drag events when new Stage is created in drag handler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • jfx20
    • jfx11, 8
    • javafx
    • None

    Backports

      Description

        The issue exists in all versions since java8, and only on Linux (Windows and Mac OS X are fine).
        It is a blocker for any docking framework based on dragging an undecorated stage as opposed to drag-and-drop, see

        https://github.com/andy-goryachev/FxDock/issues/6
        https://github.com/kasemir/FxDocking/issues/1

        To reproduce:
        - launch and try dragging the red label around

        Expected results:
        - an undecorated translucent stage is created and is dragged around

        Actual results:
        - the stage gets stuck and cannot be dragged

        Attachments

          1. DragFailure.java
            4 kB
            Andy Goryachev
          2. DragFailure2.java
            4 kB
            Kevin Rushforth
          3. dragging-stage-JDK-8292922.mov
            390 kB
            Andy Goryachev
          4. DragUndecoratedStage.java
            3 kB
            Kevin Rushforth

          Issue Links

            Activity

              People

                tsayao Thiago Sayao
                angorya Andy Goryachev
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: