It happened to me more than once that a topic was posted even though I haven’t finished writing it, since some key combination (I don’t know which one, it always happened by accident) created the topic and/or sent a message.
This is truly annoying, especially since no follow up email is sent, when editing this unfinished post. This means that someone who mainly reads their messages by mail, will only get part of a message.
Is there any way to turn off keyboard shortcuts while creating a message/topic? (On a per user basis - maybe a checkbox in Preferences -> Interface.)
Nope, definitely not. My hand was not even close to the Enter key. In fact it happened when I hit some keys with either cmd, option, or control (or a combination of any of the meta keys) with my left hand. My right hand was not even on the keyboard.
I believe you that control+enter is one shortcut that triggers that behavior, but it’s for sure not the only one.
It’s not an issue per se, but this has happened to me several times already, so I’ve noticed it. That’s all.
I’ve already started to write my responses in a text editor first, but this seems like a shitty workaround. Thus I hoped for an option, but I do understand if you do not want to add one. (Maybe not to deactivate all shortcuts, but just the one that posts the topic.)
Or maybe it’s a glitch (bug) that some other key combination (besides ctrl+enter) triggers it.
Tab should definitely focus the reply button, it’s a major need for accessibility and keyboard navigation — the button should highlight (something similar to the screenshot below), maybe there’s an improvement we can make there. Which browser are you using?
But if the message is really sent, there is no undo. And Discourse has some similar delays built in. This notion of undo is much better than an ‘are you sure’ because you just automatize the extra (annoying) prompt.