Bug 498863 - Can't change currently selected entry from clipboard history
Summary: Can't change currently selected entry from clipboard history
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (other bugs)
Version First Reported In: 6.2.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-18 18:46 UTC by Lukasz Plich
Modified: 2025-01-27 22:07 UTC (History)
2 users (show)

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


Attachments
clipboard-history-bug (1.62 MB, video/mp4)
2025-01-23 19:27 UTC, Lukasz Plich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Plich 2025-01-18 18:46:52 UTC
SUMMARY
One cannot change the selected entry from within clipboard history. Choosing older entry moves it up, as it is now the currently chosen entry, but pasting something in applications makes the previous entry being pasted.

STEPS TO REPRODUCE
1. Copy one text to the clipboard
2. Copy second text to the clipboard
3. Enter clipboard history (either via systray or Meta + V) and select the first text
4. Paste text to any application

OBSERVED RESULT
Second text will be pasted instead of the first, which is currently the most up top in clipboard history

EXPECTED RESULT
The first text should be pasted

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.90
KDE Frameworks Version: 6.10.0
Qt Version: 6.9.0
Graphics Platform: Wayland

ADDITIONAL INFORMATION
n/a
Comment 1 Nate Graham 2025-01-22 00:27:07 UTC
I can't reproduce this issue on current git master.

Are you using any non-default clipboard settings?

Can you attach a screen recording that shows it happening?
Comment 2 Lukasz Plich 2025-01-23 19:27:43 UTC
Created attachment 177632 [details]
clipboard-history-bug
Comment 3 Lukasz Plich 2025-01-23 19:27:57 UTC
I have disabled the setting to save history between sessions, enabled non-text selection copying and decreased history size, but no matter what I change, this bug still occurs.

I've added the attachment showing that normal copy pasting works fine, but choosing older entry in clipboard history, still pastes the newest selection.

I've also discovered that clearing the history doesn't work at all. I clears only after plasmashell restart, because I've disabled saving it between session restarts
Comment 4 Lukasz Plich 2025-01-24 07:40:17 UTC
Today I got an update to Plasma 6.2.91 in Arch repositories and it seems that this issue is fixed. Clipboard history works as it should, and I can delete entries properly.
No wonder this couldn't be replicated on git master as it was already fixed by then probably :-D
Comment 5 Nate Graham 2025-01-27 22:07:29 UTC
Great news!