Bug 442894 - Wayland - drag & drop
Summary: Wayland - drag & drop
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.22.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-24 12:19 UTC by Ivan Mercep
Modified: 2021-10-07 18:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.23


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!