[kde] [Bug 496243] New: Wrong mouse cursor is used for some Java Swing Drag-and-Drop operations

Pavel Braginskiy bugzilla_noreply at kde.org
Thu Nov 14 00:07:33 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=496243

            Bug ID: 496243
           Summary: Wrong mouse cursor is used for some Java Swing
                    Drag-and-Drop operations
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: pavelbraginskiy at hotmail.com
  Target Milestone: ---

Created attachment 175797
  --> https://bugs.kde.org/attachment.cgi?id=175797&action=edit
Screenshot of the bug

SUMMARY
When performing a drag-and-drop operation originating from a Java Swing
application, the mouse cursor is constantly shown as the Not Available cursor,
even if the application indicates that the drag is possible and the normal Move
cursor should be used, see screenshot.

I tried switching to Gnome on Wayland and Plasma on X11 and both of these made
the bug go away, the incorrect cursor displays only in Plasma on Wayland.

STEPS TO REPRODUCE
1.  Launch any Java Swing app that support drag-and-drop. The DnD demo
application at
https://docs.oracle.com/javase/tutorial/uiswing/dnd/basicdemo.html works for
this purpose, I also tested with other apps.
2. Attempt to drag a drag-able item from the application

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 41
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
openjdk 17.0.13 2024-10-15
OpenJDK Runtime Environment (Red_Hat-17.0.13.0.11-1) (build 17.0.13+11)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.13.0.11-1) (build 17.0.13+11, mixed
mode, sharing)

I'm guessing this is a bug in kwin, but I'm not completely certain. This is my
first time filing a bug with KDE, I apologize if I did something wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list