When dragging and dropping, holding shift and dropping a file should send WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE to the application. However, Dolphin always sends WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY. This breaks Shift+drop to append files to playlist on mpv. STEPS TO REPRODUCE 1. mpv --no-config --idle --pause videohere.mp4 2. Shift+drag and drop a file from Dolphin onto mpv OBSERVED RESULT mpv receives a WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY event from Dolphin, which means it replaces the currently playing file. EXPECTED RESULT mpv receives a WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE event from Dolphin, which means it'll append the file to the playlist SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.13.13 (available in About System) KDE Plasma Version: Plasma 5.22.5 KDE Frameworks Version: Frameworks 5.85 Qt Version: 5.15.2 Only occurs on Wayland, it's a Wayland specific problem. Bug report on mpv's side: https://github.com/mpv-player/mpv/issues/9201
Seems a bit related to https://bugs.kde.org/show_bug.cgi?id=423031 And upstream patch. https://codereview.qt-project.org/c/qt/qtwayland/+/334777
It's actually even more broken now despite the Qt thing being merged. Holding shift before the drag-and-drop operation no longer works either. I give up. Feel free to reopen, or don't, whatever makes you feel better, I no longer care. Operating System: Arch Linux KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Kernel Version: 6.3.1-arch2-1 (64-bit) Graphics Platform: Wayland Processors: 8 × AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx Memory: 13.5 GiB of RAM Graphics Processor: AMD Radeon Vega 10 Graphics Manufacturer: LENOVO Product Name: 20NK000GMZ System Version: ThinkPad T495