-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Description
Summary
When copy-pasting a file into the same directory, the rename prompt is rendered as if it's focus, when it isn't.
Description
When copy-pasting a file within the same directory (effectively duplicating it), the new file has the name of *file_name* copy. Zed also allows the user to rename the file immediately, highlighting the copy part for easy overwrites.
However, when attempting to do this in the current version of Zed, the text field for renaming is not in focus. So, before you can write anything in the file name, you have to click to select the field.
Steps to reproduce:
- Open a workspace in any folder
- Make a new file with some name
- Copy the file and paste it into the same workspace folder
- Attempt to replace the
copypart of the file name, without clicking.
Expected Behavior:
Expected the file rename field to be in focus right after pasting the file.
Actual Behavior:
The text field looks as if it's in focus, but it functions as if it isn't.
Zed Version and System Specs
Zed: v0.208.6 (Zed)
OS: macOS 26.0
Memory: 16 GiB
Architecture: aarch64