Closed jizhi0v0 closed 3 days ago
This issue only in 0.163.0 preview and 0.162.3 stable
git bisect start git bisect good v0.161.2 git bisect bad v0.162.3
Finally c4a382d7cb93f5fbd3e9bc0821dfb6f74fc64de9 is the first bad commit
This is very frustrating issue I got today after updating Zed, hope this will take up soon
Having the same issue here
Approved, v0.161.2 is not affected
Do you all have a key binding for "shift shift"
?
For me, pressing shift twice runs the bound action as intended. Pressing shift just once inserts shift
into the editor after a split second. Removing the key binding solves the issue.
The same issue occurs with the other modifiers e.g., binding "cmd cmd"
inserts platform
.
Do you all have a key binding for
"shift shift"
?For me, pressing shift twice runs the bound action as intended. Pressing shift just once inserts
shift
into the editor after a split second. Removing the key binding solves the issue.The same issue occurs with the other modifiers e.g., binding
"cmd cmd"
and insertsplatform
.
Yes, I have shift shift
binding and disabling it fixes the problem 👍
@piechologist do you mean like this? I'm getting it but very inconsistently so
I figured out what's causing it on my end (sort of).
For me, it's only happening if i select something, while selected press shift (just once) and then leave the selection by clicking somewhere else. It'll then just get pasted wherever i clicked to next.
https://github.com/user-attachments/assets/ce751ce8-73ce-439d-b24f-90c585ec2f2a
For me, it's only happening if i select something
I can't replicate that. It doesn't matter if there's a selection or not. With the shift shift
binding commented out, nothing gets inserted.
Same happens for me on Linux v0.162.3, with a "shift shift" keybinding enabled, pressing shift then an arrow key leads to "shift" being inserted in the current buffer.
Disabling/commenting my "shift shift" keybinding, the problem goes away immediately.
I don't have any bindings and this happens. It's a ridiculously annoying bug. Wonder how it was introduced into the stable build.
Can confirm. It is happening on the latest stable. I do have a shift-shift key binding to open ctrl+p menu
Same here. I don't have "shift shift"
custom bindings, but I do have "base_keymap": "JetBrains"
Please take a look asap, it's very annoying 🙏
Same here. I don't have
"shift shift"
custom bindings, but I do have"base_keymap": "JetBrains"
Please take a look asap, it's very annoying 🙏
now that you say it, i also have JetBrains base keymap as well, so that could be a part of it
Hi!, It's bothering me too, additionally, when I add an extra keybinding "cmd cmd": "workspace::ToggleZoom"
I've got another text inserted in editor -> platform
while I pressed 'cmd' only once and then clicked somewhere else. I have base_keymap derived from VSCode.
Using MacOS 14.7.1 on M1 arm64 architecture
Zed Preview 0.163.1 is out with a fix.
Thanks to the Zed team for the quick response! 🚀
Check for existing issues
Describe the bug / provide steps to reproduce it
when knock the shift key, the string shift is append in current line
https://github.com/user-attachments/assets/cdb51b28-1691-40d8-a997-b3bb0904fe37
Environment
zed preview 0.162.3 version Apple M3 Max 36 GB 15.1 (24B83)
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
``` [Zed.log](https://github.com/user-attachments/files/17839514/Zed.log) ```