Bug 427724 - Klipper needs a privacy mode that temporarily stops adding items to the history when invoked
Summary: Klipper needs a privacy mode that temporarily stops adding items to the histo...
Status: ASSIGNED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard (show other bugs)
Version: 5.15.3
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-14 21:51 UTC by naraesk
Modified: 2024-08-31 14:12 UTC (History)
3 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 naraesk 2020-10-14 21:51:35 UTC
SUMMARY

Klipper logs your selection history. Currently, it is possible to delete individual entries. But this can be a lot of work. It would be great if Klipper gets a private mode where no new entries are added. You should be able to activate it via the Plasma Widget with one or two clicks.

This feature request is related to https://bugs.kde.org/show_bug.cgi?id=391046. But the private mode should work independently from private activities.

SOFTWARE/OS VERSIONS
LOperating System: Arch Linux
KDE Plasma Version: 5.20.0
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.8.14-arch1-1
OS Type: 64-bit
Comment 1 Nate Graham 2020-10-16 16:10:16 UTC
In fact you already can!

Right-click on applet > Configure Clipboard > Reduce value of "Clipboard history size" to 0
Comment 2 naraesk 2020-10-16 18:51:31 UTC
But this deletes the history, doesn't it? Actually, I would not like to do that. I just want to prevent new entries from being added for some time.
Comment 3 naraesk 2020-10-16 19:01:11 UTC
For clarification: I really like klipper and use it a lot. And I have chosen a very large history size. I use copy&paste so often and almost unconsciously that I don't realize how many clipboard entries can accumulate in a short time. And for some of these entries, I don't want them to be found for weeks.

Therefore, it would be nicer to temporarily activate a privacy mode, i.e., pause klipper. Then you can google for Christmas gifts for your partner and stuff until you end privacy mode. :)
Comment 4 Nate Graham 2020-10-16 19:34:51 UTC
What do you mean by "prevent new entries from being added for some time"?

FWIW if it's just a temporary thing I would recommend simply clearing the history once you're done. The applet has a clear button in it for just this purpose. :)
Comment 5 naraesk 2020-10-16 19:46:34 UTC
Sure, but I don't want to clear history. :) My klipper history contains several thousand entries and I'm regularly searching text snippets in there. I don't want to delete this just because I'm dealing with sensitive content for a couple of minutes. Even in a web browser you could simply do without the private mode and instead delete the complete history each time. But you don't do this, do you?

With "prevent new entries from being added for some time" I mean, that I'd like to pause klipper (without having to delete the history). When paused, I can copy text and it will not be added to the klipper history.
Comment 6 Nate Graham 2020-10-16 21:08:15 UTC
(In reply to naraesk from comment #5)
> Sure, but I don't want to clear history. :) My klipper history contains
> several thousand entries
OMG

I suppose you could delete the incriminating entries by hand after the dirty deed is done ( :) ), but, like in a browser, it's easier to avoid storing information in the first place than it is to delete it later.

Okay, you've convinced me! I guess if we could add a little toggle button on the toolbar that triggers this privacy mode.
Comment 7 naraesk 2020-10-16 22:01:43 UTC
Cool, thanks. Looking forward to it! :)
Comment 8 Nate Graham 2020-10-16 23:43:42 UTC
Heh, I can't guarantee a timeframe. :)
Comment 9 Jonathan Marten 2023-10-04 20:12:25 UTC
See also bug 391046 for inhibiting the saving of clipboard history when in a private activity.
Comment 10 Bug Janitor Service 2024-08-23 15:40:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4637
Comment 11 Bug Janitor Service 2024-08-23 15:40:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4637