os-issue-tracker icon indicating copy to clipboard operation
os-issue-tracker copied to clipboard

add global and per-app toggle for the focused app being able to read clipboard contents set by other apps

Open thestinger opened this issue 1 year ago • 5 comments
trafficstars

thestinger avatar Dec 20 '23 20:12 thestinger

as a workaround for anyone searching you can use keyboards with internal clipboard.

  • Florisboard (only use its clipboard action buttons and keep "sync to system clipboard" disabled)
  • KeepassDX has a special keyboard too

secretmango avatar Jan 15 '24 16:01 secretmango

Some possible design ideas:

  • A permission setting that restricts access the clipboard for a given app; OR
  • A permission setting that restricts an app from pasting text, while still allowing it to copy text; OR
  • When pasting text that was copied using different app, a prompt that asks the user whether they consent to cross-app pasting; OR
  • A feature that clears the clipboard after a certain number of minutes; OR
  • Somehow distinguish user-initiated pasting (physically tapping the "paste" menu item) versus clipboard API invocations by the app (is this possible?)

octogonz avatar Jun 21 '24 19:06 octogonz

  • Florisboard (only use its clipboard action buttons and keep "sync to system clipboard" disabled)

Can you elaborate more on this? Where is the clipboard action buttons? Whenever I copy anything it is first copied to the system clipboard then synced to Florisboard's clipboard. I would like to avoid the system clipboard from getting anything I copy.

Edit: nevermind, found it. For anyone wondering, you press on the elipses on the smart bar (bar at the top of the keyboard) and there is an option to use "copy" and "paste" there.

ghost avatar Oct 01 '24 20:10 ghost

@Pacalini You will substantially reduce the security of your device by using this and we strongly recommend against it. You'll also need to reset your device before reporting issues if you've given out ADB access to apps. We don't provide support for it.

thestinger avatar Oct 01 '24 20:10 thestinger

Thank you for the warning and sorry for posting it here.

Pacalini avatar Oct 02 '24 01:10 Pacalini

May I also suggest adding a few features

  • Disable clipboard access for specific apps
    • Allow writing to the clipboard but disable reading from it for certain apps
  • Disable clipboard history access for specific apps (only allow access to the most recent copied item)

ResurFace382500000 avatar Jul 05 '25 03:07 ResurFace382500000

Is it possible for the OS to provide clipboard access to Virtual Keyboard apps but not other apps?

iacore avatar Sep 24 '25 17:09 iacore