Bug 510632 - Clipboard fills with partial selections while selecting text (when “Keep the selection and clipboard the same” is enabled)
Summary: Clipboard fills with partial selections while selecting text (when “Keep the ...
Status: RESOLVED DUPLICATE of bug 498894
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (other bugs)
Version First Reported In: 6.4.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-15 08:47 UTC by Tomis
Modified: 2025-10-17 18:43 UTC (History)
3 users (show)

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


Attachments
journalctl log (75.38 KB, text/plain)
2025-10-15 08:47 UTC, Tomis
Details
clipboard view (273.50 KB, image/png)
2025-10-15 08:48 UTC, Tomis
Details
clipboard setting (194.62 KB, image/png)
2025-10-15 08:48 UTC, Tomis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomis 2025-10-15 08:47:08 UTC
Created attachment 185796 [details]
journalctl log

SUMMARY
Clipboard fills with partial selections while selecting text (when “Keep the selection and clipboard the same” is enabled)

Unfortunately, I cannot determine the exact Plasma version where this issue was introduced. However, it has been occurring for more than six months and across several Plasma 6.x releases.

STEPS TO REPRODUCE
1.  Open any text editor or application (e.g. vscode, chromium, 1password...)
2. In Klipper settings, enable “Keep the selection and clipboard the same”.
3. Click and hold the left mouse button, then drag to select text slowly, e.g.
This is a test sentence

OBSERVED RESULT
During the selection process, Klipper/clipboard stores every intermediate selection, such as:


EXPECTED RESULT
This is a test sentence
This is a te
This is 


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.17.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 06 Oct 2025 18:48:29 +0000 x86_64 GNU/Linux
KDE Plasma Version:  6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 5.15.17
Wayland

ADDITIONAL INFORMATION
Sreenshot is attached.

Below are relevant log messages from `journalctl --user -b 0 | grep plasmashell` 
qrc:/qt/qml/org/kde/plasma/private/clipboard/ClipboardItemDelegate.qml:121:32: Unable to assign [undefined] to double
Full log attached as plasmashell-journal.txt.
Comment 1 Tomis 2025-10-15 08:48:09 UTC
Created attachment 185797 [details]
clipboard view
Comment 2 Tomis 2025-10-15 08:48:44 UTC
Created attachment 185798 [details]
clipboard setting
Comment 3 Akseli Lahtinen 2025-10-15 09:05:23 UTC
I can't repro this, for me it waits for the mouse button to be lifted before the selection is done.

One thing I find confusing in your report is: Qt Version: 5.15.17

Can you check your system information in plasma settings and copy them from there?

Operating System: Fedora Linux 42
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.11-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX
Comment 4 Tomis 2025-10-15 09:07:25 UTC
Sorry for my mistake, I mentioned a bad result

EXPECTED RESULT
This is a test sentence
Comment 5 Tomis 2025-10-15 09:15:54 UTC
Operating System: Arch linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18
Qt Version: 6.10
Kernel Version: 6.17.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: Intel® UHD Graphics 620

$ qtpaths --qt-version
5.15.17
Comment 7 Nate Graham 2025-10-17 18:43:15 UTC

*** This bug has been marked as a duplicate of bug 498894 ***