You raise a valid point: there are two topics to consider separately, security and accessibility.
On one hand, it would be useful to have the option to turn all clipboards off for an enhanced security context, in order to guarantee no data cross-contamination through human error, as well as serving as an additional mitigation against clipboard-stealing malware.
Qubes OS for example has similar mitigations in place, with each window using a separate clipboard, and copy-pasting between them only being possible by elevating one windows’ clipboard to a higher-order super-clipboard, and then calling it down from that super-clipboard to the second window.
This is almost entirely error-proof, but also sorta too convoluted for a normal context to be enabled all the time.
Then there’s TAILS, which provides a clean slate with each boot, so cross-contamination between boots is no concern.
But it doesn’t mitigate in any way against cross-contamination within a single session, either between applications, webpages or any mix thereof. Also, TAILS is otherwise exclusively geared towards being used in a high security context, making it inconvenient for normal context usage.
For the accessibility component of this issue, it is connected to the security aspect in the sense that better accessibility allows for better functioning within enhanced security contexts and when switching back and forth between normal and enhanced security contexts without having to keep track of cross-contamination.
For example, if you can disable the clipboard, you can use the keyboard in an enhanced security context without worrying whether you accidentally fat-fingered CTRL+C at some point while typing hastily, and then contaminate a normal context down the line.
Of course you could solve that by always being very vigilant about what you input on the keyboard, and then check Klippers history every single time you switch between applications.
But in practice, that is untenable.
It sounds exhausting just reading that, right?
Now imagine what it’s like when your brain runs on manual shift mode all the time.
That is what OCD feels like, and stuff like this feels especially bad.
I also thought long and hard on whether there’s easier ways to tackle this problem, like disabling clipboard functionality per-app. The problem is that individual apps might have settings that override outside settings if the functionality is still there, turning it into a game of whack-a-mole and not providing any certainty.
A similar situation occurs when disabling middle click paste: firefox exposes a separate setting within about:config that needs to be turned off in order to actually disable the functionality within firefox.
If i want both a dynamic workflow that allows me to use applications in different security contexts either alongside each other or in succession and a friction-free workflow that allows for peace of mind, the lowest common denominator, and easiest available solution really is just temporarily disabling the clipboard entirely maybe with a toggle in Klippers settings.
Another point would be whether this global toggle could work for wayland-apps only, or also for xwayland-apps.
Either way, I know it might sound like an odd proposal, but I assure you I’m entirely serious about it, and that it does affect me and others with OCD noticeably in everyday usage of their computers.
This is the most straightforward solution I could think of, and I have never found any proper solution for this issue otherwise.
I love KDE, and it has certainly made computing much more accessible to me than any other DE I’ve ever tried, it almost seems to think the same way I do!
If there’s a solution for this, it would truly mean the world to me!
That being said, I understand that KDE is undergoing a lot of transformations recently, and that this wouldn’t be a high priority issue compared to the other stuff being improved right now.
I just want to note it down properly so you can all understand where I’m coming from with this.