Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vscode][webview] can't copy content from webview use Ctrl + C #6217

Closed
502647092 opened this issue Sep 19, 2019 · 12 comments · Fixed by #6465 or #8943
Closed

[vscode][webview] can't copy content from webview use Ctrl + C #6217

502647092 opened this issue Sep 19, 2019 · 12 comments · Fixed by #6465 or #8943
Labels
browser/chrome issues related to the chrome browser bug bugs found in the application help wanted issues meant to be picked up, require help 🤔 needs more info issues that require more info from the author vscode issues related to VSCode compatibility webviews issues related to webviews

Comments

@502647092
Copy link
Contributor

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:

@akosyakov akosyakov added bug bugs found in the application vscode issues related to VSCode compatibility webviews issues related to webviews help wanted issues meant to be picked up, require help labels Sep 19, 2019
@akosyakov
Copy link
Member

akosyakov commented Sep 19, 2019

We should check it for Chrome and Firefox.

@vince-fugnitto
Copy link
Member

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.

@akosyakov akosyakov added the browser/chrome issues related to the chrome browser label Sep 20, 2019
@akosyakov
Copy link
Member

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

@vince-fugnitto
Copy link
Member

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 akosyakov self-assigned this Nov 8, 2019
@502647092
Copy link
Contributor Author

502647092 commented Nov 23, 2019

@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

@akosyakov
Copy link
Member

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.

@502647092
Copy link
Contributor Author

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

@akosyakov akosyakov reopened this Nov 25, 2019
@akosyakov
Copy link
Member

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

@akosyakov akosyakov added the 🤔 needs more info issues that require more info from the author label Nov 25, 2019
@akosyakov
Copy link
Member

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 akosyakov removed their assignment Dec 2, 2019
@502647092
Copy link
Contributor Author

@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

@akosyakov
Copy link
Member

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.

@zhaomenghuan
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser/chrome issues related to the chrome browser bug bugs found in the application help wanted issues meant to be picked up, require help 🤔 needs more info issues that require more info from the author vscode issues related to VSCode compatibility webviews issues related to webviews
Projects
None yet
4 participants