Tagged bookmarks getting resurrected after deletion

Hi,

once again congrats on the new tags functionality. Awesome stuff!

That said, I found a bug where tagged bookmarks get resurrected after being deleted.

Steps to reproduce:

  • hook two items
  • add a tag to both
  • delete both in Hookmark via “All Bookmarks” window
  • reopen bookmark window and perform any search
  • clear entry field

Result:

  • Both bookmarks reappear in the “All Bookmarks” list.
  • Both still have the tags that were added.
  • They are no longer hooked to each other

As a side note:
I’ve found that in general after adding new hooks, they don’t show immediately in the bookmarks window. Seems the list only gets refreshed after doing a search.