vscodium icon indicating copy to clipboard operation
vscodium copied to clipboard

Unable to persist temporary documents on Linux

Open nc7s opened this issue 1 year ago • 2 comments

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

  • [x] This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in VSCodium.

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):

  • OS: Fedora 40
  • Architecture: x86_64 (amd64)
  • Version: 1.90.0, release 24158, commit cc102f3a
  • App Manager: dnf (paulcarroty's repo)
  • Sandboxed: toolbox (podman container)

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

nc7s avatar Jun 23 '24 15:06 nc7s

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

daiyam avatar Jun 23 '24 21:06 daiyam

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

nc7s avatar Jun 24 '24 01:06 nc7s

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment, and we'll keep it open. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Dec 22 '24 01:12 github-actions[bot]

This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue, please open a new issue.

github-actions[bot] avatar Jan 21 '25 01:01 github-actions[bot]