26

I am not sure if this ever happened to me in the old nav. But in the new nav, this is randomly coming without the summary divs of the questions.

I was able to grab a screen of that behavior.

enter image description here

I was able to reproduce this bug randomly. I couldn't observe any specific pattern when this was happening.

Once the summary stops coming, the same happens for the following new questions from live refresh.

Browser: Firefox 38.0.5, OS Windows 10 Pro

EDIT: Here's the code that comes up. The problem looks like the question-summary narrow starts loading randomly. Still not able to get a specific pattern.

<div id="qlist-wrapper">
<div id="question-mini-list">
<div class="new-post-activity">10 new questions</div>
<div id="question-summary-33390272" class="question-summary narrow " style="display: block;">
<div id="question-summary-33390265" class="question-summary narrow " style="display: block;">
<div id="question-summary-33390258" class="question-summary narrow " style="display: block;">
<div id="question-summary-33390201" class="question-summary">
<div id="question-summary-33390198" class="question-summary">
<div id="question-summary-33390197" class="question-summary">
<div id="question-summary-33390192" class="question-summary">
<div id="question-summary-33390180" class="question-summary">

UPDATE: This is still happening on Firefox and Chrome. Not sure if this matters but this seems to happen every time I keep the tab open for a while. The number of questions to be loaded doesn't matter.

13
  • 4
    Save the page next time so someone can check if HTML, CSS, Firefox or something else screwed up.
    – nwp
    Oct 28, 2015 at 8:12
  • 2
    @nwp Thank you. See my edit. The source code doesn't get updated as the new questions are coming through ajax I think. However I got the inspected code.
    – Dipen Shah
    Oct 28, 2015 at 11:59
  • 1
    @DipenShah it does, but only if viewed through your browser's developer tools. The normal view-source thing won't show the changes made by JS.
    – rstat1
    Oct 29, 2015 at 1:21
  • 1
    @rstat1 which is what I am calling inspected code?! (Which is what the edit is about). Generally I right click and select inspect code to open the developer tools and hence the name inspected code.
    – Dipen Shah
    Oct 29, 2015 at 3:13
  • Same on chrome 46.0.2490.71 m, but 100% reproducible, I have it each time I click the 'X new questions'
    – Tensibai
    Oct 29, 2015 at 10:28
  • This has been fixed for me on Chrome for the last 2 days. Try clearing your cache or whatever
    – Sammaye
    Oct 29, 2015 at 12:09
  • @Sammaye Nope. Tried. still happens. Both on Firefox and Chrome.
    – Dipen Shah
    Oct 29, 2015 at 12:26
  • Hmm I thought it might be something to do with multiple tags but it doesn't happen for me even on php and mongodb combined
    – Sammaye
    Oct 29, 2015 at 13:28
  • These are the tags I am using where it gives me the bug.
    – Dipen Shah
    Oct 29, 2015 at 13:44
  • I have it on r, didn't notice on chef and there's not enough activity there to confirm
    – Tensibai
    Oct 29, 2015 at 14:13
  • 1
    Happens also on IE11. Randomly or, at least, not a recognizable pattern
    – Steve
    Oct 29, 2015 at 17:44
  • it would be super helpful to get the web socket traffic when anybody observes that (chrome dev tools \ network \ ws \ qa.sockets.stackexchange.com)
    – m0sa StaffMod
    Oct 30, 2015 at 20:24
  • @DipenShah misunderstanding on my part..sorry.
    – rstat1
    Nov 2, 2015 at 8:12

1 Answer 1

3

Turns out we weren't re-subscribing to the new real-time feed on any of the non-selected tabs when you changed your expanded/collapsed layout (which is a global-ish thing).

The repro steps are/were:

  • have at least 2 custom tabs with multiple tags (any + popular tags e.g. php, java, c# works best)
  • go to the second tab
  • toggle expanded/collapsed
  • go back to the first tab
  • wait for new posts

A fix is rolling out with the next build (build rev 2015.11.2.3807 on MSO, 2015.11.2.2924 on sites).

7
  • Would it be fair enough to mark this as status-completed (just pending roll out?) Nov 2, 2015 at 12:18
  • sure, was too busy rolling it out :)
    – m0sa StaffMod
    Nov 2, 2015 at 12:25
  • Sorry @m0sa this is still happening in my case on Firefox/Windows 10. I have tried clearing my cache and everything. Exact steps to reproduce in my case: I saved some tags as a new tab (which is locally saved in the browser I believe). I go to stackoverflow.com and don't navigate to the favorites tab that I created and let some questions accumulate. Once there are some questions to view, if I click on the tab then, this happens. Again this does not happen every time.
    – Dipen Shah
    Nov 3, 2015 at 16:54
  • @DipenShah do you even switch the layout manually at all when this happens?
    – m0sa StaffMod
    Nov 3, 2015 at 17:02
  • @m0sa Yes if I switch the layouts the bug goes away but it pops up randomly again. (I just tried again)
    – Dipen Shah
    Nov 3, 2015 at 17:06
  • OK the bug I fixed included switching tabs and was reproducable reliably.. So this is something else. Mind sharing your saved tabs? localStorage.newNav
    – m0sa StaffMod
    Nov 3, 2015 at 17:08
  • jsfiddle.net/dipenshah8/fgwent6m or direct URL stackoverflow.com/questions/tagged/… Try switching back and forth
    – Dipen Shah
    Nov 3, 2015 at 17:14

You must log in to answer this question.

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