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

Unable to paste content from some apps (rich metadata?) #877

Closed
isontheline opened this issue Apr 25, 2023 · 3 comments
Closed

Unable to paste content from some apps (rich metadata?) #877

isontheline opened this issue Apr 25, 2023 · 3 comments
Assignees
Labels
🐛 bug Something isn't working
Milestone

Comments

@isontheline
Copy link
Owner

I am unable to copy / paste to a remote terminal. Clipboard strategy is set for allow read / write.

Any suggestions I can try?

Originally posted by @RichardBurt65 in #875

@isontheline isontheline self-assigned this Apr 25, 2023
@isontheline isontheline added the 🐛 bug Something isn't working label Apr 25, 2023
@isontheline isontheline added this to the 21 - Penguin milestone Apr 25, 2023
@isontheline
Copy link
Owner Author

@RichardBurt65

The root cause is what I though about :

(
        {
    },
        {
        "com.apple.cocoa.pasteboard.multiple-text-selection" = {length = 46, bytes = 0x62706c69 73743030 a1011001 080a0000 ... 00000000 0000000c };
        "com.coderunnerapp.CodeRunner.EditorPasteboardType" = {length = 236, bytes = 0x62706c69 73743030 a101d302 0304050a ... 00000000 000000c0 };
        "public.rtf" = "{\\rtf1\\ansi\\ansicpg1252\\cocoartf2709\n\\cocoatextscaling0\\cocoaplatform0{\\fonttbl\\f0\\fnil\\fcharset0 FiraCode-Retina;}\n{\\colortbl;\\red255\\green255\\blue255;\\red78\\green154\\blue209;\\red192\\green197\\blue206;\\red103\\green156\\blue118;\n}\n{\\*\\expandedcolortbl;;\\csgenericrgb\\c30588\\c60392\\c81961;\\csgenericrgb\\c75294\\c77255\\c80784;\\csgenericrgb\\c40392\\c61176\\c46275;\n}\n\\deftab640\n\\pard\\pardeftab640\\li640\\fi-640\\pardirnatural\\partightenfactor0\n\n\\f0\\fs26 \\cf2 \\CocoaLigature0 cho\\cf3  \\cf4 \"Welcome to C}";
        "public.utf16-external-plain-text" = "cho \"Welcome to C";
        "public.utf8-plain-text" = "cho \"Welcome to C";
    }
)

The pastboard from Coderunner (and other RTF apps) is not filled by a string but a "complex" value.

I'm working on a fix

@isontheline
Copy link
Owner Author

Hello @RichardBurt65 👋

Latest beta release should fix this issue : https://testflight.apple.com/join/QSrBK59z

Could you give it a try?

@ghost
Copy link

ghost commented Apr 29, 2023

Works perfectly!

Many thanks for your prompt fix.

Now, to my list of improvements.... !

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