TitleMoving files in Dolphin (on collision) inserts destination path into clipboard history repeatedly
Product
Dolphin / Klipper (clipboard manager)
Version / Environment
KDE Plasma version: (please fill; e.g., 5.27.8 or Plasma 6.x)
Dolphin version: (please fill)
Klipper/Clipboard version: (please fill)
OS / distro: (please fill; e.g., Fedora 39, Ubuntu 24.04)
Wayland/X11: (please fill)
Locale: (optional)
Short description
When moving files with Dolphin, if there is a filename collision and the operation triggers the "Replace/Skip" or conflict dialog, the resulting destination path (or related clipboard text) is added to Klipper/clipboard history every time; repeated collisions pollute the clipboard history with many entries.
Steps to reproduce
Open Dolphin.
Create a folder A and a folder B.
In folder A create a file named test.txt (or any file).
In folder B create a file named test.txt (same name) so a collision will occur.
Select test.txt in folder A and move it into folder B (drag-and-drop or Cut+Paste).
When the collision dialog appears, choose the option that triggers moving/replace (e.g., Replace).
Repeat the move operation multiple times (or perform multiple collisions with different files).
Actual behavior
Each collision/move adds an entry to the clipboard history (Klipper) containing the destination path or related file-path text. After many collisions the clipboard history becomes filled with these move-related entries.
Expected behavior
File move/collision handling should not create clipboard history entries, or at minimum should avoid adding duplicate / operation-internal file-path strings to the clipboard history. Clipboard manager entries should only be added when the user explicitly copies/cuts/pastes content.
Reproducibility
Consistently reproducible on my setup (see Environment above).
Logs / Debug info
Attach Dolphin/klipper logs (kded logs, journalctl -b | grep dolphin/klipper) and a screencast or GIF showing the behavior.
If requested, I can provide a short terminal session log or strace of klipper when the collision occurs.
Additional notes
Behavior occurs when using drag-and-drop and when using Cut+Paste.
This pollutes clipboard history and interferes with normal clipboard use.
Workarounds: manually clearing history or disabling Klipper, but those are not ideal.
Suggested severity
Medium — affects usability of clipboard history for users who do multiple file moves with collisions.