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
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/d6016d8401c4a28928c7d641d
                   |                            |f73fbddec83871d
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit d6016d8401c4a28928c7d641df73fbddec83871d by David Edmundson.
Committed on 23/07/2024 at 08:59.
Pushed by davidedmundson into branch 'master'.

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"

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

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

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

Reply via email to