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

Keybind to open context menu at text cursor? #17819

Open
1 task done
smm9509 opened this issue Sep 14, 2024 · 1 comment
Open
1 task done

Keybind to open context menu at text cursor? #17819

smm9509 opened this issue Sep 14, 2024 · 1 comment
Labels
accessibility Improvement related to color contrast, screen reader support, keyboard navigation, etc enhancement [core label] keymap / key binding Feedback for keyboard shortcuts, key mapping, etc popovers Feedback for tooltips, syntax hints, info popups, toasts, etc windows

Comments

@smm9509
Copy link

smm9509 commented Sep 14, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

I can right click the text area to show a context menu.
However, when I press the menu key on my keyboard (or Shift+F10 on a compact keyboard, I tried both), nothing happens and the context menu does not show in zed.
I think the menu key should work the same way as in Firefox, where it opens a context menu at the text cursor or on the focused object.

Environment

Zed: v0.154.0 (Zed Dev fac9ee5)
OS: Windows 10.0.22631
Memory: 13.8 GiB
Architecture: x86_64
GPU: AMD Radeon 780M Graphics || AMD proprietary driver || 24.2.1 (LLPC)

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

(a: start) image
(b: action) press menu key on keyboard
(c.1 actual result) image
(c.2 desired result) image

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

Zed.log
none of the actions I mentioned in this bug report produce any output on the log.
@smm9509 smm9509 added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels Sep 14, 2024
@notpeter notpeter added enhancement [core label] windows keymap / key binding Feedback for keyboard shortcuts, key mapping, etc accessibility Improvement related to color contrast, screen reader support, keyboard navigation, etc popovers Feedback for tooltips, syntax hints, info popups, toasts, etc and removed defect [core label] triage Maintainer needs to classify the issue admin read Pending admin review labels Sep 16, 2024
@mgsloan
Copy link
Contributor

mgsloan commented Sep 24, 2024

I also wanted this and have a decent start on an implementation. It works, but not yet good enough for a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Improvement related to color contrast, screen reader support, keyboard navigation, etc enhancement [core label] keymap / key binding Feedback for keyboard shortcuts, key mapping, etc popovers Feedback for tooltips, syntax hints, info popups, toasts, etc windows
Projects
None yet
Development

No branches or pull requests

3 participants