Tag with Spaces Not Properly Recognized When Creating a New Note

Operation system: Windows 11

Web Browser: Chrome Version 132.0.6834.160


Bug report

Steps to Reproduce:

  1. Select a tag with spaces in its name in the sidebar.
  2. Create a new note using the new note button.

Feature Used: Create New Note

Observed Behavior:
The tag is added to the note, but the last hash character is missing, causing it to not be properly recognized as a valid tag.

Expected Behavior:
When a tag name contains spaces, the hash character at the end should be added correctly to ensure the tag is recognized.

A duplicate tag has also appeared in the sidebar. It remains visible even after refreshing, logging out and back in, or clearing the local cache. However, the duplicate does not appear in the native app version.

Hi, thanks for the bug report.

You’re absolutely right, and it’s easy to replicate. I added it to the list and will fix asap.

A duplicate tag has also appeared in the sidebar. It remains visible even after refreshing, logging out and back in, or clearing the local cache. However, the duplicate does not appear in the native app version.

I think this behaviour is related to tag case

1 Like

The issue with tags (with spaces) appearing “truncated” when creating a new note should be solved now on web.bear.app
The web app is now also doing a better job at avoiding duplicate tags, but it is not yet correcting those that already exist.

1 Like

The web app is now also doing a better job at avoiding duplicate tags, but it is not yet correcting those that already exist.

Hi bru, any updates or workarounds for fixing duplicate tags that were created before this bug was fixed? I have a few, and it’s a bit frustrating to guess where the notes are actually located.

Probably not what you want to hear, but the quickest way to fix it is by making sure all affected notes have the tag you want to keep (I think removing and readding the tag should do the trick), and then use the native Bear app to delete the duplicates. You make me wonder if it would make sense to have some utilities like this available in Bear Web during the beta testing… we’ll think about it.

Still better than having to deal with duplicates! :smile: By the way, I managed to resolve the top-level duplicates, but I’m still experiencing issues with nested tag duplicates. The notes don’t appear under either of the duplicate tags in the sidebar, even though I can find them via global search. Both tags are present in search results and the note is shown two times in the results list.

Another odd behavior I noticed is that when I create notes in the web interface, depending on the selected tag, the case of some tags in the native app changes from uppercase to lowercase.

I can share a video in DM if it helps.