-
Notifications
You must be signed in to change notification settings - Fork 18
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
Shortcut failing. #72
Comments
Could it be that you press alt on its own? Another press (without any number in between) alleviates the alt-lock in my case. Apart from this it never failed as far as I can tell. Can you run the console version of anki and check for errors when it happens? |
The error doesn't seem to be that. I noticed that whenever we redo a card by the shortcut
How can I do this? |
Yeah, I could reproduce it (it happens on Linux as well). When returning with ^Z there seems to be another listener from the new card that lingers and overwrites the changes done with the shortcuts (here the third option is pressed but it is overwritten immediately afterwards):
You'll get the debug output when using the console version of anki. I currently don't have much time on my hands unfortunately. But it shouldn't be too hard to figure out why this Lines 110 to 111 in 3ae8088
isn't working in the case of returning to a review with ^Z. |
Was also able to reproduce this on Linux. |
@zjosua I suppose we could add another listener that removes the old listener as soon as the page unloads (https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event). Or we transform this into JavaScript: https://gist.github.com/screamingworld/4d8ee991be564564e9725d919dd83841#file-jsts-event-listener-solution-ts |
I have a workaround for this issue, when I reload anki question (with the help of another anki addon) it works again after ctrl z. |
Is there any shortcuts for true false questions? |
Hi,
The shortcut (
Alt + the number keys
) fails during review, and sometimes I need to close and open anki to get it working again.This has happened in previous versions, but not as often.
Info:
Anki version 2.1.49
Windows 10
The text was updated successfully, but these errors were encountered: