In a bug report titled ‘Wrong number of topics in categories in the hamburger-menu,’ users discuss inconsistencies in how topic counts are displayed in Discourse’s hamburger menu versus the dropdown category selector. Pad_Pors initially notes that category topic counts don’t reflect the sum of subcategory topics, especially after moving topics into subcategories — even showing negative numbers. Canapin confirms the confusion, sharing examples where a category appears empty (0 topics) but contains subcategories with content. sam clarifies that the hamburger menu displays new/unread topic counts, not total topics — explaining the discrepancy. Pad_Pors raises concern for anonymous users, noting misleading counts (e.g., 21 topics shown for ‘howto’ while subcategories contain many more). sam agrees this is confusing for logged-out users and suggests counting subcategories in that context. A fix is implemented in commit d9a9682sam. Later, Pad_Pors notices logged-in users see different numbers in the hamburger vs dropdown — sam and codinghorror clarify: hamburger = unread/new, dropdown = total topics — by design. sam confirms the behavior is intentional. Finally, sam highlights improvements for anonymous users, where category counts now better reflect scale by including subcategories, making the UI more intuitive.
the strange minus topic number happened at some time point where we added some sub-categories to the category and moved all topics from the main category to its’ subsequent sub-category.
This is not the case on the other category selector either.
Though I can’t find anything from the search I’m pretty sure this has been discussed a few times (or more) and it would have been changed if they had no good reason to keep it this way.
That said I don’t really like this either as it can be somewhat confusing.
For example, I have an archive category which has 0 message:
This is confusing because it tells me at first glance that there is nothing to see in it. But it’s wrong!
If we click it anyway, we can notice that it is not empty and has some subcategories with messages: