Bug 493035 - Clicked history entry isn't used for pasting with "Keep the selection and clipboard the same" setting enabled
Summary: Clicked history entry isn't used for pasting with "Keep the selection and cli...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-09-12 20:39 UTC by Piotr Mierzwinski
Modified: 2025-09-18 12:41 UTC (History)
5 users (show)

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


Attachments
Clipboard settings (69.96 KB, image/png)
2024-09-12 20:40 UTC, Piotr Mierzwinski
Details
pasting_from_clipboard (142.54 KB, video/webm)
2024-09-12 20:41 UTC, Piotr Mierzwinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2024-09-12 20:39:54 UTC
SUMMARY
In Clipboard configuration I checked "Keep the selection and clipboard the same" with default rest settings (check attached screenshot.
I copied couple strings by Ctrl+C (they were dropped to history of clipboard) after that I selected only some different string, so it was dropped to clipboard (don't see it in clipboard history because of settings). Now trying to paste, but not what I selected only entry from history, and cannot do it. Every time is pasted what was selected. This, IMO, is not intuitive.

STEPS TO REPRODUCE
1. Set "Keep the selection and clipboard the same"
2. copy (Ctrl+C) couple strings to have entries in clipboard history
3. select some different string
4. open clipboard and click onto any entry
5. paste (Ctrl+V)

OBSERVED RESULT
pasted what was selected

EXPECTED RESULT
should be pasted what I was clicked in clipboard history

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
KDE Neon updated yesterday
Comment 1 Piotr Mierzwinski 2024-09-12 20:40:24 UTC
Created attachment 173596 [details]
Clipboard settings
Comment 2 Piotr Mierzwinski 2024-09-12 20:41:47 UTC
Created attachment 173597 [details]
pasting_from_clipboard
Comment 3 Fushan Wen 2024-09-17 07:28:00 UTC
That's kinda expected when "Keep the selection and clipboard the same" is enabled.
Comment 4 Nate Graham 2024-09-17 21:07:56 UTC
Hmm, why would that be expected?
Comment 5 Piotr Mierzwinski 2024-09-17 21:16:34 UTC
(In reply to Fushan Wen from comment #3)
> That's kinda expected when "Keep the selection and clipboard the same" is
> enabled.

I understood that "Keep the selection and clipboard the same" if no action from my side, but here I intentionally selected what I wanted to paste. And Clipboard ignored it.
Comment 6 Marco Martin 2025-01-24 16:10:58 UTC
(In reply to Fushan Wen from comment #3)
> That's kinda expected when "Keep the selection and clipboard the same" is
> enabled.

shouldn't in that case clicking on the entry actually change the selection clipboard?
Comment 7 tomashnyk 2025-09-18 12:41:49 UTC
Can anybody still reproduce it? I tried on current Plasma (6.4.4) and cannot trigger it with the same settings, unless I am missing something.