Ctrl-f gave me a spinning wheel

AI-generated summary

A user reported that using Ctrl-F on a forum page resulted in a spinning wheel instead of a search bar, expecting to highlight text from a Google search snippet. IanKelling explained their workflow and confusion. codinghorror clarified that Ctrl-F triggers Discourse’s topic search on long threads (20+ replies), suggesting pressing it twice to override this behavior for short topics. However, DeanMarkTaylor and TechnoBear confirmed this workaround no longer functions in Chrome and Firefox following a recent header update. After codinghorror flagged the issue for immediate attention, eviltrout provided a GitHub commit link to address the bug.

I came to this forum from google, hit ctrl-f typed something, then I was very confused why my search bar did not show up on the bottom.

Just to add a bit more: I’m researching something technical, google search results have a sentence from the link: I click the link, I hit ctrl-f, type a word or two, I want the sentence highlighted so I can continue reading from the context google gave me.

Hmmm. I don’t understand why that might be happening.

I just tested in several of my browsers and in each case ctrl-f opened the browser’s native “find in page” search.

And the keyboard short-cut for forum search is a forward slash, not ctrl anything.

Can you provide exact repro steps please?

On topics with 20 to thousands of replies, search will trigger Discourse in topic search. If you wish to override this, press ctrl+f twice.

On short topics this isn’t necessary since the entire topic fits in the browser.

5 « J'aime »

This doesn’t work anymore in Chrome for me since the header change.

5 « J'aime »

I can confirm, @eviltrout can you fix that first thing Monday?

3 « J'aime »

I can confirm it also no longer works in Firefox.

2 « J'aime »

Sure, here we go:

https://github.com/discourse/discourse/commit/29b94b5ad3fff64961d3cf135f98b6edea34b5c1

10 « J'aime »