Bug 496453 - ClipboardUpdater will create many duplicate clip items in Klipper when moving files from KDE Connect
Summary: ClipboardUpdater will create many duplicate clip items in Klipper when moving...
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.7.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
: 474423 502274 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-11-19 08:19 UTC by Fushan Wen
Modified: 2025-04-03 17:33 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fushan Wen 2024-11-19 08:19:06 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
ClipboardUpdater tries to update the current clipboard to replace moved file entries with new urls. However, this can mess the clipboard history when file operations are slow.

STEPS TO REPRODUCE
1. Copy some files from KDE Connect in Dolphin
2. Watch Klipper's list changes

OBSERVED RESULT
Many duplicate items are saved in Klipper

EXPECTED RESULT
No duplicate items

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 6.7
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2024-11-19 08:23:01 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1762
Comment 2 Fushan Wen 2025-02-27 04:07:06 UTC
*** Bug 474423 has been marked as a duplicate of this bug. ***
Comment 3 Fushan Wen 2025-04-03 17:20:30 UTC
*** Bug 502274 has been marked as a duplicate of this bug. ***
Comment 4 TraceyC 2025-04-03 17:33:34 UTC
I was able to reproduce this on git-master