Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Don't query pasteboard contents until paste:#766

Open
Adlai-Holler wants to merge 3 commits intomatrix-org:developfrom
Adlai-Holler:pasteboard_fix
Open

Don't query pasteboard contents until paste:#766
Adlai-Holler wants to merge 3 commits intomatrix-org:developfrom
Adlai-Holler:pasteboard_fix

Conversation

@Adlai-Holler
Copy link
Copy Markdown
Contributor

@Adlai-Holler Adlai-Holler commented Jan 24, 2021

Currently canPerformAction: causes a read of the pasteboard, which is annoying on iOS 14. The system alerts the user "Pasted from [x]" every time the menu is queried.

Instead we can check the types without querying the contents.

Signed-off-by: Adlai Holler adlai@icloud.com

@Adlai-Holler
Copy link
Copy Markdown
Contributor Author

@manuroe Could I get a review of this please?

@Adlai-Holler
Copy link
Copy Markdown
Contributor Author

@manuroe Updated with signoff & changelog.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant