Enter-tainer / typst-preview

[DEPRECATED] Use tinymist instead
https://Enter-tainer.github.io/typst-preview/
MIT License
445 stars 21 forks source link

When dropping the window to a different editor, the preview turns gray with a "typst-ws process exited with code 255" error #37

Closed elteammate closed 1 year ago

elteammate commented 1 year ago

The title. To reproduce, drag a tab with a preview and drop it into anywhere else.

elteammate commented 1 year ago

Addendum: the error code on Windows is different, (but still -1, clearly).

Also for some reason, if you drag the tab not by the handle with "Preview" written on it (like, not by an actual tab), but by the top bar of the frame containing that tab, it works just fine.

Myriad-Dreamin commented 1 year ago

https://github.com/Enter-tainer/typst-preview-vscode/issues/22

Enter-tainer commented 1 year ago

This issue is workarounded in v0.5.1 because the webview automatically reconnects to the backend.

Enter-tainer commented 1 year ago

I'll close this issue for now because this no longer happens. Although the root cause still remain.