remote-browser icon indicating copy to clipboard operation
remote-browser copied to clipboard

Text within files are duplicated when opened via Remote Browser

Open hw-lhurst opened this issue 7 years ago • 5 comments

When I open a file on a server via remote-browser the text within the file is duplicated. For example if there is a text file that has the text:

This is a test.

If the file is opened via remote-browser, it opens as:

This is a test. This is a test.

OS: Windows 10 Version 1803 (OS Build 17134.590) Visual Studio Code: Version 1.32.1

hw-lhurst avatar Mar 13 '19 11:03 hw-lhurst

Do you face this for all kinds of files or only for specific cases ? I'm having trouble reproducing it.

sprdp avatar Mar 15 '19 13:03 sprdp

So far it's the vast majority of files where only on small occasions a file will open normally.

image

In case it helps the duplicate text doesn't mark the file as edited so can still close it without the duplicate text being saved, however removing the duplicate text will then mark the file as edited and so it has to be saved.

hw-lhurst avatar Mar 19 '19 10:03 hw-lhurst

Probably also best to note that when I open the file, it does initially opens ok for a brief second, but you can then see the duplicate text appear within the document:

remote-browser

hw-lhurst avatar Mar 19 '19 11:03 hw-lhurst

Still can't reproduce this. I ended up using a different implementation for file GET . I pushed a new version with the change. Do check if it works as expected.

sprdp avatar Mar 19 '19 18:03 sprdp

Yep looks like that has fixed the issue, all files opening as normal now. Cheers for the help :)

hw-lhurst avatar Mar 21 '19 10:03 hw-lhurst