Quotes appear in wrong order


  • Discourse touched me in a no-no place

    Continuing the discussion from 5% posters unite!:

    @loopback0 said:

    @boomzilla said:
    or end of a post.

    @boomzilla said:

    or at the start

    @boomzilla said:

    where the cursor is

    @boomzilla said:

    whether a quote shows up

    Quoted in the order they appeared in originally.
    @discoursebot

    Bug: Quotes are inserted into editor in the wrong order
    Expected behaviour: They're inserted in the order I highlight them, with the latest being at the bottom.

    EDIT- WHERE'S THE FIRST QUOTE GONE? FFS.
    @discoursebot.


  • Banned

    What is this starting topics where the title reflects the contents madness?

    Answered here

    http://what.thedailywtf.com/t/another-strike-against-vegetarians/4514/161?u=codinghorror

    Sorry, I did not see this before that.


  • kills Dumbledore

    I just tried inserting a quote in the middle of a reply to see if the cursor goes to the end of the quote block or somewhere else, which would have been a bug.

    Turns out the box loses focus so the cursor goes wherever you click to get back in it. This makes sense to me.

    However, on ctrl + Z -ing to remove the quote, I discovered... I'm not even sure what. Some of the quote BBcode stuck around and seemingly random bits of text disappeared. What the hell are you guys doing to your undo code? Simulating backspace? No, even that wouldn't work because my cursor wasn't in the middle of the quote. I'm pretty sure the standard behaviour of a text box in a browser, or Notepad, or any other base level text widget gets this right.

    @codinghorror said:

    What is this starting topics where the title reflects the contents madness?

    We're generally pretty good at that in Bugs. Except when we find another bug trying to repro the reported bug


  • kills Dumbledore

    What I'm going to do here is write some text

    @Jaloopa said:

    Turns out the box loses focus so the cursor goes wherever you click to get back in it. This makes sense to me

    Move my cursor to somewhere in the middle

    Quote reply, and then undo. I will post whatever the results are.

    DISCOURCISTENCY! The undo did nothing this time. Jeff, is this consistent or discoverable?


  • Discourse touched me in a no-no place

    @codinghorror said:

    go at the cursor position

    That makes sense, which would be fine if that consistently happened. Quoted these in the same way, and they're in the right order. Will see if I can work out some reliable repro.

    @codinghorror said:

    Well that's funny

    @codinghorror said:

    as there was a request

    @codinghorror said:

    from this very site



  • Just for the record, this is very annoying.

    It should either go at the end, or there should be some visible indicator where the quote will go.

    Preferably an option you can switch on/off, or some nifty way to switch between the two modes.


  • kills Dumbledore

    @cartman82 said:

    Preferably an option you can switch on/off

    The checkbox: the mating call of the loser



  • @Jaloopa said:

    However, on ctrl + Z -ing to remove the quote, I discovered...

    Undo doesn't work here and never has.


  • Banned

    We just use the browser default undo. Try it on a codepen with a textbox html element and compare.



  • Yes but you also broke it somehow so it doesn't work here and never has. Because God forbid there be a single convenient feature of computers Discourse doesn't fuck up or break in some manner.

    I don't know what "codepen" is and I don't care.


  • FoxDev

    blakey, please, for the love of whatever god or goddess you worship (or don't) just shut up.

    i get that you are upset, i get that you wish to express that but your constant ad-hominim attacks are really getting old fast.



  • I didn't make any ad hominem attacks. "Undo doesn't work on Discourse and never has" is a simple fact.


  • FoxDev

    that statement is an assertion, true. what you wrapped it in was an attack.

    please stop it. it's not funny, it's not even helpful. All it does is drive those that could help us fix this forum away.


  • Banned

    Experiment at

    http://what.thedailywtf.com/t/textarea-undo-why-is-it-so-inconsistent/815

    We don't override default undo in the editor any more and haven't for a while...



  • @accalia said:

    All it does is drive those that could help us fix this forum away.

    Yes, well, if it stops idiots here from donating their time to help the Discourse idiots make money, that sounds like a pretty good end-goal to me.

    This forum is beyond fixing. Its developers won't even slightly possibly consider taking actions to fix it. It's hopelessly broken forever. So not only are you donating your time to help them make money, but your end-goal of "fix Discourse" is impossible.

    @codinghorror said:

    We don't override default undo in the editor any more and haven't for a while...

    And yet, it doesn't work.


  • FoxDev

    @blakeyrat said:

    Yes, well, if it stops idiots here from donating their time to help the Discourse idiots make money, that sounds like a pretty good end-goal to me.

    for the last time, blakey, I am respectfully asking you to stop trying to destroy what little goodwill we have left with the developers of discourse. I understand you are unhappy with the software, and rightfully so. Please understand that we don't have a choice about what forum software we use, that choice was made by Alex and we don't own the site to overrule his choice.

    we have to deal with this forum, which for all its flaws works. and if we work with the developers we can help them make it better.

    I know you are angry, I can't ask you to stop being so, but i can and am asking you to stop trying to destroy what the rest of us have.

    Thank you.


  • ♿ (Parody)

    @blakeyrat said:

    Yes but you also broke it somehow so it doesn't work here and never has.

    It's working for me on chrome.


  • Discourse touched me in a no-no place

    And here.



  • @accalia said:

    for the last time, blakey, I am respectfully asking you to stop trying to destroy what little goodwill we have left with the developers of discourse.

    They have their own forum for this shit. Post whatever you want there. I won't read it. Trust me.

    Just don't come running and crying to me when your reward for all that "goodwill" is getting summarily banned by Atwood.

    @accalia said:

    we have to deal with this forum, which for all its flaws works. and if we work with the developers we can help them make it better.

    Yes, you acknowledge that it's bad, and you're reaction to that is, "well I'll just donate my time to help them! Even though it's a commercial product that makes them money! I'll give them free money, what a great idea!"

    If you see a bad movie, a real stinker, is your first reaction to cut a check and send it to the producers? If you buy a shoddy product that falls apart the first time you use it, do you drive over to the factory and buy all the workers lunch?

    I don't get it.

    Hell, maybe that's why the product is so awful. "Hey guys, the more bugs we write, the more free labor we get! Cha-ching!!!"

    @boomzilla said:

    It's working for me on chrome.

    Liar.

    Or you have the world's simplest test-case. Try hitting the quote button then undoing that. Try dragging an image to the text box, then undoing that.


  • FoxDev

    works like a charm for me in IE, FF and chrome.



  • WTF? I hope none of you people work in QA, because you're lousy at it.


  • ♿ (Parody)

    @blakeyrat said:

    Try hitting the quote button then undoing that. Try dragging an image to the text box, then undoing that.

    I usually paste the image, but I haven't tried undoing it (OK, now I did and it doesn't work). Undoing a quote doesn't work. Undoing typing works.

    So however that stuff gets injected into the text, the browser doesn't notice it from an undo perspective. Hmm...and actually deletes the undo buffer apparently.

    @blakeyrat said:

    WTF? I hope none of you people work in QA, because you're lousy at it.

    I was trying to test the assertion that undo was completely broken. The first (and most obvious) thing I tried worked. I hope you never submit a bug report, because you're lousy at it.


  • Discourse touched me in a no-no place

    @blakeyrat said:

    Try hitting the quote button then undoing that

    You're right - that doesn't work. You were giving the impression it was completely broken though, which it's not.



  • @boomzilla said:

    I usually paste the image, but I haven't tried undoing it (OK, now I did and it doesn't work).

    Oh. Oh... what's that? Could it be... could it be that... could it be that Blakeyrat's right? Again? Could it be that, maybe, just maybe, Blakeyrat verified that the thing he was posting was correct before posting it?

    What a shocker.

    @boomzilla said:

    I was trying to test the assertion that undo was completely broken.

    Well I know a lot of people either just love to use buggy software or simply do not have the brain to even notice when software is broken. We've had that discussion before.

    Me? I like my shit to actually work. I know, I know, I'm a freak that way. But it does mean:

    @boomzilla said:

    The first (and most obvious) thing I tried worked.

    is not sufficient to test it.

    Obviously the obvious stuff works. Even Atwood isn't that incompetent.


  • FoxDev

    Open Reply:

    Check.

    Click quote full post button thingy:

    Check.

    Press Control-z

    Check.

    Nothing happened which is (bad) but expected behavior because there was no changes on the undo buffer because i had not typed something in. the content was placed by JS.

    is this degenerate behavior? yes. is it the fault of Discourse? nope. you can thank the W3C for that. it's in the html spec. Chrome and FF had plugins that overrode this behavior and there are a few JS libraries that try to fix it too, but they are not perfect and cause really weird bugs.



  • Surprisingly, undoing quoting (and other operations like bolding text, for instance) work in Firefox here.
    Maybe DC uses browser-specific ways to inject text at the cursor position, which could explain some discrepancies...



  • @accalia said:

    you can thank the W3C for that. it's in the html spec.

    The HTML spec defines how Undo works?

    I need a cite there. Because I've read it and, although it's been a few years, I'm pretty sure that's total crap.



  • I think @blakeyrat is violating his own principles.
    Isn't it the communicator's responsibility to make things understandable, according to one of his laws?


  • Discourse touched me in a no-no place

    @accalia said:

    Nothing happened which is (bad) but expected behavior because there was no changes on the undo buffer because i had not typed something in. the content was placed by JS.

    On another forum I use which runs vBulletin, even content placed by JS goes away when I press Ctrl+Z - that's expected behaviour for forum software IMO.


  • ♿ (Parody)

    @blakeyrat said:

    Oh. Oh... what's that? Could it be... could it be that... could it be that Blakeyrat's right? Again? Could it be that, maybe, just maybe, Blakeyrat verified that the thing he was posting was correct before posting it?

    I never doubted that you were reporting a lie. But you also didn't say which browser you were using. Blakeyrat communicating poorly?

    What a shocker.

    @blakeyrat said:

    is not sufficient to test it.

    But it's sufficient to disprove your hyperbole. Which got you to actually communicate.



  • @loopback0 said:

    On another forum I use which runs vBulletin, even content placed by JS goes away when I press Ctrl+Z - that's expected behaviour for forum software IMO.

    Right; that's my experience as well, and I agree entirely.

    However, I also acknowledge I haven't used vBulletin or Community Server in a couple months, so I concede it's possible that the breakage is in Chrome and not in Discourse. (But I can confirm it did not work in Discourse when it did work in Community Server a few months back.)

    @boomzilla said:

    I never doubted that you were reporting a lie. But you also didn't say which browser you were using. Blakeyrat communicating poorly?

    You're the one who changed my statement to "completely broken".

    I wasn't communicating clearly and giving technical details because it wasn't a bug report. I was just informing Jaloopa that Undo has never worked on Discourse. So he doesn't waste his time chasing down something unrelated to the quote ordering. (In other words, I was attempting to be helpful. God forbid.)

    So while I'll happily admit that my sentence there wasn't a very good bug report, you also have to realize it wasn't intended to be a bug report at all.

    And that certainly doesn't excuse you putting the word "completely" in my mouth when repeating it back to me.

    If you got a different "impression", well, there's nothing I can do about your "impressions". That's all in your brain, not mine.

    @boomzilla said:

    But it's sufficient to disprove your hyperbole. Which got you to actually communicate.

    Congratulations. You "tricked" me into making a bug report? Kind of? In a horribly circuitous way?

    I guess it never occurred to you to just ask me to make a bug report, huh?


  • Discourse touched me in a no-no place

    @blakeyrat said:

    haven't used vBulletin or Community Server in a couple months, so I concede it's possible that the breakage is in Chrome and not in Discourse.

    I have only checked against one other using vBulletin, but it works there now.


  • ♿ (Parody)

    @blakeyrat said:

    I wasn't communicating clearly and giving technical details because it wasn't a bug report.

    Well, I wasn't doing formal QA either.

    @blakeyrat said:

    You're the one who changed my statement to "completely broken".
    ...
    I was just informing Jaloopa that Undo has never worked on Discourse.

    Huh?

    @blakeyrat said:

    ...you also have to realize it wasn't intended to be a bug report at all.

    Duh. It was offered in the same apparent spirit as your comment.

    @blakeyrat said:

    Congratulations. You "tricked" me into making a bug report? Kind of? In a horribly circuitous way?

    Well, I thought we were all trying out undo stuff and seeing what was broken and what wasn't until you started ranting at people for trying to undo things.

    @blakeyrat said:

    I guess it never occurred to you to just ask me to make a bug report, huh?

    No, not really. The "bug report" thing was, like I said above, just some snark for snark style tête-à-tête. Honestly, if i really wanted you to make a bug report on Discourse, I figure I'd probably have to trick you, given your diatribes about lining Jeff's pockets.



  • @boomzilla said:

    Huh?

    Goddamned. Scroll up to my post. Look at what it's replying to.

    @boomzilla said:

    Well, I thought we were all trying out undo stuff and seeing what was broken and what wasn't until you started ranting at people for trying to undo things.

    I seem to recall it was people trying the absolute simplest case, then declaring it worked completely perfectly forever without even bothering to try more complex cases. You know, you didn't have time to actually think about how to test it, you gotta be quick so you get on the top of the "Blakey's wrong!" dogpile.

    I don't recall ever ranting at people for trying to undo things. I have no idea what you're referring to there. I like undo. I think its one of the best features of computers developed to-date. I wish more things had undo, like CLI environments (as we've talked about many times.) I wish things in real life had undo. I can't even imagine why you'd think I'd rant at people for wanting undo.

    @boomzilla said:

    Honestly, if i really wanted you to make a bug report on Discourse, I figure I'd probably have to trick you, given your diatribes about lining Jeff's pockets.

    Yeah, welll, I'll post bugs if they're things like, "am I crazy or is X really happening?" I won't report bugs like Undo is broken because:

    1. the diatribe stuff, which is 100% solid logical reasoning you can not dispute, and

    2. those bugs are fucking obvious to anybody with at least one working eyeball-- the reason they don't get fixed isn't because the bugs are hard to find, it's because the Discourse developers don't give a shit.


  • ♿ (Parody)

    @blakeyrat said:

    I seem to recall it was people trying the absolute simplest case, then declaring it worked completely perfectly forever without even bothering to try more complex cases.

    Goddamned. Scroll up to those posts.

    @blakeyrat said:

    I don't recall ever ranting at people for trying to undo things. I have no idea what you're referring to there.

    I should know better than to expect you to remember what you said:

    @blakeyrat said:

    WTF? I hope none of you people work in QA, because you're lousy at it.



  • @boomzilla said:

    I should know better than to expect you to remember what you said:

    Right, because you tried only the simplest test-case and decl--

    Why are we repeating the conversation, again?

    And what the fuck does your quote of me have to do with:

    Well, I thought we were all trying out undo stuff and seeing what was broken and what wasn't until you started ranting at people for trying to undo things.

    If there's some link between the two things, you're gonna have to spell it out for me.


  • ♿ (Parody)

    @blakeyrat said:

    Why are we repeating the conversation, again?

    For some reason I keep trying to communicate with you.

    @blakeyrat said:

    If there's some link between the two things, you're gonna have to spell it out for me.

    @blakeyrat doesn't play well with others on TDWTF. That's about as succinct as I can make it, I think.


  • FoxDev

    @boomzilla said:

    @blakeyrat doesn't play well with others on TDWTF.

    This post was based on information that has been proven false. please disregard and carry on.
    if things are as he says and this is RL blakey we see you can probably leave off the last two words without losing accuracy.


  • FoxDev

    by the by, congratz on your promotion to moderator!



  • Well, this community isn't exactly cooperative towards him at times, so things not really working isn't exactly something unexpected.

    Although, Blakey's level of cooperation isn't all that high, either.


  • ♿ (Parody)

    Thanks. 😄

    @accalia said:

    if things are as he says and this is RL blakey we see you can probably leave off the last two words without losing accuracy.

    I don't think he is. I mean, it's cool to act differently online and blow off steam and stuff. But he's always shocked that people call him on his shit.



  • Should we call him "modzilla" now?


  • FoxDev

    @boomzilla said:

    I don't think he is. I mean, it's cool to act differently online and blow off steam and stuff. But he's always shocked that people call him on his shit.

    fair enough, and my observations mirror yours so that's all good.

    however Blakey has said, and fairly recently, that what we see here is IRL blakey.

    My apologies, I was incorrect about this. I have been corrected about this, see following comments, and have since corrected my statement here.

    and I always take people at their word online (trusting them is a different matter) because that's what I would want people to do to me.


  • FoxDev

    @aliceif said:

    Should we call him "modzilla" now?

    if we do one of us is going to have to get him a literal banhammer.



  • @accalia said:

    if things are as he says and this is RL blakey we see

    That is the opposite of correct.

    @aliceif said:

    Well, this community isn't exactly cooperative towards him at times, so things not really working isn't exactly something unexpected.

    The community is nothing but jackals and vultures, waiting to pounce on every fucking thing I type. Whether or not I act polite. So I've stopped giving a shit.

    @boomzilla said:

    But he's always shocked that people call him on his shit.

    I genuinely do not understand what shit I'm being called on. I'm sure you won't believe me, but honestly: I don't. As far as I can tell, that statement you made about me ranting is a complete non sequitur that has nothing to do with anything else in this thread.

    Honest.

    In fact, I'm sure you don't believe me, but every time I say I don't understand something, it's because I genuinely do not understand it. I don't have whatever little shoulder aliens from Jupiter rides around with you guys and whispers "implications" and "impressions" in your ears, that you apparently rely on to communicate with each other. My brain is not like yours.

    @accalia said:

    however Blakey has said, and fairly recently, that what we see here is IRL blakey.

    That is the opposite of correct.

    Where the fuck does this come from? See what I mean about shoulder aliens? I've posted the exact opposite of that statement like 10 times on this new forum alone. What the fuck do I have to type before it sinks in? Is it reverse psychology? Is that the secret?

    And the worst part is, Accalia somehow got this weird wrongness inserted into the brain, and now people are going to read her posts and just assume she's correct without bothering to actually check with me first. And that just fills my life with even more shit I have to wade through forever.



  • @Jaloopa said:

    I'm pretty sure the standard behaviour of [anything] in a browser, or Notepad, or any other base level text widget gets this right.

    Discourse in a nutshell.


  • ♿ (Parody)

    @blakeyrat said:

    In fact, I'm sure you don't believe me, but every time I say I don't understand something, it's because I genuinely do not understand it.

    No, I do believe you. I probably didn't at first, but that was long ago.

    @blakeyrat said:

    I genuinely do not understand what shit I'm being called on.

    You brought up the undo thing, which people tried with apparently different results and so you went on the attack (i.e., "you guys suck at QA", etc), instead of clarifying, as you later did.


  • FoxDev

    @blakeyrat said:

    That is the opposite of correct.

    I see, I apologize for my misunderstanding and have edited my previous statements to contain corrected information. Please let me know if i have missed any and i will correct them as well.



  • @accalia said:

    I see, I apologize for my misunderstanding and have edited my previous statements to contain corrected information.

    What I really want to know is how your eyeballs can read a sentence like, "Blakeyrat is a goofy wacky internet persona ha ha" and somehow end up with, "BLAKEYRAT IS A REAL GENUINE PERSON IN REALITY!" in your brain somehow.

    Because that shit's flabbergasting. Flabbergasting!



  • @boomzilla said:

    You brought up the undo thing, which people tried with apparently different results and so you went on the attack (i.e., "you guys suck at QA", etc), instead of clarifying, as you later did.

    Riiight?

    And what does that have to do with me "ranting at people for trying to undo stuff?"

    I think I'm starting to fit the pieces together here though. Did you actually mean to say, "ranting at people for trying to test undo on Discourse?" Because that way it makes sense.

    But what you actually typed is a complete non sequitur.


Log in to reply