Skip to content

WebViews are not displayed in server mode #253

@johnpaliotta

Description

@johnpaliotta

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: openvscode-server-v1.62.3
  • OS Version: Ubuntu 20.04.1 LTS

I am using vscode.window.createWebviewPanel to create a webview and display some static HTML. Everything works fine with the desktop version, but in the server version I get a blank document. To try to figure out what's going on I switched to the webview-sample (cat coding) and reproduced the problem

Steps to Reproduce:

  1. Built the webview-sample using vsce package on windows
  2. Moved the resultant .vsix file to linux
  3. Downloaded the vscode-server from https://github.com/gitpod-io/openvscode-server/releases
  4. Started the vscode-server, using ./server.sh
  5. Connected to the server using Chrome (I tried Firefox too)
  6. Installed the .vsix
  7. Ran command: "Cat Coding: Start cat coding session"
  8. Empty tab appears

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions