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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/3f4065f4691eb4604c43e1ca7
                   |                            |3f391edb01b0623
             Status|ASSIGNED                    |RESOLVED

--- Comment #13 from cwo <[email protected]> ---
Git commit 3f4065f4691eb4604c43e1ca73f391edb01b0623 by Christoph Wolk.
Committed on 01/10/2026 at 18:57.
Pushed by cwo into branch 'master'.

applets/notifications: explicitly allow copy/link actions

d6016d8401c4a28928c7d641df73fbddec83871d explicitly set Qt::CopyAction
as the supported action for drag&drop from a notification. This was done
because the default action, move, interfered with drag&drop to various
windows caused issues: moving files to e.g. Discord or a browser does
not really make sense, so the app rejects the drop and marks the cursor
as an invalid drop target. However, this also removes Move as an option
from the KIO drop dialog. (LinkAction still works, likely because we
inject that as Wayland does not support it natively)

Instead, we set the supported actions to CopyAction | MoveAction |
LinkAction, and set CopyAction as the default. This brings move back
into the KIO popup, and dropping on e.g. browsers and discord still
works fine.

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/3f4065f4691eb4604c43e1ca73f391edb01b0623

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

Reply via email to