Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Comment threads remain active even if all comments are deleted

Parent

Comment threads remain active even if all comments are deleted

+2
−0

Issue raised on GitHub


In this answer there's a "General comments" thread, but all the comments are deleted.

This is related to - but IMO not the same as - this other post, in which it's discussed if showing that some comments are deleted is useful or not. That discussion is focused on the case where there are still some comments in the thread, but in this specific case, all the comments are gone, and I'm really not sure if the thread should remain active.

Maybe if someone wants to add a comment related to the same subject (considering that the thread has a meaningful title), keeping the thread active would make sense.

On the other hand, why not remove the thread in this case? If someone wants to add anything, just create another thread. Not sure if keeping the thread active will bring any benefits.

I've just found another case. Didn't search for more, though.


As a side note, I've added a comment to that thread and it worked (I've deleted it, as it was only a test).

But now, in the answer it says that there are 3 comments:

3 comments

And in the thread page, it says there are 4:

4 comments

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

my understanding of the bug. (3 comments)
Post
+2
−0

This bug appears to be fixed, but it is not. The following works for me, but the original poster of the answer can still see the deleted thread.

How it seems to someone who didn't post the original question/answer

Note that newer threads disappear from view (at least for non-moderators) when the last comment is deleted.

As a test, I added a comment in the "General comments" section on the example answer mentioned. Deleting it resulted in the comment thread disappearing (after a page reload, as expected for comment threads, to avoid confusing the user).

So it appears this bug is fixed and any old empty threads can be removed by adding a comment and then deleting it. However, this only solves the problem for people other than the poster of the post (question/answer), who can still see the deleted thread.

How it seems to the poster of the original question/answer

As a test, I added a comment thread below one of my own questions. I then deleted the comments, leaving an empty thread. I refreshed the page and the empty thread disappeared as expected.

However, I now have a "Show more" button below my post that is not visible to anyone else:

The bottom of my question, showing a "Show more" button

Clicking on "Show more" reveals the empty comment thread that is hidden from everyone else:

The deleted thread showing highlighted red after clicking "Show more"

Clicking on the empty thread title expands the thread to show that I cannot see the deleted comment inside it:

The expanded deleted thread showing "skipping 1 deleted comment"

Clicking on "See the whole thread" opens the empty thread in a new page:

The comment thread in its own page, showing "You cannot reply to this thread because it has been deleted"

This informs me that I cannot add any more comments.

There seems to be no purpose to allowing me to see this empty thread that I cannot read the deleted comments of and cannot add new comments to, so this seems to be a bug.

I've raised an issue on GitHub.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Yes, the thread isn't active anymore, but I can still see it. At the bottom of the [example answer](h... (7 comments)
Yes, the thread isn't active anymore, but I can still see it. At the bottom of the [example answer](h...
hkotsubo‭ wrote over 1 year ago · edited over 1 year ago

Yes, the thread isn't active anymore, but I can still see it. At the bottom of the example answer, there's a "Show more" button. If I click it, it shows there's a deleted thread.

And note that it says "Skipping 5 deleted comments", and then "Showing 3 of 3 comments" (so the wrong counting isn't fixed yet).

And if I click "See the whole thread", we can see that the link is still valid, showing the deleted thread.

So now it's a different "bug", I guess? What's the point of showing a deleted thread if I can't read anything? I'm not a mod, so I don't see any value in this. If a thread is deleted, it doesn't need to be shown to regular users, IMO.

trichoplax‭ wrote over 1 year ago

Did you have that page open already? If I follow the first link in your comment I don't see a "Show more" button at the bottom of the answer. I just see "0 comment threads".

trichoplax‭ wrote over 1 year ago

I've just realised the difference - you are the poster of that answer. It looks like the empty thread is hidden from non-moderators, with the exception of you, who posted the answer.

trichoplax‭ wrote over 1 year ago · edited over 1 year ago

I've confirmed this by deleting a comment thread on a question post that I posted. I see the "Show more" button that you mentioned. This doesn't seem to serve any purpose, because I can't see the deleted comment even though I posted it. Definitely seems like a bug.

trichoplax‭ wrote over 1 year ago

I now understand the problem. I have edited to explain that this is still a bug, and raised an issue on GitHub.

hkotsubo‭ wrote over 1 year ago · edited over 1 year ago

trichoplax‭

Sorry for not replying before, I wasn't online. But I'm glad you figured all out.

I saw the GitHub issue, thanks for your help!

trichoplax‭ wrote over 1 year ago

No problem - replies don't need to be in real time :)