VSCodium / vscodium

binary releases of VS Code without MS branding/telemetry/licensing
https://vscodium.com
MIT License
24.27k stars 1.02k forks source link

Unable to persist temporary documents on Linux #1937

Open nc7s opened 1 week ago

nc7s commented 1 week ago

Describe the bug When exiting, temporary documents (Untitled-x) trigger a prompt: "Do you want to save the changes you made to (...)? Your changes will be lost if you don't save them." It does when "Don't Save" is chosen.

Please confirm that this problem is VSCodium-specific

Please confirm that the issue/resolution isn't already documented

To Reproduce Steps to reproduce the behavior:

  1. Ctrl-N to open a new temporary document
  2. Write something
  3. Close the application to see the prompt
  4. Click "Don't save" and reopen to see it's indeed lost

Expected behavior The temporary document should have persisted, as on Windows and in original VS Code.

Screenshots N/A

Desktop (please complete the following information):

Additional context The program is run with the following command line:

toolbox run --container toolbox-dev codium --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --new-window
daiyam commented 1 week ago

Have you tested Visual Studio Code on linux in a podman container?

nc7s commented 1 week ago

Yes, just created a toolbox container and installed VS Code official rpm in it, ran with the same command. It persisted the document.