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

Open recent project in new window is inconsistent #21245

Open
1 task done
jliverman opened this issue Nov 27, 2024 · 5 comments
Open
1 task done

Open recent project in new window is inconsistent #21245

jliverman opened this issue Nov 27, 2024 · 5 comments
Labels
design [core label] enhancement [core label] menus Feedback for menu items, context menus, etc workspace Feedback for workspace management, layout, interactions, etc

Comments

@jliverman
Copy link

jliverman commented Nov 27, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

I do not know how to reproduce this bug. But if you continue to attempt to open a recent project in a new window via the 3 means available to you (see below) you will inevitably run into it.

  1. File | Open Recent... > (select project using arrow keys) > enter
  2. Open recent project (button) > (select project using arrow keys) > cmd+enter
  3. alt-cmd-o (Option + Command + o) > (select project using arrow keys) > cmd+enter

When I get into a "mode" where it will accept enter (#1) or cmd-enter (#2 & #3) as opening the project in a new window then it seems to work as I expect repeatedly, regardless of how I opened the "Open recent project" window (see the 3 methods above). But if I ever get it into a "mode" where it ignores the new window directive (i.e. it just opens the project in the current window anyway) then it seems to retain that behavior for repeated attempts 🤷‍♂️ Again, I have no idea what I am doing to switch between these "modes" of operation.

I also tried a workaround from issue #17765 in which I added the following keybind:

{ "context": "Workspace", "bindings": { "alt-ctrl-o": [ "projects::OpenRecent", { "create_new_window": false } ] } }

and it did not seem to help at all.

Environment

Zed: v0.162.4 (Zed)
OS: macOS 14.7.1
Memory: 16 GiB
Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log
2024-11-27T11:06:23.329496-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:06:33.867936-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-am". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:06:54.813697-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:06:59.034357-05:00 [ERROR] window not found
2024-11-27T11:07:11.578567-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:07:25.268251-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:07:35.395581-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:07:44.109344-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:07:53.094068-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:08:01.744881-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:08:05.765539-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-jenkins-dsl". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:08:16.053465-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:08:20.045465-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-routing". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:08:27.933456-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:08:48.102582-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:09:28.327085-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:09:33.728076-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-routing". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:09:36.763116-05:00 [ERROR] window not found
2024-11-27T11:10:12.788835-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:10:51.674454-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:11:37.506747-05:00 [INFO] Initializing default prettier with plugins {}
2024-11-27T11:11:44.54858-05:00 [INFO] open paths ["/Users/ULIVEJA/.config/zed/keymap.json"]
2024-11-27T11:11:44.788546-05:00 [INFO] attempting to start language server "json-language-server", path: "/Users/ULIVEJA/.config/zed/keymap.json", id: 2
2024-11-27T11:11:44.790496-05:00 [INFO] Initializing default prettier with plugins {}
2024-11-27T11:11:44.791783-05:00 [INFO] Initializing default prettier with plugins {}
2024-11-27T11:11:44.792189-05:00 [INFO] Initializing default prettier with plugins {}
2024-11-27T11:11:44.803497-05:00 [INFO] fetching latest version of language server "json-language-server"
2024-11-27T11:11:48.414133-05:00 [INFO] downloading language server "json-language-server"
2024-11-27T11:11:49.179614-05:00 [INFO] using project environment for language server LanguageServerName("json-language-server")
2024-11-27T11:11:50.233768-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/.config/zed/keymap.json". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:11:50.385879-05:00 [INFO] starting language server process. binary path: "/usr/local/bin/node", working directory: "/Users/ULIVEJA/.config/zed", args: ["/Users/ULIVEJA/Library/Application Support/Zed/languages/json-language-server/node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"]
2024-11-27T11:14:30.315782-05:00 [ERROR] oneshot canceled
2024-11-27T11:14:30.317427-05:00 [WARN] skipping diagnostics update, no worktree found for path "/Users/ULIVEJA/.config/zed/keymap.json"
2024-11-27T11:15:17.194968-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:15:24.074496-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-am". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:20:30.141016-05:00 [INFO] open paths ["/Users/ULIVEJA/.config/zed/settings.json"]
2024-11-27T11:20:30.179448-05:00 [INFO] attempting to start language server "json-language-server", path: "/Users/ULIVEJA/.config/zed/settings.json", id: 3
2024-11-27T11:20:30.180103-05:00 [INFO] Initializing default prettier with plugins {}
2024-11-27T11:20:30.18345-05:00 [INFO] using project environment for language server LanguageServerName("json-language-server")
2024-11-27T11:20:34.252705-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/.config/zed/settings.json". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:20:34.410182-05:00 [INFO] starting language server process. binary path: "/usr/local/bin/node", working directory: "/Users/ULIVEJA/.config/zed", args: ["/Users/ULIVEJA/Library/Application Support/Zed/languages/json-language-server/node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"]
2024-11-27T11:21:04.350757-05:00 [ERROR] oneshot canceled
2024-11-27T11:24:22.341325-05:00 [INFO] open paths ["/Users/ULIVEJA/.config/zed/settings.json"]
2024-11-27T11:24:22.360521-05:00 [INFO] attempting to start language server "json-language-server", path: "/Users/ULIVEJA/.config/zed/settings.json", id: 4
2024-11-27T11:24:22.360958-05:00 [INFO] Initializing default prettier with plugins {}
2024-11-27T11:24:22.361743-05:00 [INFO] using project environment for language server LanguageServerName("json-language-server")
2024-11-27T11:24:26.722574-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/.config/zed/settings.json". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:24:26.807803-05:00 [INFO] starting language server process. binary path: "/usr/local/bin/node", working directory: "/Users/ULIVEJA/.config/zed", args: ["/Users/ULIVEJA/Library/Application Support/Zed/languages/json-language-server/node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"]
2024-11-27T11:26:06.48509-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:26:11.799725-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-idm". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:26:24.954186-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:26:29.639738-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-jenkins-dsl". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:26:45.803183-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:26:51.102867-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-devops-tooling". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:27:44.403239-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:27:44.54311-05:00 [ERROR] oneshot canceled
2024-11-27T11:27:50.426308-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-am". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:28:06.234323-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:28:11.318598-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-idm". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:28:14.754476-05:00 [ERROR] window not found
2024-11-27T11:28:26.125791-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:28:46.637393-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:28:51.794372-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-routing". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:28:58.602848-05:00 [ERROR] window not found
2024-11-27T11:29:37.76604-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:29:44.237226-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-am". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:30:02.561672-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:31:22.798977-05:00 [INFO] open paths ["/Users/ULIVEJA/.config/zed/keymap.json"]
2024-11-27T11:31:22.819275-05:00 [INFO] attempting to start language server "json-language-server", path: "/Users/ULIVEJA/.config/zed/keymap.json", id: 5
2024-11-27T11:31:22.819746-05:00 [INFO] Initializing default prettier with plugins {}
2024-11-27T11:31:22.820131-05:00 [INFO] using project environment for language server LanguageServerName("json-language-server")
2024-11-27T11:31:27.742744-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/.config/zed/keymap.json". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:31:27.870297-05:00 [INFO] starting language server process. binary path: "/usr/local/bin/node", working directory: "/Users/ULIVEJA/.config/zed", args: ["/Users/ULIVEJA/Library/Application Support/Zed/languages/json-language-server/node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"]
2024-11-27T11:32:17.265894-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:32:25.195809-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:32:25.298857-05:00 [ERROR] oneshot canceled
2024-11-27T11:32:40.926331-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:32:45.893931-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-devops-tooling". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:32:49.308628-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:32:51.97568-05:00 [ERROR] window not found
2024-11-27T11:32:54.024633-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/github/pearson-digitalandtechnology/identity-idam-routing". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:33:11.75177-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:33:26.155303-05:00 [INFO] open paths ["/Users/ULIVEJA/.config/zed/keymap.json"]
2024-11-27T11:33:26.189061-05:00 [INFO] attempting to start language server "json-language-server", path: "/Users/ULIVEJA/.config/zed/keymap.json", id: 6
2024-11-27T11:33:26.189452-05:00 [INFO] Initializing default prettier with plugins {}
2024-11-27T11:33:26.189789-05:00 [INFO] using project environment for language server LanguageServerName("json-language-server")
2024-11-27T11:33:31.034369-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/.config/zed/keymap.json". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:33:31.179567-05:00 [INFO] starting language server process. binary path: "/usr/local/bin/node", working directory: "/Users/ULIVEJA/.config/zed", args: ["/Users/ULIVEJA/Library/Application Support/Zed/languages/json-language-server/node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"]
2024-11-27T11:33:49.021237-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:33:49.162955-05:00 [ERROR] oneshot canceled
2024-11-27T11:34:00.600531-05:00 [INFO] open paths ["/Users/ULIVEJA/.config/zed/keymap.json"]
2024-11-27T11:34:00.618616-05:00 [INFO] attempting to start language server "json-language-server", path: "/Users/ULIVEJA/.config/zed/keymap.json", id: 7
2024-11-27T11:34:00.618971-05:00 [INFO] Initializing default prettier with plugins {}
2024-11-27T11:34:00.619293-05:00 [INFO] using project environment for language server LanguageServerName("json-language-server")
2024-11-27T11:34:05.342277-05:00 [INFO] using project environment variables shell launched in "/Users/ULIVEJA/.config/zed/keymap.json". PATH="/Users/ULIVEJA/.pyenv/shims:/Users/ULIVEJA/perl5/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/munki:/Users/ULIVEJA/perl5/bin:/usr/local/sbin:/Users/ULIVEJA/bin:/usr/local/sbin:/usr/local/bin:/Users/ULIVEJA/bin"
2024-11-27T11:34:05.453819-05:00 [INFO] starting language server process. binary path: "/usr/local/bin/node", working directory: "/Users/ULIVEJA/.config/zed", args: ["/Users/ULIVEJA/Library/Application Support/Zed/languages/json-language-server/node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"]
2024-11-27T11:36:05.153063-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-11-27T11:36:17.156389-05:00 [INFO] building git repository, `.git` path in the worktree: ".git"
@jliverman jliverman added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Nov 27, 2024
@jliverman
Copy link
Author

I just realized that method 1 above has this text:

cmd-enter reuses this window, enter opens a new one

whereas methods 2 & 3 have this (the exact opposite):

enter reuses this window, cmd-enter opens a new one

This seems like #20176 or #17765 (see also #20201) were never really fixed. But the menu that opens otherwise looks the EXACT SAME. This is so confusing to the end-user...

@notpeter
Copy link
Member

notpeter commented Dec 3, 2024

Yeah this is less than ideal. I believe the thought is that the title bar is a "Project Switcher" and File->Open Recent (projects: open recent) is for "Opening Additional Projects" but currently they are nearly identical which is pretty bad.

There a need for a design review to better differentiate/refine these. I think it might also be appropriate to support MacOS style hold option and clearly display alternate actions like is discussed in:

For example, if there was real-time feedback when holding option (or command) which changed button labels it would be clearer which action you were about to do.

Thanks for reporting.

@notpeter notpeter added enhancement [core label] workspace Feedback for workspace management, layout, interactions, etc menus Feedback for menu items, context menus, etc design [core label] and removed bug [core label] triage Maintainer needs to classify the issue admin read Pending admin review labels Dec 3, 2024
@jliverman
Copy link
Author

@notpeter Again, this is less about the "tooltip" text that appears and more about the fact that when you follow the tooltip instructions to open a project in a new window it does NOT open in a new window! The ability to consistently get projects to open in a new window (or not) is what I want, regardless of whether it matches the tooltip text. But at this time neither enter or cmd-enter result in consistent behavior for me :(

@strowk
Copy link
Contributor

strowk commented Dec 16, 2024

I also have noticed the strange behavior of this functionality in Linux. For me there seems to be two different versions of those lists - the one appearing when I open zed from terminal and the other one when I open it from searching in Gnome shell. I would like this to give same list in Linux as well if possible.
The problem reproduces for me 100%.

@jliverman
Copy link
Author

jliverman commented Jan 6, 2025

Again, my main concern is that the option for "opens a new one" (a new window) does not work consistently. That is, it opens in the SAME window most of the time for me! But as I stated, I can somehow get it into a "mode" where it finally does what I ask it to do (i.e. what it says it will do) and open the project in a new window. But I have no idea what I am doing to convince it to enter/exit this "mode" where it actually does what the help text says it will do...

I just want the editor to work as it says it will work. If it says "enter to open in this window" and "cmd+enter to open a new one" then just do that. But if it's reversed then do that. I don't care so much that all of the ways to get to the recent projects window don't have the same help ("tooltip") text. I just want Zed to do what its own text says it will do! Just please do what you say you're gonna do, Zed!! Stop lying to me!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design [core label] enhancement [core label] menus Feedback for menu items, context menus, etc workspace Feedback for workspace management, layout, interactions, etc
Projects
None yet
Development

No branches or pull requests

3 participants