Open An-png opened 4 years ago
Please help!! this is making image occlusion unuseable on anki desktop. One fix was to change the position of the #io-wrapper to "absolute", but this means the header and footer comes above the image. If you cange the position of #io-original to absolute, this also solves the problem but the toggle mask button is misplaced and goes partially underneath the image.
This is also a problem with new cards!! I tried moving all the cards to a new note type, uninstalling image occlusion, deleting the note type, reinstalling and moving all the cards back to the image occlusion note type and it didn't work!!!
Changing Collection to a fresh new one works, but I can't get it to work for my main collection...
The cards being rendered correctly on a different collection points to an issue with the card templates or other add-ons interfering with things.
Please try changing the name of your "Image Occlusion Enhanced" to something random temporarily. Then restart Anki and click on the IO button. This should prompt the add-on to regenerate the default note type and card templates. With the note type and templates back to the defaults, could you check if you're still experiencing the issue? If so, then please try disabling all add-on aside from IO next.
If the issue still persists, please send me an .apkg export of some of the affected cards at ankiglutanimate@gmail.com and I'll take a look.
Thanks for the suggestions, glutanimate! Seems like it is an addon issue, because disabling every single addon works! (However, with all the addons enabled the issue didn't persist with another profile.)
I singled out the addon (by disabled others addons and seeing if it affected the issue) and it seems like incremental reading, which for me doesn't work at all. The developer doesn't seem to be responing to issues, which is a shame. You have commited fixing a issue where incremental reading conflicts with addons. Maybe this is related to that
Thanks for investigating this @An-png. Unfortunately at the moment I do not have the time to look into implementing a workaround. And with incremental reading not having been updated in a while (e.g. the patch I submitted in 09/2019 still isn't live on AnkiWeb yet), I don't have high hopes that I could do much to fix this on IR's end. It also seems like a lot of users have issues running IR on Anki 2.1.20+ in the first place.
I will leave this issue open in case development on IR picks up again, or this becomes a frequent enough issue for other users to implement a workaround on IO's side (which, depending on what exactly causes this interference, might not actually be possible, though).
EDIT: This only happens with the incremental reading addon active. See this issue
The image occulsion mask is offset, revealing parts of the answer. This doesn't happen in the editor, it only happens when reviewing card. If you resize the window, you can reveal even more of the answer when you shouldn't be able to. Here is a video demonstrating the problem:
imageocclusion_misplaced_mask.zip
Am using Anki 2.1.22 and the latest version of image occlusion enhanced alpha for anki 2.1 (bcos I pressed check for new updates and it said no new updates available).
This does not seem to be a problem for AnkiDroid
Debug info:
OS: Linux Mint 19