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

The text is inserted twice

Open CzarOfScripts opened this issue 3 years ago • 8 comments

Describe the bug When pasting to "body" from the clipboard, the text is pasted twice.

To Reproduce You need to paste the text in the "body" tab, whether you do it with "ctrl+v" or "RMB -> paste".

Platform:

  • OS: Win 10 LTSC, version 1809, build 17763.2803
  • vscode version: 1.66.2
  • extension version: v1.16.2

CzarOfScripts avatar Apr 19 '22 06:04 CzarOfScripts

Thanks @Oliver-Patterson for reporting the bug, will look into it

rangav avatar Apr 19 '22 07:04 rangav

I have registered first time here to write comment on this bug. This bug makes me crazy!

Vonamorya avatar Jul 29 '22 11:07 Vonamorya

@Vonamorya this bug is in my priority list, will fix asap.

rangav avatar Jul 29 '22 13:07 rangav

@Vonamorya I updated few libraries in recent update, seems to be working fine for me.

Can you let me know are you still having this issue?

rangav avatar Aug 12 '22 08:08 rangav

@rangav thank you very much! You are the best!!!

Vonamorya avatar Aug 12 '22 10:08 Vonamorya

@Vonamorya welcome :)

is it working good now? can I close this issue?

rangav avatar Aug 12 '22 10:08 rangav

hmmm... it works only at a second paste... A first paste duplicate phrase from buffer

Vonamorya avatar Aug 12 '22 10:08 Vonamorya

ok I leave this issue open, will investigate further.

rangav avatar Aug 12 '22 10:08 rangav

The issue is definitely relevant. The problem is, it is not 100% reproducible though.

I'm experiencing it for quite a while: frequently the text is inserted twice when pasting:

  • into the address field
  • into headers fields
  • not 100% sure atm, but probably also in query fields

but sometimes it is inserted normally.

This doesn't seem to depend on whether some text is selected or on the cursor position: for instance, sometimes the duplication happens even in an empty field. I suspect, it rather depends on the history of states of a field or may be multiple Thunder Client tabs are necessary to get the problem. Unfortunatelly, I haven't come up with a minimal reproducible example for you yet.

YakovL avatar Nov 15 '22 19:11 YakovL

This bug is fixed now, please update to v2.15.0

See all features released in this update https://github.com/rangav/thunder-client-support/releases/tag/v2.15.0

Please test and let me know your feedback.

rangav avatar Nov 01 '23 14:11 rangav