Skip to content

[Bug]: Unable to reproduce last opened file in Firefox privacy mode  #5043

Closed
@AliceSync

Description

@AliceSync

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser:Firefox 98
  • Local OS:Windows 10
  • Remote OS:Centos
  • Remote Architecture:amd64
  • code-server --version:4.2.0

Steps to Reproduce

1.open dir
2.open file
3.refresh your browser

Expected

Reproduce all files that were open before I refreshed the browser

Actual

Welcome screen opened

Logs

null

Screenshot/Video

null

Does this issue happen in VS Code?

  • I cannot reproduce this in VS Code.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

I'm guessing it happened because some version after 3.4 you changed the code of vscode which caused it to record the last opened saved file somewhere in the browser, but this is not desirable because you There's no guarantee you're always using the same client, it should be saved in the server, not the client, in previous versions it worked fine, I guess this change is a very unfortunate one, it loses portability isn't it? We should keep all data on the server so we can access it anytime to keep our development environment consistent forever.

A digression: in edge, if you enable https without configuring a certificate and use ip to access the web page, an error will occur that the view is loaded abnormally, and the color display in the code edit box is unavailable. I don't know if you care about this error, but I think I should tell you that through the tool I found that there was a certificate error when loading the two js, so this happened, it was initiated by a js,changing this may solve the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions