Bug 442894

Summary: Wayland - drag & drop
Product: [Plasma] kwin Reporter: Ivan Mercep <ivan.merchep>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version: 5.22.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.23

Description Ivan Mercep 2021-09-24 12:19:03 UTC
SUMMARY
Drag and drop of files doesn't work on Chrome and Electron apps on Wayland

STEPS TO REPRODUCE
1. Open a chromium-based browser
2. e.g. open https://easyupload.io/
3. drag a file from the desktop to the marked upload area (on the website above used for this example)

OBSERVED RESULT
The file doesn't upload
The file disappears from the desktop
The file appears after a click on desktop

EXPECTED RESULT
The file will begin to upload and remain on desktop


SOFTWARE/OS VERSIONS
Linux: x86_64 Linux 5.14.7-arch1-1
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

Graphics platform: Wayland
Comment 1 Vlad Zahorodnii 2021-09-24 12:25:33 UTC
There were lots of dnd improvements in 5.23. On my machine, dnd works, the file is uploaded successfully.

The file disappears though after dropping and re-appears after a click. That's most likely due to Qt not supporting the latest wl_seat.
Comment 2 Nate Graham 2021-09-24 20:16:04 UTC
Yeah, works for me too in 5.23. \o/
Comment 3 Ivan Mercep 2021-10-07 18:20:30 UTC
Please fix the disappearing after drag and drop.
Comment 4 Nate Graham 2021-10-07 18:49:51 UTC
Can confirm, but can you please file a separate bug report to track that? Thanks!