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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/d6016d8401c4a28928c7d641d |t/cf41b532579cb010fac218e18
                   |f73fbddec83871d             |6cf3df8968f6bbf

--- Comment #13 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit cf41b532579cb010fac218e186cf3df8968f6bbf by David Edmundson, on
behalf of David Edmundson.
Committed on 23/07/2024 at 09:00.
Pushed by davidedmundson into branch 'Plasma/6.1'.

notifications: When doing a drag and drop, set the supported action to cpoy

By default QDrag::exec performs a drag where the allowed actions are
only "move".

The mimedata for a screenshot is a URI list to the file, dragging and
dropping should not move the original file.

Equally importantly if we want to share a file, that's effectively a
copy. Some clients will rightfully not accept a URI list with the only
action being move.

Testing done:

Screenshot taken with the spectacle global shortcut, then drag from that
into the Electron app "Discord"


(cherry picked from commit d6016d8401c4a28928c7d641df73fbddec83871d)

e41d94b3 notifications: When doing a drag and drop, set the supported action to
cpoy

Co-authored-by: David Edmundson <k...@davidedmundson.co.uk>

M  +1    -1    applets/notifications/draghelper.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/cf41b532579cb010fac218e186cf3df8968f6bbf

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to