-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Exporting stats to PDF produces white on white text if Anki is in night mode. #1114
Comments
Without addons: yes, latest version: latest stable yes. You mean master? |
Hmm weid. I tried again this morning and now it worked. Sorry for the inconvenience. |
Sorry to bump a year-old issue but I'm having this issue too, but only when I begin to scroll down. In other words if I open stats with the dark theme and immediately click "Save PDF" it works just fine, but if I first scroll down so that the top is out of view and then click save, then the top of the PDF turns white. The more I scroll down, the more of the final PDF turns white. Maybe that is why it was hard to reproduce? (I'm on version 2.1.49 - dc80804) |
Thanks, that does seem to trigger the issue here too. It's not totally white, but the background is white, making it hard to see. |
* Scroll stats to top when exporting (#1114) It's obviously a bit of a "hacky" solution, since it's slightly jarring for users to scroll down, click export, then find themselves all the way at the top again, but it's somewhat less confusing than wondering why your PDF is broken :-) * Clarified comment in stats.py (#1114) * Apply scrolling fix to new stats screen, not legacy stats (dae) Also wait for JS callback before saving the PDF, as JS is executed asynchronously.
Fixed in #1810 |
Is it possible to export stats to pdf on mobile? If so, where do I find it? Please, help me! |
If you're asking about AnkiMobile, it does not presently have such a feature, but I'll keep an eye on demand. |
Steps to reproduce
Expected behaviour
The text renders black on white (like in light mode).
Observed behaviour
The text renders white on white.
The text was updated successfully, but these errors were encountered: