Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to persist temporary documents on Linux #1937

Open
2 tasks done
nc7s opened this issue Jun 23, 2024 · 2 comments
Open
2 tasks done

Unable to persist temporary documents on Linux #1937

nc7s opened this issue Jun 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@nc7s
Copy link

nc7s commented Jun 23, 2024

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

  • 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 nc7s added the bug Something isn't working label Jun 23, 2024
@daiyam
Copy link
Member

daiyam commented Jun 23, 2024

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

@nc7s
Copy link
Author

nc7s commented Jun 24, 2024

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

@nc7s nc7s changed the title Forced to save temporary document or lose it on Linux Unable to persist temporary documents on Linux Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants