The discussion revolves around the inconsistent behavior of the quote button in closed topics on Discourse. RGJ reports that selecting text and clicking the quote button in a closed topic doesn’t insert the quote into the editor — instead, it opens a new topic editor without quoting. This behavior is intentional, as codinghorror explains, to prevent users from accidentally creating new topics by quoting. However, RGJ argues that if a quote button is visible, it should always function as expected — or not appear at all. A workaround exists: quoting twice works because the second click finds an editor already open RGJ. codinghorror acknowledges this may be a bug and asks @techapj to investigate. RGJ proposes two rules: 1) if the quote button appears, it must always quote; 2) don’t show the button if the topic is closed and no editor is open. jomaxro initially misunderstands these as alternatives, but RGJ clarifies they’re both necessary to resolve the confusion. RGJ further explains that the current behavior — showing a non-functional button — is misleading, especially since double-clicking bypasses the intended restriction. codinghorror reinforces that creating new topics should be intentional. zogstrip confirms that quoting from a closed topic with an empty composer opens a new topic with the quote formatted as a continuation of the original thread. The core issue remains: the quote button’s inconsistent behavior in closed topics creates user confusion and undermines its purpose.
I was trying to reply using selecting text and pressing the quote button, but the selected text was not appearing in the editor. Turns out the topic was closed and I was creating a new topic.
I found a few other threads about this and they all suggest that everything is working as expected now, but I am still puzzled why I get a quote button that does not actually quote the selected text…
So if that is not desired, there shouldn’t be a quote button, just a “reply as new topic” button somewhere.
Or it should quote but discourage people in some other way to create a new topic.
That also works if you quote on the same closed topic twice.
I’ve always been taught Albert Einsteins wise quote “Insanity: doing the same thing over and over again and expecting different results” but now that actually is the case
The first time it only opens up an editor, the second time it has an editor and it quotes the text.
But ok: if there is logic that prevents the quote button from quoting, why not apply the same logic to prevent the quote button from appearing ? Because now there is a quote button that sometimes does… nothing. And the next time it does work…
I’m confused why they both need to be satisfied. At the moment, the quote button is always shown. As such, the condition in rule 1 is true, so the consequence (it should always work) would be true as well. In this case, rule 2 never applies as the quote button is always shown.
The quote button is not quoting if pressed in a closed topic by design:
Because of this requirement, the current behavior is that pressing the quote button in a closed topic doesn’t quote, except when there is an editor open. However, it does open an editor, but without quoting. That’s confusing.
Pressing the quote button twice does what the user expect since the second time, an editor is already open.
So that’s bad, IMHO.
the quote button appears but does not quote
pressing the quote button twice circumvents preventing the functionality that discourages opening a new topic. Yes, having to press a button twice will actually discourage it’s use, but it also confuses the user.
Agreed. I understand that the current lack of quoting on first click is by design. However, I still don’t understand why rule 2 is needed if rule one applied. If the quote button is always displayed, it should always work, and work consistently. In that case, there would never be “don’t show the quote button”.
Because @codinghorror doesn’t want it to work that way, and I can see why: it would it make too easy to (accidentally) create a new topic by quoting something from a closed topic.