Blitzkrieg icon indicating copy to clipboard operation
Blitzkrieg copied to clipboard

Some tags disappear when addon is enabled

Open RT94 opened this issue 4 years ago • 10 comments

Hi I am having an issue with the Blitzkrieg Beta 8. Some of my tags just randomly disappear. When I disable this addon and enable Hierarchical tags, they come back. I have attached some screenshots below to show you what I mean. I am using Anki 2.1.25. It was working when I was using Anki 2.1.22. Please let me know what I can do to solve this.

With Hierarchical Tags enabled image

With Blitzkrieg Beta 8 enabled image

Here are all my addons image

RT94 avatar May 05 '20 18:05 RT94

Thanks, looks like the changes made to search in 2.1.24 that does not allow * tobe added after ".

lovac42 avatar May 06 '20 23:05 lovac42

Ok is this something I can fix on my end or would I need to wait for an update?

RT94 avatar May 07 '20 06:05 RT94

I don't know how comfortable you are with python. It's as simple as extracting a tooth without a dentist, door + string. Or you could end up making a bloody mess of things.

lovac42 avatar May 07 '20 19:05 lovac42

To be completely honest, I have never used it before haha. If it really is something that can mess things up I can wait for an update. Do you have a timeline when it will be available?

RT94 avatar May 08 '20 00:05 RT94

No idea. The purpose of adopting a 6 month development cycle was not to have to deal with the constant changes. I'll see if anyone wants to make a PR.

lovac42 avatar May 08 '20 05:05 lovac42

I've looked at this problem (from a non-developer point of view as well, unfortunately) and it also appears to be an issue with using parentheses in tags. If I edit in or out parentheses, the tags' visibility in the browser changes. Just wanted to add this to the conversation in case it wasn't known and is helpful. It also seems to be an issue if there are parentheses anywhere in the entire tag, not just the last characters like in the images below. Something about parentheses causes Blitzkrieg to put the tag in quotes and, like @lovac42 said, "* in the search bar seems to cause problems.

Screen Shot 2020-05-08 at 8 52 05 AM Screen Shot 2020-05-08 at 8 52 26 AM

amazeum avatar May 08 '20 14:05 amazeum

Wow that's odd. It used to work in previous Anki versions. I wonder if it's something that's possible to fix in the files using the notepad in windows to open and edit the add-on files

RT94 avatar May 08 '20 20:05 RT94

No idea. The purpose of adopting a 6 month development cycle was not to have to deal with the constant changes. I'll see if anyone wants to make a PR.

Hey man any update on a fix for this?

RT94 avatar May 18 '20 03:05 RT94

@RT94: https://github.com/lovac42/Blitzkrieg/releases/download/v0.4.0/blitzkrieg_v0.4.0_Anki21.ankiaddon

Good news, Damien has expressed interests in adding these features into anki in future versions. So I may be able to get out of maintaining this.

lovac42 avatar Jun 03 '20 08:06 lovac42

Sounds good man. Works perfectly now. Thanks for the fix!

Good news, Damien has expressed interests in adding these features into anki in future versions. So I may be able to get out of maintaining this.

That's awesome! Did he post this somewhere?

RT94 avatar Jun 03 '20 20:06 RT94