Clicking Discourse Icon no longer reloads when category page is the default

AI-generated summary

Users reported that clicking the Discourse logo no longer reloads the homepage when the category page is set as the default landing page. Jose_C_Gomez first noticed the issue and confirmed it occurs only on direct visits to the homepage, not after navigating elsewhere first Jose_C_Gomez. pmusaraj confirmed it’s not intentional and noted the bug appears only when /categories is the homepage. supermathie and jomaxro reproduced the issue without console errors. A fix was initially merged pmusaraj but later reverted due to failing JS tests jomaxro. A new, stable fix has since been merged pmusaraj, and users are encouraged to verify if the issue is resolved.

Click the discourse Icon on our forum no longer reloads the screen (on the home page) is this on purpose?

No, that’s not on purpose. Do you have any errors in the console? You can also post the URL to your site if you can.

URL: https://e10help.com

No errors in the console, just some warnings

Console:

For me, I notice that if I navigate to another page then the button works as expected.

It only doesn’t work when landing directly on the homepage.

2 likes

Correct, but it used to (and it does in this site)

This seems to be happening only when /categories is set as the landing page. And interestingly, if I click on Latest on your site and then click on the logo, it refreshes the frontpage correctly.

Wow that is very interesting.. I wonder what’s causing that.

Yep, I can repro this on try, when categories are set as the homepage, and I land on the homepage directly. No browser console errors.

Recategorizing this topic to Contribute > Bug.

4 likes

Should be fixed via FIX: refresh topic list on logo click · discourse/discourse@0377768 · GitHub

4 likes

Fix was temporarily reverted, JS tests are failing. We’ll reply again once the fix is back in.

4 likes

A new fix has now been merged. @Jose_C_Gomez let me know if that doesn’t fix the issue on your end.

4 likes