hisaac / PlainPasta

A simple macOS app for "plaintextifying" your clipboard
https://hisaac.github.io/PlainPasta/
MIT License
85 stars 5 forks source link

Plain pasta ignores the copy position for objects in Figma and pastes in a random position. #22

Open varunv-ux opened 3 years ago

varunv-ux commented 3 years ago

Plain pasta ignores the copy position for objects in Figma and pastes in a random position.

hisaac commented 3 years ago

Hi Varun, thanks for opening this issue!

I don't have Figma on my computer, so I'm going to need your help to troubleshoot this. Most likely, Figma has a pasteboard type that is being incorrectly filtered out. Luckily, I've got some debug logging in Plain Pasta that should help us out.

Here's how to get the debug logs:

  1. Have Plain Pasta open, and enable pasteboard filtering.
  2. Open Terminal, and run the following command to start streaming logs to the console:
    log stream --level info --process "Plain Pasta" --predicate "message BEGINSWITH 'Pasteboard types'"
  3. Copy an item in Figma like you described. You should see information appear in the console about the "Pasteboard types before filtering" and "Pasteboard types after filtering".
  4. Copy what's printed out in the console, and send it to me here.

Depending on what's printed there, we may have to do one more step, but hopefully this will be enough. Thanks, and let me know if you have issues/questions.