Bug 485643

Summary: Drag&Drop sometimes broken with multi-screen
Product: [Plasma] kwin Reporter: t.baag
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde
Priority: NOR Keywords: multiscreen
Version: 6.0.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Trying to drag a file from right to middle screen. 1st try drops right, 2nd too, 3rd middle, 4th right, 5th left.

Description t.baag 2024-04-16 19:16:14 UTC
Created attachment 168587 [details]
Trying to drag a file from right to middle screen. 1st try drops right, 2nd too, 3rd middle, 4th right, 5th left.

SUMMARY

When trying to drag a file from Dolphin to Kate it ends up on a somewhat random screen. 

See video attachment. Notice the "can't drop here" mouse cursor (when hovering over what kwin thinks is Dolphins information side panel).


STEPS TO REPRODUCE
1. Setup three screens with a Dolphin window left and right and Kate in the middle
2. Try to drag a file from any of the two Dolphin windows into the Kate window

OBSERVED RESULT
I get a popup asking me to chose between moving, copying or linking the file in one of the Dolphins. See the attachment.


EXPECTED RESULT
Drop event should be received by Kate which should open the dragged file.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version:  6.0.2
Qt Version: 6
X11/Xorg

ADDITIONAL INFORMATION
Looks like the effect is deterministic and depending on where the cursor has traveled before. But I didn't yet figured out what makes it drop at the correctly in Kate.

Maybe it's related to both screens left and right being the same model?
Comment 1 t.baag 2024-04-16 19:23:09 UTC
I'm unsure if this bug would be best placed under component multi-screen, input, xrandr or even core. But I'm pretty sure about kwin_x11 being the culprit.
Comment 2 t.baag 2024-06-20 17:11:18 UTC
Report the bugs they said. You will be helped they said. Still broken in 6.0.5.
Comment 3 t.baag 2024-06-20 17:18:19 UTC
Unsure how this ended up under "Wayland drag-and-drop ..." component. I'm using kwin_x11.
Comment 4 David Edmundson 2024-09-25 15:28:33 UTC
Kwin is not involved in D&D on X11