⌘F sometimes doesn’t put focus in the search field

  • Bear Version: 2.6.6
  • OS Version: macOS 15.6.1

Once in a while, pressing ⌘F within the note shows the top search bar, but doesn’t put the focus in the Search field, and loses it completely – typing doesn’t do anything. Sometimes you can briefly see the focus mounted properly, and then disappearing, so it might be some race condition.

When it happens, it looks like this:

This makes it hard to use ⌘F reliably and quickly.

Thanks for reporting this issue.
Any chance you can identify the conditions to replicate this behaviour? Is this happening for specific notes only?

Unfortunately, I don’t have a consistent repro. I do like ejecting individual notes as separate windows by double clicking on them first, and I often see ⌘F fail to focus in that context, but not sure if that’s related in any way.

I can confirm this is happening with me as well. I have several Keyboard Maestro macros that use ⌘F that have been randomly failing. This post helped me figure out this was the cause. It seems to happen randomly, so it’s difficult to reproduce. Maybe 20 percent of the time?

I think I found a repro.

  1. ⌘F for a word that exist in a note, say “tape.” Observe blue and yellow highlights as expected.
  2. Press Esc.
  3. Type in a new instance of the word “tape” somewhere in the note (for example above the first match), and put the text cursor ahead of it.
  4. Press ⌘F again.

Note no focus.

The hypothesis is that ⌘F by default wants to re-run the last query and continue where left off, but gets confused if a new match is available.

Not sure if that explains every time I saw it, but it’s possible fixing this would fix it all.

1 Like

Yes! That’s it. Thank you very much.