Category not preselected in composer when creating topic with shortcut key 'c'

I just verified on two Discourse instances that Topic Templates work only when you click the ‘New Topic’ button, but not when you hit the c key.

2 Likes

I recall this being a bug earlier in the lifecycle of Discourse.

I’m not on the latest build (out of fear of the image rebaking option), and our company’s blog is also older. These are the versions that I observed this on:

  • 2.2.0.beta6 - version 0884cd218d30d365aa3e8c5f0071e9341ecf9360
  • 2.0.0.beta1 - version d2025e33cfa1efe23328222fccee9e8f83986a64

Hope that helps.

I just tested this on try. Here’s what I found:

  • I added a topic template to the discourse category.
  • I navigated to the discourse category https://try.discourse.org/c/discourse.
  • I clicked the “New Topic” button.
    • The composer opened with the discourse cateogry pre-selected. As such, the topic template was displayed.
  • I closed the composer.
  • I then clicked c on my keyboard.
    • The composer opened without any category pre-selected. As such, no topic template was displayed.

From what I can tell the issue is not about topic templates, but that the keyboard shortcut does not open the composer to the correct category.

4 Likes

This should fix it up!

7 Likes