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

do not coerce non-text clipboard content #711

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

codokie
Copy link
Contributor

@codokie codokie commented Apr 16, 2024

The internal clipboard history adds all clipboard mime types even if it is non-text (like an image media type), and that causes the keyboard to freeze for a few moments before the history view is opened after copying an image to the clipboard, especially noticeable if the image is hi-res.

coerce

Reproducible at least in recent OneUI versions which have the "Copy to clipboard" context menu in the Gallery app

Until clipboard images are supported, there is no need to coerce mime types that are not text.

Shoutout to @RHJihan for noticing this bug

@Helium314 Helium314 merged commit 300cb6e into Helium314:main Apr 16, 2024
1 check passed
@codokie codokie deleted the coerce-text branch April 26, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants