229

I'd just posted a comment that read:

Huh? json.dumps converts the dict back to a (JSON-encoded) string. That's not what the OP wanted to do.

I tried to edit it to read:

-1; huh? json.dumps converts the dict back to a (JSON-encoded) string. That's not what the OP wanted to do.

and got the red popup saying:

Comments cannot contain that content.

Don't comment on your downvote. If you think this post can be improved, please offer specific guidance. See: The Comment Privilege.

Okay, whatever. But then I clicked "cancel" on my comment edit (without dismissing the red box), then clicked "edit" again (before the moment at which the red box would otherwise have faded away), and suddenly the red error box was blocking the comment box.

Upon dismissing the red box, suddenly I had this nonsense written in the text field beneath:

Huh? json.dumps converts the dict back to a (JSON-encoded) string. That's not what the OP wanted to do. -1.×Comments cannot contain that content.Don't comment on your downvote. If you think this post can be improved, please offer specific guidance. See: The Comment Privilege.×Comments cannot contain that content.Don't comment on your downvote. If you think this post can be improved, please offer specific guidance. See: The Comment Privilege.×Comments cannot contain that content.Don't comment on your downvote. If you think this post can be improved, please offer specific guidance. See: The Comment Privilege.

I can reproduce this on other comments. Seems to be a very odd bug.

Here's a gif showing the WTFery in action. For the avoidance of any doubt, I don't paste anything here and the only keypresses I perform are typing "test test test test", pressing Enter to initially submit the comment, and typing "-1 ".

enter image description here

27
  • 16
    @BhargavRao I've added a gif. Works for me in Chrome on Ubuntu and Windows.
    – Mark Amery
    Commented Jan 16, 2016 at 15:52
  • 1
    I can confirm this is happening on Windows 10 pro x64 Chrome Version 47.0.2526.111 m Commented Jan 16, 2016 at 15:56
  • 48
    +3/-3 for a perfectly legitimate bug report. We're assuming way too much, guys. Commented Jan 16, 2016 at 15:57
  • 7
    @FrédéricHamidi a slightly poor show from the downvoters, but it's a sufficiently bizarre bug that it's not that surprising that many of the initial viewers misunderstood WTF I was trying to describe. The gif should ward off further confusion (besides the confusion I'm experiencing about how the heck a bug like this could happen in the first place).
    – Mark Amery
    Commented Jan 16, 2016 at 15:58
  • 1
    Ok, perfect. Reproduced on Chrome Ubu 15.04 Commented Jan 16, 2016 at 16:09
  • 5
    Similar bug on meta.SE.
    – resueman
    Commented Jan 16, 2016 at 16:43
  • 2
    Ooh. Yummy. Bugs. And Downvotes? Sounds like a feast :P
    – Zizouz212
    Commented Jan 17, 2016 at 1:52
  • 2
    Confirmed on Chrome with the 5 second comment edit error I got this when I edited again: test test test test×You may only edit a comment every 5 seconds.×You may only edit a comment every 5 seconds.×You may only edit a comment every 5 seconds. Commented Jan 18, 2016 at 2:05
  • 68
    How I wish all testers report bugs like this :)
    – Keale
    Commented Jan 18, 2016 at 4:02
  • 2
    @TylerH also reproduced on Firefox 43.0.4
    – cat
    Commented Jan 18, 2016 at 6:28
  • 32
    Very very nice bugreport. Nicest one i've ever seen. IF customers did it that way the world would be such a beautiful place. Commented Jan 18, 2016 at 12:53
  • 6
    How would the code for a tooltip even be able to make this happen accidentally? I'm legit curious.
    – SeinopSys
    Commented Jan 18, 2016 at 14:26
  • 6
    What program did you use to create/record the gif? Going to send it to our QA...
    – Mark C.
    Commented Jan 18, 2016 at 21:35
  • 4
    I will link this to instruct people I work with on how to file a good bug report. Nice work @Mark Amery. I had this happen once myself, but I'm an horrible monster and didn't report it. Commented Jan 18, 2016 at 21:51
  • 9
    @MarkC.it's called ScreenToGif. I don't think there a version for any platform besides Windows, and it's the first time I've ever used it so I can't vouch for it, but it seems pretty nifty.
    – Mark Amery
    Commented Jan 18, 2016 at 22:14

1 Answer 1

10

Fix rolling out soon, see MSE for details.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .