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

[Drag and Drop Linux] setDragView still doesn't work on linux

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u5, 8u20, 8u25, 8u40, 8u60, 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
    • Environment:

      Ubuntu 14.04 amd64, kde 4.13.0, kwin 4.11.9, libgdk-pixbuf2.0-0:amd64 2.30.7-0ubuntu1.
      Ubuntu 14.04 i686, unity 7.2.0, compiz 0.9.11, ibgdk-pixbuf2.0-0:i386 2.30.7-0ubuntu1

      Backports

        Description

        Mouse pointer doesn't change when trying to set custom drag image.
        Reproducible: always

        Steps to reproduce:
        1. Run attached java file. Custom drag image should be shown under labels, at the bottom of the scene.
        2. Try to drag and drop "Drag me" label on "Drag to"
        Expected: Mouse pointer should be replaced with picture.
        Actual: Mouse pointer not changed.
        On 8u20b16 also assertion error written to stdout: (java:20913): GdkPixbuf-CRITICAL **: gdk_pixbuf_new_from_data: assertion 'width > 0' failed

        Also, java crashed a couple of times on 32 bit ubuntu, but I don't know proper steps to reproduce the crash.

          Attachments

          1. DragViewFail.java
            2 kB
            Andrey Rusakov
          2. hs_err_pid2228.log
            12 kB
            Andrey Rusakov

            Issue Links

              Activity

                People

                • Assignee:
                  morris Morris Meyer (Inactive)
                  Reporter:
                  arusakov Andrey Rusakov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported: