thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

copy/paste not always working....

Open ssnyder opened this issue 5 years ago • 9 comments

Describe the bug Because of bug just reported on SetTo not working, I am copy/pasting the token provided by the login API response, I cannot reliably copy/paste the value from that window anymore. Every so often, I get it to work, but I'm not sure how!

The mouse and keyboard have the same results.

To Reproduce Try to copy a value out of the response tab, and it won't copy to clipboard (may actually be a vscode bug - but I don't know)

Expected behavior copy should copy to the system clipboard for me to paste elsewhere

Platform:

  • OS: Win 10
  • vscode version: 1.60.1
  • extension version: 1.9.1

Solution:

ssnyder avatar Sep 17 '21 19:09 ssnyder

Hi @ssnyder, thanks for reporting the issue, you can copy and paste using ctrl+C and Ctrl+V, but if there is issue using keyboard shortcuts, then it might be related to vscode itself.

I am also planning for dedicated copy button to copy the response

rangav avatar Sep 17 '21 21:09 rangav

I could not copy using the keyboard shortcuts OR the right mouse button click to bring up the menu and choosing copy from there.

ssnyder avatar Sep 20 '21 02:09 ssnyder

it doesn't work, the same thing happens to me

josejaner avatar Sep 21 '21 14:09 josejaner

copy/paste functionality is provided by vscode. so could be vscode version issue.

rangav avatar Sep 23 '21 09:09 rangav

Having the same issues on Vesion 1.60.2

dignin avatar Oct 04 '21 14:10 dignin

Hi @dignin please downgrade vscode and verify

rangav avatar Oct 04 '21 16:10 rangav

I am closing the issue, feel free to reopen if needed

rangav avatar Jan 16 '22 04:01 rangav

I think this issue should be re-opened. Using the Copy button from a Login API Response copies the entire JSON object, not just the token itself. Pasting it into the "Bearer Token" field causes a Invalid character in header content ["authorization"] error, same as issue #340, even after deleting the extra JSON characters so it's only the token.

jc-camosun avatar Mar 30 '22 19:03 jc-camosun

Hi @jc-camosun, thanks for reporting the issue.

Can you create a new issue and steps to reproduce the issue

you can use this test url to reproduce the error https://httpbin.org/anything

I will look into it.

rangav avatar Mar 30 '22 20:03 rangav