bug: VSCode. Couldn't copy to clipboard
mmospanenko opened this issue · comments
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
- Go to VScode run script (CMD+Enter)
- Click on Copy to Clipboard
- See an error popup "Couldn't copy to clipboard"
Expected behavior
Expected text should be in clipboard
Screenshots
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
Hi, it happens when the content of the result is not serializable, what kind of data does your script return ?
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...
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