luisllamasbinaburo / VSCodeSnap

📸 Take beautiful screenshots of your code in VS Code!
https://marketplace.visualstudio.com/items?itemName=luisllamas.vscodesnap
GNU General Public License v3.0
21 stars 1 forks source link

Copy image to clipboard does not work #6

Open BartolomeyKant opened 1 year ago

BartolomeyKant commented 1 year ago

If I press copy button or hit ctrl+c I get only selected code in my clipboard, not an image.

Also the same problems exists on original CodeSnap.

I am using manjaro linux with X11.

BartolomeyKant commented 1 year ago

Also there is no codesnap.shutterAction setting such as mentioned in README.

BartolomeyKant commented 1 year ago

Same issue https://github.com/kufii/CodeSnap/issues/66

BartolomeyKant commented 1 year ago

@MuTsunTsai https://github.com/kufii/CodeSnap/issues/66#issuecomment-873082547

You have mensioned it was fixed already.

Is your solution suitable for this fork?

MuTsunTsai commented 1 year ago

@BartolomeyKant It's working for me, but I'm using Windows so I can't really compare that to your situation. My solution uses native browser API, so in theory it should work cross-platform, unless VS Code is somehow using an older Chromium core. Can you check the Chromium version? (It will show you in Help -> About)

BartolomeyKant commented 1 year ago

unless VS Code is somehow using an older Chromium core. Can you check the Chromium version? (It will show you in Help -> About)

screen-23-01-09:09-52-46

Maybe this is some other issue? I am not saying it's not working at all. It's just make copy of selected code in editor panel instead of generated image.

Also I tried some experiments and noticed what codesnap-luo copies images well, but it has some other issues.