zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.46k stars 3.12k forks source link

Shift press results in "shift" word in the editor. "Comment line" keybind stopped working. #20976

Closed MihaelBercic closed 1 day ago

MihaelBercic commented 1 day ago

Check for existing issues

Describe the bug / provide steps to reproduce it

After the latest Zed update (0.161.3), whenever shift is pressed, the literal word "shift" appears in the editor. Has been happening after a few restarts. Also the cmd-shift-/ command or cmd-/ command stopped working for commenting selected lines.

Note: clicking / tapping (and releasing) shift and waiting a second or so, will show the word "shift".

Environment

Zed: v0.161.2 (Zed) OS: macOS 15.1.1 Memory: 64 GiB Architecture: aarch64

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 ``` ```
BraisonCrece commented 1 day ago

I'm facing the same issue.

In my case shift is printed when I press cmd shift Screen Recording 2024-11-21 at 10 50 33

BraisonCrece commented 1 day ago

I don't know If could be related, but I have the impression that it started happening after enabling supermaven inline assistant

MihaelBercic commented 1 day ago

I'd also like to note that the bug is not immediate. In my case, it's simply clicking shift then wait a second or two (shift released) and it'll write the word shift.

bivainis commented 1 day ago

I've just updated to latest version and this started happening. around 500ms delay until shift word appears.

https://github.com/user-attachments/assets/2a6faf87-fb82-4fa1-a863-e186e7dfe298

thisislvca commented 1 day ago

Duplicate of #20963 (shift), #20926 (comment keybind)