[dolphin] [Bug 442232] New: On Wayland, Dolphin always sends WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY even when holding Shift

Nicolas Frattaroli bugzilla_noreply at kde.org
Thu Sep 9 16:30:20 BST 2021


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

            Bug ID: 442232
           Summary: On Wayland, Dolphin always sends
                    WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY even when
                    holding Shift
           Product: dolphin
           Version: 21.08.1
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: kdebugs at fratti.ch
                CC: kfm-devel at kde.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list