windmill-labs / windmill

Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.

Home Page:https://windmill.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  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

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