You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we don't watch the parent directory of a file if the file doesn't exist. As a result, on the first start of Zed, when settings.json hasn't been created yet (it gets created later, but the watcher doesn't detect it), the Welcome page fails to accept toggle clicks. Ironically, because the Welcome page is shown on the first launch, this issue likely affects all users.
Symlinked files are currently not being watched on Windows, causing the UI to become unresponsive when settings.json is a symlink.
You can create a symlink on Windows using the Command Prompt.
Closes#22659
More context can be found in attached issue.
This is specific to Windows:
1. Add parent directory watching for fs watch when the file doesn't
exist. For example, when Zed is first launched and `settings.json` isn't
there.
2. Add proper symlink handling for fs watch. For example, when
`settings.json` is a symlink.
This is exactly same as how we handle it on Linux.
Release Notes:
- Fixed an issue where items on the Welcome page could not be toggled on
Windows, either on first launch or when `settings.json` is a symlink.
Check for existing issues
Describe the bug / provide steps to reproduce it
There are two issues here:
Currently, we don't watch the parent directory of a file if the file doesn't exist. As a result, on the first start of Zed, when
settings.json
hasn't been created yet (it gets created later, but the watcher doesn't detect it), the Welcome page fails to accept toggle clicks. Ironically, because the Welcome page is shown on the first launch, this issue likely affects all users.Symlinked files are currently not being watched on Windows, causing the UI to become unresponsive when
settings.json
is a symlink.You can create a symlink on Windows using the Command Prompt.
For an absolute symlink:
or
For a relative symlink:
Zed Version and System Specs
Zed: v0.169.0 (Zed Dev 8151dc7)
OS: Windows 10.0.26100
Memory: 31.7 GiB
Architecture: x86_64
GPU: Intel(R) UHD Graphics 770 || Intel Corporation || 101.6129
If applicable, add screenshots or screencasts of the incorrect state / behavior
first-start.mp4
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: