Clicks during lag are registered at a later position of the cursor #11240
Labels
defect
[core label]
mouse interaction
Feedback for mouse interaction states, actions, etc
performance
Feedback for performance issues, speed, memory usage, etc
Check for existing issues
Describe the bug / provide steps to reproduce it
When Zed is lagging and you click, the click is registered at the position of the cursor when the lag stops, instead of the position of the cursor where the click occurred. Repro by opening a huge Rust project with the file tree open, wait for the UI to become unresponsive (you can tell when the file under your cursor stops changing to the hover color), click on a file and then move the cursor over another file. When the lags stops, the latter file will open.
Environment
Zed: v1.0.0 (Zed)
OS: Linux 1.0.0
Memory: 31.3 GiB
Architecture: x86_64
Also, I'm on x11 i3
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
The text was updated successfully, but these errors were encountered: