-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All answers flash after each answer is displayed #15
Comments
Yep, this is one of the most frequent issues with Image Occlusion on OS X. It's the same across all versions of the add-on. If you look at this archived version of the original add-on page you'll see that the first reports concerning this problem date back to 2014. As far as I understand it it's a bug with how Anki's graphical toolkit (Qt) renders the cards on OS X. Well, that's my best guess at least. I don't have a Mac to test this out on and even if I had access to a machine I likely wouldn't be able to troubleshoot it because the problem lies deeper than the add-on itself. Sadly I'm not aware of any workaround for this, so if anyone is reading this and knows how to solve this please feel free to contact me. |
Thank you |
Fixes #45. Most likely also fixes #15. Even with a liberal fadein timer set, the image flashing problem would still persist on slower systems and/or systems that have performance issues with the new web engine (macOS?). Postponing image visibility until after the mask is loaded seems like the only surefire way to prevent instances of the answers flashing before the actual answer reveal. We still use a small aFade timer to make transitions between question and answer where the images have not been cached smoother. Because this change comes with a lot of increased complexity to the basic method of operation of the add-on, and because it has the potential to completely disrupt card reviewing, it will require extensive testing across all platforms (especially the mobile clients and AnkiWeb).
Closing this with the proviso that we still need to perform cross-platform tests (cf. https://github.com/glutanimate/image-occlusion-enhanced/projects/1#card-8246696). |
Fixes glutanimate#45. Most likely also fixes glutanimate#15. Even with a liberal fadein timer set, the image flashing problem would still persist on slower systems and/or systems that have performance issues with the new web engine (macOS?). Postponing image visibility until after the mask is loaded seems like the only surefire way to prevent instances of the answers flashing before the actual answer reveal. We still use a small aFade timer to make transitions between question and answer where the images have not been cached smoother. Because this change comes with a lot of increased complexity to the basic method of operation of the add-on, and because it has the potential to completely disrupt card reviewing, it will require extensive testing across all platforms (especially the mobile clients and AnkiWeb).
For cards with non-overlapping occlusions, the answers flash when showing the answer or rating the difficulty. In other words, I briefly see the picture layer without the shapes for a fraction of a second whenever I press the spacebar. This doesn't happen every time but a definite majority of the time.
Using Anki 2.0.36
Using Image Occlusion Enhanced V0.2.3
I am on OS X and I know you mentioned there may be issues but I am pretty new to both Anki and Image Occlusion and didn't know if there is an error I have made somewhere.
Please let me know if there is anything I can do or if I should try Image Occlusion 2 (not enhanced)
Thank you very much
The text was updated successfully, but these errors were encountered: