keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.39k stars 1.48k forks source link

Change drag/drop between databases to default to COPY #11338

Open leroivi opened 1 month ago

leroivi commented 1 month ago

Fixes #172 This changes makes the drop action from one database to another as a copy action, but inside the same database still a move action. As suggested by @NicoHood, this behavior is similar to file system managers with USB keys, and it is safer as it does not remove any data from a database.

Testing strategy

Type of change

droidmonkey commented 1 month ago

You copy between databases by holding the CTRL key while dragging. This is standard behavior in file systems. The default action should be move as it is the most obvious action when dragging things between two databases. This does not fix #172