Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying very large bodies of text causes keyboard to hang due to clipboard preview #1236

Open
thedustinmiller opened this issue Nov 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@thedustinmiller
Copy link

Describe the bug
After copying large bodies of text, the keyboard will take several seconds, depending on text size, to pop up when opening the keyboard in any app. It will eventually appear, but nothing happens in the meantime.

Even though that is a lot of text, the Samsung stock keyboard appears and shows a preview instantly and the text can be pasted into other apps near instantly. The use case I discovered this through was copying large texts into LLMs to generate summaries.

To Reproduce
Bodies of text larger than 100kb seem to reliably trigger this. Going to Project Gutenberg, finding a book with UTF8 size greater than 100kb, and copying the entire raw utf8 format is an easy method and causes a 5-10 second hang (dependent on copied text size; it becomes noticeable, around 0.5-1 second, around 1-10kb). I think it's the clipboard preview, since clearing the history resolves it temporarily and disabling both clipboard history and clipboard suggestions prevents the issue entirely.

Expected behavior
Keyboard should pop up as quickly as normal while showing a short preview of clipboard contents (if enabled)

App version
2.2
Device:

  • Model: Samsung S23 Ultra and Samsung Zfold 6
  • OS: Android 14 One UI 6.1
@thedustinmiller thedustinmiller added the bug Something isn't working label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant