Bug 504549

Summary: After the clipboard is set to only copy text explicitly, it doesn't remove the last selected text before the change was applied
Product: [Plasma] plasmashell Reporter: Fernando M. Muniz <fernandommuniz>
Component: Clipboard widget & pop-upAssignee: Fernando M. Muniz <fernandommuniz>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: kdedev, nate, qydwhotmail
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: I'm talking about this setting.

Description Fernando M. Muniz 2025-05-19 22:04:35 UTC
And because it's an "invisible middle-click buffer", I can't remove simply remove it with the brush.
Comment 1 TraceyC 2025-05-20 00:07:12 UTC
Thanks for filing this bug report. Unfortunately there isn't enough information for us to try to figure out what's happening. Please add information about your system as requested in the bug report template. Copy and paste this with the information into a new comment.

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION


Thanks for your understanding
Comment 2 Fernando M. Muniz 2025-05-20 00:28:56 UTC
Created attachment 181548 [details]
I'm talking about this setting.

Steps to reproduce:
1- Have your clipboard empty, and the default setting of copying text just by selecting them.
2- Select any text.
3- Activate the clipboard's explicit copies setting shown in the attached image.
4- Try to paste text.

Results:
The text you've selected is still there after changing the setting, and it's impossible to remove because it's not added to the clipboard.

Expected results: Activating explicit copies should remove the invisible text that was copied due to being selected.
Comment 3 Nate Graham 2025-05-20 05:03:56 UTC
After you activate that setting, any text you select will be copied as well. But it won't affect text selected in the past, before you activated the setting. It's not a time machine. :)
Comment 4 Fernando M. Muniz 2025-05-20 10:32:51 UTC
(In reply to Nate Graham from comment #3)
> After you activate that setting, any text you select will be copied as well.
> But it won't affect text selected in the past, before you activated the
> setting. It's not a time machine. :)

If just selected texts are still being copied, then what even changed? Is there a way I can get rid of it?