-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Clipboard format names not as expected on macOS #11632
Comments
Probably need a virtual (non-platform-specific) format list too. |
Similar issue on Ubuntu Linux as well. Text seems to work as expected here, but copying files does not work. Using |
@kekekeks our DataFormats already works as a virtual list on some platforms. |
Awesome! But... Should I open a new issue for the Linux side of things? |
if there is no open issue for Linux, yes in my opinion |
Clipboard format name is not as expected. On Windows, it's "Text" as defined in
DataFormats.Text
, but on the Mac I'm getting "public.utf8-plain-text" and "NSStringPboardType". I shouldn't need to have platform-specific code for this, right? Similar for files copied in Finder. On Windows, getting the expectedDataFormats.Files
("Files"), but on the Mac it's "public.file-url" (and a zillion other formats as well...).Steps to reproduce the behavior:
I expect the native clipboard formats where appropriate to be mapped to the platform independent names as defined in the
DataFormats
static class.It works as expected on Windows. Have not had the time to check Linux yet.
The text was updated successfully, but these errors were encountered: