Shirajuki / anki-redesign

Anki redesign - a new lightweight look for Anki
https://ankiweb.net/shared/info/308574457
64 stars 4 forks source link

Visual glitch (running 2.1.49) #38

Closed Hovvdy closed 2 years ago

Hovvdy commented 2 years ago

RedesignGlitch

I have a glitch that I can replicate by either pressing "F" to create a filtered deck or whenever I click "Anki-redesign" in the toolbar. A small square takes up the top left corner of the screen and will not remove itself unless I restart Anki.

Shirajuki commented 2 years ago

Hello! This is actually quite strange, version 2.1.49 of Anki is my main version for testing and this same problem has never occurred to me. Would you mind sending me a list of all your enabled add-ons as well as your operating system of use? This is probably an add-on compatibility bug. You can test if my theory is correct by disabling all other add-ons, just leaving Anki-redesign enabled, and see if the same problem occurs or not.

Hovvdy commented 2 years ago
image

I am running Windows 10.

Hovvdy commented 2 years ago

This occurred before I added "Contaki" and "Motivanki", just for reference.

Hovvdy commented 2 years ago

I will be able to test this later this evening whenever I am not studying. I just disabled the AnKing's add on "Custom Background Image and Gear Icon" because I thought two conflicting re-design addons could be causing the issue. Disabling this and restarting still resulted in the glitch being able to be replicated.

Ben-Judah commented 2 years ago

I'm having the same issue on Anki 2.1.54 Qt 6. The add-ons that I share with Hovvdy are the AMBOSS add-on, Fastbar, Image Occlusion and Review Heatmap, so if it is due to add-on conflict, it may be with one of these 4 add-ons

Shirajuki commented 2 years ago

Hellohello! I see that this is a problem occuring to more than one and thus believe that it's an add-on conflict issue here. I have been putting this on hold for a while now, but I'll try to find a fix for this and hopefully it gets fixed soon!

Shirajuki commented 2 years ago

Hmmm, I tried installing all of the mentioned add-ons but can't seem to reproduce the problem :c Does the problem still occur?

Hovvdy commented 2 years ago

Hello! Sorry for the absence. I just re-enabled the add-on with the update, and I still get the gray square. This time it occurred whenever I went to edit the Anki redesign configuration. When I clicked on "Anki Redesign", the square appeared again. I have not added or removed any addons since my initial testing. It also still occurs whenever I try to create a filtered deck. Everything is up to date, and I am still running 2.1.49. Should I update to the latest version that works with my desired add-ons? That is the only thing that I can think of doing at this point.

Shirajuki commented 2 years ago

Hello again! Hmm... the occurrence is very strange. Could you try to disable all addons and testing it again? If disabling all the addons and the problem still occurs, then it has to be some code that is giving the problem. If the problem is fixed, however, then the reason is on the addon compatibility. We can figure out which addon it is by re-enabling the addons you use one by one and testing for the occurrence each time you re-enable an addon. Could you please try that and update me the results? :)

Hovvdy commented 2 years ago

I disabled all of them just now, and it works fine. I will enable one by one to see the causative agent.

Hovvdy commented 2 years ago

I found the issue. It was this addon https://ankiweb.net/shared/info/1898790263

Quite unfortunate considering I enjoy using a controller for some Anki session lmao

Shirajuki commented 2 years ago

Ahh, it is good that the culprit was found tho! It was actually one of the addons I didn't test since you had said earlier that the problem occurred before you added "Contanki" haha. I'll try to see if I can figure out a fix for that when I have the time. I'll hopefully give you an update soon! ;)

Hovvdy commented 2 years ago

Yeah, I was confused by that as well, but upon testing it was the only one that affected it haha.

Shirajuki commented 2 years ago

A fix for this add-on was recently added! It will be pushed out along the new update of Anki-redesign. Thank you for waiting! :D