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


(Bart) #1

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.


(Jeff Atwood) #2

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


(Bart) #3

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.


(Joshua Rosenfeld) #4

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.