To: The Ox who wrote (1961 ) 6/21/2013 11:04:20 PM From: SI Dmitry (code monkey) 5 RecommendationsRecommended By Eric L Moonray SmoothSail Stock Puppy The Ox
Read Replies (3) | Respond to of 7352 Dear Ox,Another question, possible similar minor issue. As you know, I just posted a message to this thread (and you responded very promptly...thank you!). Background After I posted my message and before you responded, this thread was not listed in my Subjects with new messages list. As I was reading this website, I saw in header that I had Mail, which was your new message to me. After I clicked on the mail link and read your message, I then clicked on the Subjectmarks link from the bar on the bottom of the page (that doesn't have the dropdown box). This Subjectmark is listed as having one new message (yours) in the updated Subjects with new messages list. Seems to me that this thread shouldn't show up in my Subjects with new messages list until another message is posted to the thread after yours, since I just read it. Again, curious what you think? The short answer : This issue should now be resolved. The long answer: An analysis of the code revealed a great deal to me. There is nearly two decades of code and SQL from many different people that have worked on SI over the years in place; going through it and understanding it is not an easy task. There was an undesired behavior in the code such that when one posts a message to a board one has SubjectMarked, it causes one's SubjectMark (new message count) for that board to increase by one, even if it were zero to begin with. Rather than fix this behavior, someone had put a hack in place around it: When one goes to read the last message on a board (as is automatically the case after you post a message or reply), if that last message was from you, your SubjectMark for that board was automatically reset. The new heads-up SubjectMark display illuminates (illuminated) this hack, because it is only after the navigation menu and message is displayed that the SubjectMark reset would occur, and at that time, you are already looking at a menu telling you that you have a new SubjectMark. This reset implementation also has (had) other problems; for example, if you reply publicly to a message in your inbox that comes from a board you have SubjectMarked, you will lose your SubjectMark position for that board. You would only discover this later if you clicked the SubjectMarks icon that used to be on the main screen and paid attention to your full Subjectmark list. The new fix I have put in place now, is that when one goes to post a message to a board, one's SubjectMark (new message count) for the board is updated only if one's new message count was non-zero to begin with. Along with this fix, the previous apparent hack was removed. Lets hope I have not introduced new errors with this fix to an old problem. It wouldn't be the first time. :) Too much information? Regards, @Dima