Bug 457266 - When using "Keep the selection and clipboard the same", selecting everything with Ctrl+A puts the entire selection in the clipboard
Summary: When using "Keep the selection and clipboard the same", selecting everything ...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (show other bugs)
Version: 5.27.80
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression, usability
: 464286 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-07-29 08:43 UTC by Tor
Modified: 2024-11-22 18:30 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tor 2022-07-29 08:43:43 UTC
Please bring back the old clipboard behavior. When only the text selected by the mouse got into the history of the klipper. Now you can make klipper history to include not only the text selected with the mouse, but also the text selected with ctrl+a. This is quite inconvenient, especially if you often use "actions".


Linux/KDE Plasma: 
KDE Plasma Version: 5.25.0 and newer
Comment 1 Nate Graham 2022-07-29 17:50:05 UTC
Can you clarify what exactly the old behavior was, and what you can't do anymore? Is there no setting to re-enable the behavior you aren't able to use?
Comment 2 Tor 2022-07-31 07:05:56 UTC
(In reply to Nate Graham from comment #1)
> Can you clarify what exactly the old behavior was, and what you can't do
> anymore? Is there no setting to re-enable the behavior you aren't able to
> use?

I don't know English so I use google translator. Sorry for the unclear writing.

The old behavior is when you select text with the mouse and it appears in the klipper history. And when you select with the help ctrl+a does not get. This is a convenient behavior. It has existed for many years until recently. Example in this video: youtu.be/m1Ij6gjYTxU .

The new behavior is when you select text with the mouse or with ctrl+a and it appears in the klipper's history. It's already uncomfortable. Example in this video: youtu.be/NoABLieVvBM

I would like this behavior to be customizable. So that it can be enabled so that only the text selected by the mouse gets into the history of klipper.

I hope that's clearer...
Comment 3 Nate Graham 2022-08-01 20:15:30 UTC
Thanks, it's clear now.

What's not clear to me is why this is a bug. If you have Klipper set up to automatically add selections to the clipboard, and you select everything with Ctrl+, why shouldn't it put that in the clipboard automatically? When you Ctrl+a, most of time aren't you about to copy the selection manually anyway?
Comment 4 Tor 2022-08-08 13:24:21 UTC
I'll try to explain why it's not correct, from my point of view, when the text selected with ctrl+a goes to the clipboard. For example, you have copied some text and you are going to paste it on some website into a field that already contains text. There is no clear button, so to quickly delete this text, you need to select it with ctrl+a and then click the delete button. This selected text immediately gets into the buffer and klipper history, and the text you need in the history becomes one position lower. And before inserting it, you must first select it in the history of the klipper. And imagine what will go down in history if you don't get into the field with the mouse and press ctrl+a on some complex site with a lot of text... In the old behavior, you didn't have to do these extra steps. It would be very nice if it could be enabled in the settings so that only the text selected with the mouse gets into the buffer history. I hope my position is clear.
Comment 5 Bug Janitor Service 2022-08-23 04:35:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Nate Graham 2022-08-25 07:00:16 UTC
Got it, thanks.
Comment 7 Tor 2023-06-18 12:32:44 UTC
Hi. It's been 11 months, but no changes. Does this bug cause discomfort only to me?
Comment 8 Thomas Haller 2023-08-21 08:17:51 UTC
I think the new behavior is rather unconvenient and not only about CTRL+A.

In the past, when I selected something (with mouse or keyboard), it ended up in the clipboard history (I could find it with CTRL+ALT+V and copy it again). Such a mouse-selection would also be pasted with middle-mouse-click (good). But it was not pasted during CTRL+V. It behaved, as if there are two levels of "copied":
- the explicit copy with CTRL+C or selection with CTRL+ALT+V (what you could paste with CTRL+V)
- the text selection, that was pastable with the middle mouse button.
(while both would end up in the history).

That was perfect.

Now, it seems everything that ends up in the history, is also pasted during CTRL+V. For example, imagine you select TEXTA and copy with CTRL+C. Then you switch to a input text field and press CTRL+A (or select only a paragraph, that you want to be replaced). Now press CTRL+V. Previously, this would have pasted  TEXTA, as desired. Now, the most recent selection gets pasted. Very cumbersome. What I do then, I delete first what I wanted to replace, press CTRL+ALT+V to find the earlier TEXTA selections, copy it again, and paste it.

The alternative is to not put selections in the clipboard history, but that is also not what I want, because the clipboard history is very useful to contain all selections.

I don't think that the configuration menu allows to restore the previous behavior.
Comment 9 Nate Graham 2023-08-21 18:19:51 UTC
*** Bug 464286 has been marked as a duplicate of this bug. ***
Comment 10 Gabriel Barros 2024-09-19 22:48:54 UTC
One thing i noticed: When editing fields under kde settings>network, when I focus some field, it will (always, infuriatingly) select the entire contents every single time, no matter if i just placed the cursor somewhere before focusing kate to copy some IP address, when i move back, the previous field is select-all'd... BUT, it never places the selection in the clipboard when selecting the text that way. just thought it is relevant here.
Comment 11 Henrique Sant'Anna 2024-11-22 18:30:00 UTC
How to avoid that keyboard selection put text on clipboard? ie: Ctrl+Shift+Arrow or Shift+PgUp or Shift+End

I just want to clipboard when doing MOUSE selection, not keyboard selection.