Skip to content

[macOS] Clipboard get/set text - #2577

Merged
mergify[bot] merged 9 commits into
unoplatform:masterfrom
MartinZikmund:dev/mazi/clipboard-macos
Feb 5, 2020
Merged

mergify[bot] merged 9 commits into
unoplatform:masterfrom
MartinZikmund:dev/mazi/clipboard-macos

Conversation

@MartinZikmund

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): #2576

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

Clipboard is not supported on macOS.

What is the new behavior?

Clipboard is supported on macOS for text content type.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Docs have been added/updated which fit documentation template (for bug fixes / features)
  • Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Wasm UI Tests are not showing unexpected any differences. Validate PR Screenshots Compare Test Run results.
  • Contains NO breaking changes
  • Updated the Release Notes
  • Associated with an issue (GitHub or internal)

@gitpod-io

gitpod-io Bot commented Feb 1, 2020 •

Copy link
Copy Markdown

@MartinZikmund MartinZikmund added the platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform label Feb 1, 2020
@MartinZikmund MartinZikmund self-assigned this Feb 1, 2020
@MartinZikmund MartinZikmund changed the title Clipboard get/set text on macOS [macOS] Clipboard get/set text Feb 1, 2020
@carldebilly carldebilly added the kind/enhancement New feature or request label Feb 1, 2020
@carldebilly

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@jeromelaban jeromelaban left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@jeromelaban jeromelaban added the ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met label Feb 2, 2020
@MartinZikmund

Copy link
Copy Markdown
Member Author

@carldebilly @jeromelaban I'm getting error that System.Void Windows.ApplicationModel.DataTransfer.DataPackage.SetText(System.String value) was removed, but I fail to see how, I think I just implemented the API on macOS, am I missing something obvious?

@jeromelaban

Copy link
Copy Markdown
Member

The missing API is caused by the parameter name change. You can use the value name and mark the other methods considered missing as exclusions (the name was effectively incorrect).

@mergify
mergify Bot merged commit 722f25d into unoplatform:master Feb 5, 2020
@MartinZikmund
MartinZikmund deleted the dev/mazi/clipboard-macos branch February 7, 2020 21:33
@MartinZikmund MartinZikmund mentioned this pull request Apr 14, 2020
1 of 8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement New feature or request platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants