ElkArte Community

Elk Development => Bug Reports => Topic started by: kode54 on October 28, 2017, 11:39:47 pm

Title: [1.0.10] Some topics never manage to be marked as read
Post by: kode54 on October 28, 2017, 11:39:47 pm
Random topics on our forum will fail to be marked as read in my user account, regardless of if I open them or not. The only way to mark them as read is to click the "Mark these messages as read" button on the topic listing page, until the next time someone posts in one of these topics. Is this a known bug in the 1.0.x line?
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on October 29, 2017, 01:13:57 am
Can confirm this in 1.1 on php7 as well.
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: emanuele on October 29, 2017, 07:06:58 am
Random behaviours are very seldom truly random.
There is for sure some common pattern, unfortunately, the only one that can find it it's you that is reporting the issue.

First of all try to identify these topics and see what they may have in common, then if you don't see anything, try posting some example topics here and the exact procedure you are following (I know it sounds dumb, but describe exactly what you do makes a lot of difference in triaging and debugging. ;)
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on October 29, 2017, 09:22:19 am
Not sure what commonality exists. There are two topics that do this anytime there is a new post by any member.  I can post links if ya like.
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on October 29, 2017, 02:51:34 pm
Found it. This behavior exists if you Unwatch a topic.   ;)
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: emanuele on October 29, 2017, 05:56:03 pm
ohh... now that's a good catch!
Will look into it.
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: emanuele on November 15, 2017, 03:52:49 pm
hmm...
I tried:
1) user 1 clicks "unwatch" on a topic,
2) user 2 posts a new message in the topic,
3) user 1 visits that topic,
For me is marked as read.

Can you describe exactly how to reproduce the issue, please?
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on November 15, 2017, 06:10:24 pm
Huh. Sorry eman, that's all I have at the moment. I'll try moar troubleshooting and get back.
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on November 15, 2017, 09:07:44 pm
Following the process you described triggers the behavior. Can't find what's different. :-X
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: live627 on November 15, 2017, 09:57:46 pm
@emanuele 1.0 or 1.1?
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on November 15, 2017, 10:27:37 pm
Theme has no effect. Caching (apcu on php7) disabled and cleared does not matter. Membergroup isn't the problem. Ideas to try?
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: emanuele on November 16, 2017, 02:55:01 am
@live627 I tried both.

@badmonkey hmm... at the moment not much.
Do you have notifications on?
Events?
Pinned?
Addons installed?
Can you send me a couple of examples? (Or post them here.)
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on November 16, 2017, 07:05:12 am
Notifications yes, events no, pinned no.

Addons;
Attachment image resize
Bookmarks
Giggle Member map
Simple Ads

For examples, do you want pix or links?

This happens on both of my larger boards. Both use the same setup and addons. Haven't tested on the smaller ones.
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: emanuele on November 16, 2017, 02:31:48 pm
Links would be better.
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on November 16, 2017, 03:39:39 pm


Here is one

http://www.jeep-owner.com/index.php?topic=2817.0


Here is another.

http://bbs.zuwharrie.com/content?topic=135213.0


Those are topics where it happens to me, and are Unwatched by me.   ;)
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: emanuele on November 20, 2017, 12:17:31 pm
Are you by chance using post approval?
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on November 21, 2017, 11:51:04 am
Quote from: emanuele – Are you by chance using post approval?


No.  But.....I Unwatched this topic, and never saw your reply as a new one..... ;)
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: emanuele on November 21, 2017, 12:32:43 pm
LOL

/me goes back thinking
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on December 05, 2017, 08:16:02 pm
Don't know if this matters. This happens going to Recent Unread Topics.  Have no idea if it happens navigating other ways.  Just grasping at straws here. :(
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on December 08, 2017, 11:18:21 am
Something else to note here. Going to action=unread;all Clicking the New button always takes you to the first post after the Unwatch button was clicked.  That may be several pages from the actual last post. It's as if the timestamp is never updated....
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on May 08, 2018, 04:58:27 pm
Could this be related to Mariadb 10.2 in any way? 
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: ahrasis on May 08, 2018, 08:27:51 pm
I don't think MariaDB 10.2 is the fault.
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: badmonkey on May 08, 2018, 11:13:56 pm
Quote from: ahrasis – I don't think MariaDB 10.2 is the fault.

Sure wouldn't think so. Still trying to find anything "different". Troubleshooting is the hard part!   :D
Title: Re: [1.0.10] Some topics never manage to be marked as read
Post by: ahrasis on May 09, 2018, 11:12:27 am
Agree. :D