6

Why can't I delete my comment on my own post? I answered a question and the concerned commented a query, on my answer. I was writing a comment in return and by mistake, I pressed Enter and comment got posted midway. I cannot delete it and it's awkwardly hung in there. There are no options, not even edit near the comment. At the end I had to edit my original answer instead of making comments. Click here to see a screen recording Here's a screenshot.

24
  • Were you login when you tried? It's an light grey times (x) at the end of the comment right side of edit link. Anyway i think this question is for meta
    – Miguel
    Commented Dec 14, 2016 at 13:31
  • Yea I was, and the delete option comes on my comments on other posts, but not in this specific post. And by meta you mean, I should post there?
    – Anu
    Commented Dec 14, 2016 at 13:33
  • @StephenLeppik following is the link. stackoverflow.com/questions/41129568/return-a-string-in-java/…
    – Anu
    Commented Dec 14, 2016 at 13:56
  • 4
    You are aware that you need to hover your mouse over the comment for the options to pop up…?
    – deceze Mod
    Commented Dec 14, 2016 at 14:04
  • 2
    @deceze Yes sir. I added a link to view screen recording to help the case further :)
    – Anu
    Commented Dec 14, 2016 at 14:31
  • 1
    Can you inspect the HTML to see if it has a <a class="comment-delete node?
    – user247702
    Commented Dec 14, 2016 at 14:45
  • @Stijn On checking the source code I didn't find any class="comment-delete" node.
    – Anu
    Commented Dec 14, 2016 at 15:10
  • 1
    Could be a permission bug then, perhaps an incorrect reputation requirement for deleting comments.
    – user247702
    Commented Dec 14, 2016 at 15:14
  • @Stijn they don't have the Comment Everywhere privilege, so they can't delete the comments that they've posted? Doesn't make much sense tbh
    – Nissa
    Commented Dec 14, 2016 at 15:19
  • @StephenLeppik That's why I said it could be a bug. It wouldn't be the first bug regarding that specific privilege, IIRC. We'll have to wait for a dev to look at it now.
    – user247702
    Commented Dec 14, 2016 at 15:21
  • Could be that you were logged out at the time?
    – Oded StaffMod
    Commented Dec 14, 2016 at 18:01
  • @Oded OP was logged in in the recording, since they had the option to delete their answer.
    – Laurel
    Commented Dec 14, 2016 at 19:39
  • Then I'd suspect some JavaScript/CSS not loading correctly. Did you check the dev tools console?
    – Oded StaffMod
    Commented Dec 14, 2016 at 19:44
  • 1
    Well, found the bug. Rather subtle. Something changed a couple of months ago.
    – Oded StaffMod
    Commented Dec 15, 2016 at 14:07
  • 2
    The ownership of post check was messed up - I expect that on questions and answers on your questions it was right, but specifically for answers on someone else posts it was returning the wrong thing.
    – Oded StaffMod
    Commented Dec 15, 2016 at 15:31

1 Answer 1

7

There was an issue with the test for users who do not have the comment everywhere privilege - specifically for those who were answering someone else question. The check gave an incorrect result when checking for post ownership.

I have updated the check to give the correct result - this is being deployed now.

1
  • 1
    I'm able to delete that comment now :)
    – Anu
    Commented Dec 15, 2016 at 17:35

You must log in to answer this question.

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