Created attachment 177531 [details] Multiple selection from a text paragraph I'm creating this report in the general product, since I cannot find the Klipper app anywhere in the Bugzilla KDE tracker. SUMMARY When the "Text selection -> Always save in history" option is selected in Klipper general configuration, when I select any text using the mouse, Klipper save all possible text selections character by character (I have attached a screenshort showing this). Instead, a single text selection should be saved only after releasing the left mouse button. STEPS TO REPRODUCE 1. Configure Clipboard... 2. Select the Always save in history option in Text selection 3. Using the mouse, press and hold the left click, select a text paragraph and release the left button. 4. Left click on Klipper, you see all text entries starting from the first character in the selected text until the last one, instead of one whole text selection. OBSERVED RESULT Multiple text selections that are as many as the count of characters selected. EXPECTED RESULT One single text selection that contains the whole text from the mouse selection. The text should be selected as a single entry only after releasing the left mouse button. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.12.10 (x86_64) KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.1
That is very strange; I cannot confirm it with those settings. Is this on Wayland or X11, or both?
(In reply to Nate Graham from comment #1) > That is very strange; I cannot confirm it with those settings. > > Is this on Wayland or X11, or both? Wayland. I haven't tried it on X11, I will though just for completeness.
This is only Wayland specific. Inside a X11 session, the copied text appears only once. I've just tested it.
Cannot reproduce on git build, wayland, arch linux. Does this only happen when selecting from specific apps, or does it happen with all the apps you use?
Created attachment 177629 [details] Klipper options (for completeness) I've attached the Klipper options as I have them in my system, just for accuracy.
I found this thread in the Manjaro forum that describes the same issue as mine: https://forum.manjaro.org/t/newly-copied-text-placed-in-2nd-position-of-clipboard/167525/3
Can be reproduced with: Vivaldi (Xwayland) Vivaldi (Wayland) Steam client NVIDIA X Server Settings Parabolic (GTK) Can not be reproduced with: Firefox(Xwayland) Firefox (Wayland) KWrite, NeoChat Parabolic (QT)
Oh my goodness, I can reproduce this now with Steam. The key is to use the "Keep the selection and clipboard the same" option. It's possible it's happening under the hood even with that option off, and you just don't notice it since all the selections don't become visible in the UI anywhere.