coder / code-server

VS Code in the browser
https://coder.com
MIT License
66.75k stars 5.47k forks source link

On browsers using webkitgtk, the editor is blank #6881

Closed abtye closed 2 weeks ago

abtye commented 3 weeks ago

Is there an existing issue for this?

OS/Web Information

Steps to Reproduce

  1. Deploying code server on Arch Linux.
  2. Run code-server.
  3. Open http://127.0.0.1:8080 in Epiphany.
  4. Switch the theme of vscode to Monokai.
  5. Edit a file.
  6. You will see that the editor window is blank.

Expected

The editor window should be dark.

Actual

The editor window is blank.

Logs

The solstice is too long, Github doesn't allow pasting here, I put it in the file, you can see it in the Note section.

Screenshot/Video

screenshot

Does this bug reproduce in native VS Code?

No, this works as expected in native VS Code

Does this bug reproduce in GitHub Codespaces?

Yes, this is also broken in GitHub Codespaces

Are you accessing code-server over a secure context?

Notes

code-serve.log

This is related to the theme of vscode, and if you use a light color theme, there won't be this problem. My theme is Monokai.

Epiphany is a browser for the gnome desktop environment, currently using webkitgtk-6.0. I have locally deployed code server on Arch Linux, and there are no issues opening it on Firefox 127.0.2-1 and Chromium 126.0.6478.126-1. However, the editor page on Epiphany is blank.

Github codespace also has this issue, but I didn't have this issue when I opened vscode. dev.

Perhaps this is a CSS issue.

code-asher commented 2 weeks ago

Very interesting. I am not sure what could cause it, but since you can reproduce in Codespaces you might want to try opening the issue upstream (https://github.com/microsoft/vscode) where they might have a better idea.

repo-ranger[bot] commented 2 weeks ago

This issue has been marked as 'upstream:vscode'. Please file this upstream: link to open issue This issue will automatically close in 5 seconds.

code-asher commented 2 weeks ago

I marked it as an upstream issue for now.