Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing modifier before releasing mouse button results in modified click #22871

Closed
1 task done
smoores-dev opened this issue Jan 8, 2025 · 2 comments
Closed
1 task done
Labels
bug [core label] duplicate Additional reports of an existing issue editor Feedback for code editing, formatting, editor iterations, etc keymap / key binding Feedback for keyboard shortcuts, key mapping, etc mouse interaction Feedback for mouse interaction states, actions, etc

Comments

@smoores-dev
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

  1. Open a file with some code in it
  2. Press down and hold the primary mouse button on a symbol
  3. Press down and hold the cmd (or ctrl, on Linux) key
  4. Release the primary mouse button

You will be taken to the references multibuffer, as if you had cmd+clicked!

This is different behavior from at least VS Code (though it does seem to match Firefox's behavior!), and I keep running into it because I click to position my mouse and then attempt to rapidly press ctrl+D or ctrl+arrow to modify the selection, and instead accidentally open the multibuffer.

Zed Version and System Specs

Zed: v0.167.2 (Zed)
OS: Linux Wayland fedora 41
Memory: 62.5 GiB
Architecture: x86_64
GPU: Intel(R) Graphics (ADL GT2) || Intel open-source Mesa driver || Mesa 24.2.8

If applicable, add screenshots or screencasts of the incorrect state / behavior

No response

If applicable, attach your Zed.log file to this issue.

Zed.log

@smoores-dev smoores-dev added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Jan 8, 2025
@JosephTLyons JosephTLyons added mouse interaction Feedback for mouse interaction states, actions, etc editor Feedback for code editing, formatting, editor iterations, etc keymap / key binding Feedback for keyboard shortcuts, key mapping, etc duplicate Additional reports of an existing issue and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jan 9, 2025
@JosephTLyons
Copy link
Collaborator

Hey @smoores-dev,

This issue appears to be a duplicate of:

Would you mind upvoting the linked issue with a thumbs up (👍) so that we can keep all the votes in one place? I'll close this one out as a duplicate. If this is a mistake, feel free to leave a comment here explaining the difference and we will reopen this issue.

@smoores-dev
Copy link
Author

Oh that is indeed the same issue! Sorry for the noise, thanks for deduplicating!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] duplicate Additional reports of an existing issue editor Feedback for code editing, formatting, editor iterations, etc keymap / key binding Feedback for keyboard shortcuts, key mapping, etc mouse interaction Feedback for mouse interaction states, actions, etc
Projects
None yet
Development

No branches or pull requests

2 participants