Random notes are missing from the tag sidebar or when I search Bear for the tag (i.e., #/journal/tagname), but do show up when I search for the text string without the # symbol (i.e., /journal/tagname).
The problem exists on all my devices: Mac, iPad and iPhone (all running the latest Bear version 2.2.0).
I discovered this when I couldn’t locate a note that I knew I had written. I started digging and discovered that I had missing notes in five different tags in my system (out of about 40 tags).
I thought my Bear database had become corrupted somehow. I decided to nuke and pave my system:
- Exported all my notes to a Markdown folder.
- Deleted all my notes. I emptied the trash.
- Synced the now blank database to the my other Mac, the two iPads and the iPhone, one device at a time.
- Restarted every device.
- Imported the Markdown folder and synced my devices, again one at a time.
After starting from scratch with a brand new notes database, the five tags with the missing notes were fixed. They properly showed all the notes in the sidebar and in tag searches. But now a different set of tags has missing notes in the sidebar and in searches — all this after a complete rebuild of my system.
As an illustration, I have 28 notes tagged with #journal/adventurelog in Bear, yet only four show up in the sidebar or in a search. A search through all my notes for journal/adventurelog (note the omitted hash tag symbol) retrieves all 28 notes.
Right now, three other tags in my newly rebuilt system have missing notes. The other 37 tags are perfectly fine. I compared the format and content of the tags in notes that show up vs. those that don’t. They’re identical. If I edit a missing note, it will show up in the sidebar and in searches. For whatever reason, Bear is choosing to simply the tag information from some notes — at random.
This is inexcusable behavior for a notes app, especially one that relies exclusively on tags. What makes this worse is that the problem is very difficult to detect — it’s hard to see what isn’t there, unless you somehow remember, which defeats the purpose in the first place.
Any ideas on why/how this happening?