28

When loading a question list or refreshing on a question list, changing pages or tabs in the list resets the page size to 15.

After having set the page size back and switching tabs/pages again the page size remains as set until you reload the page again.

All screenshots were taken on Meta, but the bug occurs on both Meta and Main.

Steps to reproduce:

  1. Open a new browser window/tab to Stack Overflow or Meta Stack Overflow.
  2. Make sure your page size is set to 50. If you have to change this setting, refresh the page before moving on to the next step.

enter image description here

  1. Switch to page 2 of the tab you are on or switch the new-nav tab you are on.
  2. Note that the page size switches back to 15.

enter image description here

  1. Set the page size back to 50, then switch pages or to a different tab and note the page size now remains at 50. Either of these options works, regardless of what you did in step 3.

Observed on Chrome Version 47.0.2526.106 m on Windows 7.

As a side note, this does not appear to be the case on manual page changes (manually altering the URL) and only happens when clicking the pagination links on the page.

This is also not the case if you middle click or right click > "Open in new tab" on the page selector itself. However, if you forget yourself and click on the page number in this new browser tab, resetting your page size to 15, the size change will affect your other tab(s).

8
  • 1
    Repro on Chrome 47.0.2526.80 m (64-bit) on Windows 8.1... Dec 18, 2015 at 17:17
  • Keeps on happening on Chrome 46.0.2490.86m Dec 25, 2015 at 3:31
  • Repro on Chrome 47.0.2526.106, Windows 7. Dec 26, 2015 at 2:46
  • I'm seeing this (or something so similar that it isn't worth trying a new question) on both Mac OS X 10.10.5 with Firefox 38.5.2 ESR (corporate standard requires this) and on Mac OS X 10.11 with Firefox 43.0.1. I noticed it before Christmas. It is irksome indeed. Dec 31, 2015 at 22:33
  • 1
    I see the same behavior on both Firefox & Chrome on Linux. While researching it (and before finding this post), I also noticed this weird behavior while switching to a higher limit while on the last page of the current limit. Jan 2, 2016 at 19:11
  • This is particularly annoying when a question has just gone off the first page list and I want to go look at it, and I know it's there... And then when I get to the second page I see questions 16-30 from page one instead. Jarring and gets in the way. It's made me specifically stop looking at questions past the first page, at least on Meta.
    – Kendra
    Jan 7, 2016 at 20:42
  • 2
    Still happening 11 Oct 2016 on Firefox Oct 12, 2016 at 5:05
  • 1
    Still happening 23 Nov 2016 on Firefox
    – Nkosi
    Nov 24, 2016 at 1:49

3 Answers 3

1

Going to call this since the issue is gone. We killed that flavor of nav, but learned a lot and are bringing the most popular features back from it. We'll make sure the paging issues don't repeat (they shouldn't...the approach is different this time).

1
  • Works for me. Thanks, Nick! Keep up the good work!
    – Kendra
    Jan 11, 2019 at 14:22
7

Can you please fix this?

In the minimized code: full.en.js?v=65f133f16fbe line 4539 (chrome "pretty print").

The page size is never set and will therefore be defaulted in setPaging:

function D(e) {
    for (var t, n = /(?:[&?])(page(?:size)?)=(\d+)/gi, i = {}; t = n.exec(e); )
        i[t[1].toLowerCase()] = +t[2];
    O.forEach(function(e) {
        e.setPaging(e.getVisible() ? i.page : 1, i.pagesize)
    })
}
-1

In a similar question New Nav Bug: Number of Items per Page Resets When Switching Tabs, it was mentioned to have been fixed in Dec. 15, but apparently, it hasn't been!

Maybe a commit-squash/merge gone faulty?

1
  • Two things to note: 1) I actually commented on that answer that it was fixed, then posted this the next day as a new bug because 2) it's a slightly different yet related bug. That bug, ever single time the tab was switched it reset the page size. On this one, I've only been able to reproduce it the first time I change the tab on a question list.
    – Kendra
    Jul 25, 2016 at 12:48

You must log in to answer this question.

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