Theia: [vscode][webview] can't copy content from webview use Ctrl + C

Created on 19 Sep 2019  Â·  12Comments  Â·  Source: eclipse-theia/theia

Description

Reproduction Steps

  • ext install humao.rest-client
  • create a test.http file
GET http://baidu.com
  • Click Send Request
  • select response at webview
  • Copy use hotkey Ctrl + C
  • nothing happend

OS and Theia version:

Diagnostics:

needs more info browsechrome bug help wanted vscode webviews

Most helpful comment

@akosyakov also can't use hot key copy
temp

I look latest commit ci build failed , maybe my auto build image is not latest
after ci build success I will test again

All 12 comments

We should check it for Chrome and Firefox.

We should check it for Chrome and Firefox.

@akosyakov I tested both Chrome and Firefox.
Oddly enough Firefox worked correctly while Chrome could not copy the contents correctly.

I cannot reproduce it in https://github.com/eclipse-theia/theia/pull/6465 It works for Chrome and Firefox. @vince-fugnitto @502647092 Could you check as well?

I cannot reproduce it in #6465 It works for Chrome and Firefox. @vince-fugnitto @502647092 Could you check as well?

I confirm it works correctly with #6465

@akosyakov also can't use hot key copy
temp

I look latest commit ci build failed , maybe my auto build image is not latest
after ci build success I will test again

I look latest commit ci build failed , maybe my auto build image is not latest
after ci build success I will test again

Yes, npm.js had an incident on Friday, next version with new webviews support has not been published yet. Please reopen if you will be able to reproduce after the build is successful.

@akosyakov
also can't copy use hot key
and webview menu can't open
but
image
button works fine

I'm wonder what else could be different between yours and my setup.

I've tested again and it works. My setup:

  • Chrome: Version 78.0.3904.108 (Official Build) (64-bit)
  • Mac: High Sierra 10.13.5 (17F77)

@akosyakov @marcdumais-work
I test latest theia version 1.2.0-next.f7cecf20
it's also can't copy from webview use Ctrl + C
and webview can't use right mouse key
github

it's also can't copy from webview use Ctrl + C

I still cannot reproduce. Which browser, version, OS? Do you have any errors in browser or backend logs while trying to copy?

and webview can't use right mouse key

It is the same in VS Code. Not sure what we can do about it.

I use electron WebView tag in theia widget,can't copy content from webview use use ⌘ + C,same as paste.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cekvenich picture cekvenich  Â·  3Comments

akosyakov picture akosyakov  Â·  3Comments

marechal-p picture marechal-p  Â·  3Comments

jeanlucburot picture jeanlucburot  Â·  3Comments

fangnx picture fangnx  Â·  3Comments