Skip to content
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

Popup won't display after new day with reset counter on new day enabled #1

Open
4 of 6 tasks
furtherorbit opened this issue Oct 27, 2024 · 2 comments
Open
4 of 6 tasks
Labels
bug Something isn't working

Comments

@furtherorbit
Copy link

furtherorbit commented Oct 27, 2024

Problem description

The popup won't display the next day with the setting reset counter on new day set to enabled. The issue goes away if you restart Anki.

Just wanted to add that this is a very nice addon!

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

If you are using Anki 2.1

@furtherorbit furtherorbit added the bug Something isn't working label Oct 27, 2024
@furtherorbit
Copy link
Author

Just wanted to add an update. I think I was able to fix this issue in my personal version by adding this line:
self._state["last"] = 0

to the function labelled
def _maybe_reset_count(self):

@marvinruder
Copy link
Owner

@furtherorbit Thanks for your report.

Can you check whether you are able to reproduce this issue in the upstream add-on, Puppy Reinforcement? If so, it might be worth opening an issue there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants