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

bug: VSCode. Couldn't copy to clipboard #3671

Open
mmospanenko opened this issue May 5, 2024 · 3 comments
Open

bug: VSCode. Couldn't copy to clipboard #3671

mmospanenko opened this issue May 5, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@mmospanenko
Copy link

mmospanenko commented May 5, 2024

Describe the bug

MacOS, VScode. Trying to copy using icon - error message: Couldn't copy to clipboard

Also can't select and copy as regular text from this window.

To reproduce

  1. Go to VScode run script (CMD+Enter)
  2. Click on Copy to Clipboard
  3. See an error popup "Couldn't copy to clipboard"

Expected behavior

Expected text should be in clipboard

Screenshots

image image

Browser information

Version: 1.89.0 (Universal) Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd Date: 2024-05-01T02:10:10.196Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Darwin x64 22.6.0

Application version

Windmill CE v1.323.6

Additional Context

VSCode plugin windmill v0.2.11

@mmospanenko mmospanenko added the bug Something isn't working label May 5, 2024
@mmospanenko mmospanenko changed the title bug: VSCode, can't copy from Windmill UI bug: VSCode. Couldn't copy to clipboard May 5, 2024
@fatonramadani
Copy link
Contributor

Hi, it happens when the content of the result is not serializable, what kind of data does your script return ?

@mmospanenko
Copy link
Author

json from Notion API. I can't even select any text from this side panel or any other response. Seems something related OS and vscode process, plugin permissions...

@rubenfiszel
Copy link
Contributor

It's not really a windmill specific issue but a vscode limitation: microsoft/vscode#68799

There are however workaround using iframe message passing that we can likely use to improve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants