I believe, that needs to be turned off in KDE.
I'm not sure, if this actually turns of the copying or if it just turns off the pasting, but you could try turning off this setting:

I believe, that needs to be turned off in KDE.
I'm not sure, if this actually turns of the copying or if it just turns off the pasting, but you could try turning off this setting:

What is the application and did you notice similar behavior outside of it, e.g. being able to paste the currently selected text? I would also check your clipboard manager's configuration. Clipboards (usually) have a clipboard buffer (for CTRL + C -> CTRL + V) and a primary buffer (for selected text -> mouse middle button paste). Some problems arise from the confusing default settings of some clipboard managers, e.g. the synchronization of both buffers.
I thought this was an old feature of Linux (maybe Unix?). Highlighted text gets copied to the buffer, which is useful when you're on the command line (because Ctrl+C ends the current process).
I don't know how you'd change this, but maybe that can give you some clues on what to do.
It’s been a hot minute, but wasn’t what you’re referring to done by a third-party app? The original consoles had no real concept of a mouse by default, let alone copy/paste from highlighted text. Any highlighting inside an app (e.g. vi/m) was buffered by the app and not the OS?
It was implemented as part of the X11 standard, so the concrete program would've been X.org...
I thought text selection was handled via keyboard. Also been a hot minute since I first learned about this, and not using that buffer has not exactly been a common discussion point, since being able to reuse text is typically a desirable trait!
This may be KDE Connect. I noticed this happening between my desktop and my phone when installing that app (non KDE desktop). A bit scary at first.
all 9 comments