# Disabling problematic hotkeys

**URL:** https://meta.discourse.org/t/disabling-problematic-hotkeys/96459
**Category:** Bug
**Tags:** keyboard-shortcuts
**Created:** [September 5, 2018, 10:21pm UTC](https://meta.discourse.org/t/disabling-problematic-hotkeys/96459 "2018-09-05T22:21:57Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 6, 2018, 12:26am UTC](https://meta.discourse.org/t/disabling-problematic-hotkeys/96459/7 "2018-09-06T00:26:10Z")

</div>

The feature is a bug.

> <https://github.com/discourse/discourse/blob/8cff3c9bbc7428011f7d83f5e5dd73abb684d995/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6#L304-L307>

When routing an action to a post, we check:

- Do we have a post highlighted with via `j` `k` ? ok, use that

- Do is mouse cursor hovered on a post, ok use that.

This is a recent change introduced via:

> [@Instructions on right and feedback on "wrong" keyboard shortcut usage](https://meta.discourse.org/t/intructions-on-right-and-feedback-on-wrong-keyboard-shortcut-usage/65794):
>
> I knew about the “Keyboard Shortcuts” modal for quite some time, but honestly didn’t know how they worked. Just now, when I investigated a bit further and read some specific instruction by another user, that I first have to j/k in a topic to go through the posts before I could use e and similar, I understood the concept behind it better. Before I tried to combine the keys with alt, ctrl, shift in a random manner and didn’t get any further. Also just hitting e when focusing a post in a topic wit…

The problem it was trying to solve is, "how do I know I can hit `e` and get it to do something?`

The keyboard shortcuts talk about it here:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/5/a51cb995fab8cdd4525aab56f50af6a0c60ab0e4.png)

The original “proposal here” was to pop some help, this is what gmail does:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/6/06f767cad504df4b60cee471233ccb91fbdc77ca.png)

My call is that the solution of “routing to hovered” does not go anywhere towards teaching, I am also super on the fence about the “teaching” approach here even the one gmail uses.

Like is odd, cause it has some special routing code that does not go through a common path, will sort that out.

---

_[View the full topic](https://meta.discourse.org/t/disabling-problematic-hotkeys/96459)._
