# Shortcut to reply prints an "R" into the composer window

**URL:** https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202
**Category:** Bug
**Created:** [22 בינואר,‏ 2019,‏ 7:06pm UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202 "2019-01-22T19:06:08Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [22 בינואר,‏ 2019,‏ 7:06pm UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/1 "2019-01-22T19:06:08Z")

</div>

Looks like we’ve got a regression where hitting R to bring up the reply composer while viewing a post prints an “R” in the composer window, where it should be a blank composer. I can reproduce this on both meta and try.

Possibly due to the recent composer work, @nbianca ?

---

<div class="post-metadata">

### Author: ![fhe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fhe/32/113345_2.png) [@fhe](https://meta.discourse.org/u/fhe)
#### Post date: [22 בינואר,‏ 2019,‏ 7:21pm UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/2 "2019-01-22T19:21:04Z")

</div>

In addition, it seems that reply to post via r is not working anymore, shift + r shows the above-mentioned behavior.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [22 בינואר,‏ 2019,‏ 7:22pm UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/3 "2019-01-22T19:22:37Z")

</div>

> [@fhe](#):
>
> it seems that reply to post via r is not working anymore

Reply to post also prints an `r` into the composer, but it works. Have you selected a post to reply to first via j and k?

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [22 בינואר,‏ 2019,‏ 7:23pm UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/4 "2019-01-22T19:23:45Z")

</div>

Ninja’d!

I also noticed that the same issue exists on the r shortcut, too

---

<div class="post-metadata">

### Author: ![fhe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fhe/32/113345_2.png) [@fhe](https://meta.discourse.org/u/fhe)
#### Post date: [22 בינואר,‏ 2019,‏ 7:26pm UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/5 "2019-01-22T19:26:08Z")

</div>

> [@jomaxro](#):
>
> Have you selected a post to reply to first via j and k?

Thanks for pointing. I was unaware of that necessity, learning new Discourse features every day 🤓

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [22 בינואר,‏ 2019,‏ 7:26pm UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/6 "2019-01-22T19:26:47Z")

</div>

> [@fhe](#):
>
> Thanks for pointing. I was unaware of that necessity

Yep, without it Discourse doesn’t know which post you’re replying to 😃.

---

<div class="post-metadata">

### Author: ![fhe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fhe/32/113345_2.png) [@fhe](https://meta.discourse.org/u/fhe)
#### Post date: [22 בינואר,‏ 2019,‏ 7:29pm UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/7 "2019-01-22T19:29:42Z")

</div>

I thought it takes the one which is active in the address bar, e.g, `107202/4` or `107202/5` (it somehow already knows which post I’m looking at).

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [22 בינואר,‏ 2019,‏ 8:03pm UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/9 "2019-01-22T20:03:36Z")

</div>

Might be ember3 , will look tomorrow

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [23 בינואר,‏ 2019,‏ 10:43am UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/10 "2019-01-23T10:43:29Z")

</div>

Should be fixed by:

> <https://github.com/discourse/discourse/pull/6930>

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [23 בינואר,‏ 2019,‏ 2:52pm UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/11 "2019-01-23T14:52:48Z")

</div>

We can’t do that based on the URL alone when there are multiple posts in the viewport, we can’t know which one you are replying to 😉

---

<div class="post-metadata">

### Author: ![fhe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fhe/32/113345_2.png) [@fhe](https://meta.discourse.org/u/fhe)
#### Post date: [23 בינואר,‏ 2019,‏ 3:10pm UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/12 "2019-01-23T15:10:34Z")

</div>

Somehow I knew that I was missing something 🙂 Thanks for the clarification!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [24 בינואר,‏ 2019,‏ 2:22am UTC](https://meta.discourse.org/t/shortcut-to-reply-prints-an-r-into-the-composer-window/107202/13 "2019-01-24T02:22:33Z")

</div>


