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
48.45k stars 2.89k forks source link

Autorepeat is sluggish on linux #10414

Closed brayo-pip closed 6 months ago

brayo-pip commented 6 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Hold down a key for long enough for autorepeat to kick in. Expected behavior is that the letter is typed multiple times at a rate comparable to other text editors. It's however it's slow typing a single letter a second. This also applies when using the arrow keys for scrolling.

Environment

System Details Report


Report details

Hardware Information:

Software Information:

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

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

brayo-pip commented 6 months ago

After a while the window becomes unresponsive. A second window open is still responsive!

jansol commented 6 months ago

Key repeat behaves exactly like in Firefox for me on GNOME 46 / Ubuntu 24.04.

Attempting to close the window makes it go unresponsive but that's known fallout from the recent Linux rework.

brayo-pip commented 6 months ago

I can't determine the exact conditions for reproduction, it comes and goes.

mikayla-maki commented 6 months ago

Fixed in https://github.com/zed-industries/zed/pull/10452