-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Closed project reopens on every startup #7759
Comments
Are you looking for something different than setting |
Yes, I think I do. When I actively remove any open projects from zed before closing, I expect it to open "empty" as I left it. But it does'nt. It will restore to the last project I had opened instead of the bare, empty state. |
I tried using this as a work around - even though it's not what I want - and noticed something interesting (probably another issue). The setting works when launching from the macOS GUI, Spotlight or Alfred.app. The setting does not do anything at all when launching from the CLI. It launches a second window that will also reopen the last opened project. Opening the settings there will show that |
I can reproduce this with current releases. If you close the workspace (cmd+w) before quitting (cmd+q) when you come back, Zed reopens that workspace instead of giving you a blank window. This behavior differs what other editors do and thus what some users will expect. |
In version 0.146.3 the setting works properly. |
Was having the same issue here. Tried |
I'm using Zed Dev 0.160.0 and I'm trying to understand this behavior. In short: I expect Zed to have exactly the same state when reopened no matter if I have any folders added to a project. If none are opened upon closing the application it should reopen exactly as it was left. |
Check for existing issues
Describe the bug / provide steps to reproduce it
I have downloaded zed and opened a folder as a project. When I close the project I habe zed in the state that I want it in on startup. However whenever I start up zed it opens the closed project again.
I can not close the project and have it stay closed. It always reopens on its own.
Environment
Zed: v0.121.7 (Zed)
OS: macOS 14.3.0
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.If you only need the most recent lines, you can run the
zed: open log
command palette action to see the last 1000.zed.log
The text was updated successfully, but these errors were encountered: