HeliBoard icon indicating copy to clipboard operation
HeliBoard copied to clipboard

Private clipboard support separated from system's clipboard

Open EthicalGhost opened this issue 1 year ago • 4 comments

As the title says, implementing a private clipboard seperated from system would be very helpful when copying some sensitive info. It is already there in FlorisBoard and I use it when copying some sensitive texts or passwords along with OpenBoard for general typing. Please consider this. Thank you.

EthicalGhost avatar Dec 02 '23 04:12 EthicalGhost

Since text can be copied by the app to the clipboard only via the copy button, a simple solution would be adding a "private copy" button that just puts the text into the internal clipboard.

Helium314 avatar Mar 10 '24 20:03 Helium314

I think it would be better to have two copy buttons (normal and private), because this allows the user to choose when copying without having to go to the settings.

E.g. when copying sensitive data a user might want to use the private copy button that does not use the system's clipboard. But when copying a URL they might want to allow the browser to access the clipboard and thus use the normal copy button.

Helium314 avatar Apr 03 '24 19:04 Helium314

As a short summary: a private clipboard is wanted for copying sensitive info. So far not much more info provided, and no feedback on the proposed implementations, thus it's hard to understand what is actually wanted, so the more suitable of the 2 proposed implementations can be used.

My proposal

  • A toolbar key that only copies into internal clipboard, but not into system clipboard. Since we now also have a cut key, that would mean 2 keys.
  • advantages
    • users can choose on the fly (for each copy) whether they want to copy to system clipboard or only to internal clipboard by using the respective button
  • disadvantages
    • 2 more toolbar keys available (private cut, private copy)
    • means at least one more key in the toolbar for users who want to regularly use both private copy and normal copy via toolbar
    • if another toolbar key with copy function is added, it would need to get a private alternative as well

@codokie's proposal

  • One setting whether an item copied to the system clipboard should end up in the clipboard history, and another setting whether text copied or cut using the toolbar keys should also be copied to the system clipboard.
  • advantages
    • users have the option to copy to system clipboard only, but not the internal one (not sure why someone would want this though)
    • when setting to copy to private clipboard, users can still copy / cut to system using the menu when long pressing the text
  • disadvantages
    • 2 more settings and also more work for translators
    • users cannot simply choose to use "the other" copy, but need to enter settings first (if user default is private, they can work around this using the long press menu. but if users would like this, then nobody would have wanted a copy key)

Anything I missed above? Any feedback / opinions?

Helium314 avatar Apr 21 '24 09:04 Helium314