Bug 420565

Summary: Klipper does not automatically select first item.
Product: [Unmaintained] klipper Reporter: Dashon <dashonwwIII>
Component: plasma-widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.17.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Example of highlighting something new ,but the clipboard pasting the old thing. This is despite the new content being at the top of the clipboard history.

Description Dashon 2020-04-25 12:28:24 UTC
Created attachment 127858 [details]
Example of highlighting something new ,but the clipboard pasting the old thing. This is despite the new content being at the top of the clipboard history.

SUMMARY
If I highlight text from anywhere in any app. The highlighted text gets saved to klipper as it should. However, trying to paste an item that was recently highlighted paste the last selected item in klipper. If I highlight an area of text and right click copy, then control + v (or right click paste) works properly. If I copy something on my phone I can control + v (or right click paste) immediately. The only time being able to immediately paste the contents of the first item in the clipboard does not work is when you highlight text but don't go into the systray click on the clipboard and select the previously highlighted item.

STEPS TO REPRODUCE
1. Highlight some text. (Make sure klippers's copy selection feature is not set to ignore)
2. Go to any app or program where you want to past the contents
3. Control + v

OBSERVED RESULT
The last selected item will be pasted instead of the first item in the menu.

EXPECTED RESULT
The first item in the clipboard history should be automatically selected so it is ready for immediate pasting. This way it is uniform with every other way of copying and pasting.

SOFTWARE/OS VERSIONS
Operating System: Fedora 31 KDE Spin
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.13.2
Kernel Version: 5.5.17-200.fc31.x86_64
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 15.4 GiB of RAM
Comment 1 Dashon 2020-07-28 20:49:27 UTC
Fixed in new version of plasma.