Hi all,
A new release candidate is available - please let us know how it goes for you.
Hi all,
A new release candidate is available - please let us know how it goes for you.
Thanks for the release candidate!
The new option to configure answer keys in the preferences is a really cool addition.
Just one thing: would it be possible to consider either
1/2/3/4
to rate their cards. E.g. I like the h, j, k, l
key bindings, but sometimes it is more convenient to use the left hand.Also [Windows10, Version âš2.1.64 (716db5ee)â©, Python 3.9.15 Qt 6.4.3 PyQt 6.4.0]:
I cannot vertically resize the Preferences window anymore.
Unless I maximize it, the âSome settings will take effect after you restart Ankiâ note and the Close and Help buttons are not visible:
If I do maximize it, the numeric input boxes get vertically squashed (in the Review tab only)
The software installation (qt6/qt5 wundows) does not work properly
The order of the actions I performed
Installation
Additional installation
Uninstallation
Restart the computer
Install once more
I also see that the location of the default install garter has changed.
is it on purpose?
C:\Users\username\AppData\Local\Programs\Anki\
Before that there was another location
C:\Program Files\Anki\
I noticed a few things about the new feature that allows you to assign any keys to the answer keys and the related UI.
The Answer keys section of the Review tab sticks to the bottom when the Preferences dialog is enlarged.
The tooltips for the answer buttons show the default keys even after changing the settings and restarting Anki.
Even keys that wonât work as answer keys can be configured. For example, the same key can be entered for Again and Hard, or the r key, a shortcut for media playback, can be entered as an answer key. To avoid these problems, maybe the following validation should be done.
Each of the four keys is unique.
Each key does not conflict with any of Ankiâs built-in shortcuts in the review screen.
Screenshot:
It works fine for me on Windows 10 21H2 19044.1645.
Actually, just try to install Anki to C:\Anki
or C:\Programs\Anki
to see if it helps or not.
If it doesnâ helpâŠ
Maybe try starting Anki using anki-console.bat. Maybe there will be some additional warnings. For example,
Preparing to runâŠ
Qt warning: Could not find the Qt platform plugin âwindowsâ in ââ
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Maybe also check C:\Users\%USERNAME%\AppData\Local\Programs\Anki\lib\PyQt6\Qt6\plugins
and search for *.dll
. There should be 44 items.
Maybe start Anki from cmd with this command.
set QT_DEBUG_PLUGINS=1 & "C:\Users\%USERNAME%\AppData\Local\Programs\Anki\anki"
The output might include a line with additional information.
Preparing to runâŠ
Qt debug: checking directory path âC:/Users/Nickolay/AppData/Local/Programs/Anki/platformsâ âŠ
Qt warning: Could not find the Qt platform plugin âwindowsâ in ââ
I have tried. It didnât help
How do you do this?
There are now 44 files
I got the following error:
Qt warning: Could not find the Qt platform plugin "windows" in ""
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
To start Anki from cmd (I guess that what you meant), press Win+R and type cmd.
Or click Start and type cmd to find Command Prompt.
Then copy-paste the command and press Enter to run it.
set QT_DEBUG_PLUGINS=1 & "C:\Users\%USERNAME%\AppData\Local\Programs\Anki\anki"
There should be at least one additional line with Qt debug:
. If Anki started correclty, the output will be something like this
Qt debug: checking directory path âC:/Users/Nickolay/AppData/Local/Programs/Anki/lib/PyQt6/Qt6/plugins/platformsâ âŠ
âŠ
Qt debug: looking at âC:/Users/Nickolay/AppData/Local/Programs/Anki/lib/PyQt6/Qt6/plugins/platforms/qwindows.dllâ
âŠ
Qt debug: checking directory path âC:/Users/Nickolay/AppData/Local/Programs/Anki/platformsâ âŠ
Qt debug: âC:/Users/Nickolay/AppData/Local/Programs/Anki/lib/PyQt6/Qt6/plugins/platforms/qwindows.dllâ loaded library
Microsoft Windows [Version 10.0.22621.1702]
(c) Microsoft Corporation. All rights reserved.
C:\Users\username>set QT_DEBUG_PLUGINS=1 & "C:\Users\%USERNAME%\AppData\Local\Programs\Anki\anki"
C:\Users\username>Anki starting...
Initial setup...
Running with temporary Qt5 compatibility shims.
Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6.
Preparing to run...
Qt debug: checking directory path "C:/Users/â«â§â«ââ«ÂŹâ«â§â«â â«Âżâ«Ś â«ââ«Ś©/AppData/Local/Programs/Anki/platforms" ...
Qt warning: Could not find the Qt platform plugin "windows" in ""
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
The output is identical to mine (if I rename âpluginsâ folder to trigger this error).
Qt debug: checking directory path âC:/Users/Nickolay/AppData/Local/Programs/Anki/platformsâ âŠ
The only difference it the username that contains non-latin characters in your case.
Itâs unfortunate that installing Anki to C:\Anki
or C:\Programs\Anki
didnât help. Maybe if you run Anki from the shortcut, maybe try it again (or any other installation path containing Latin letters only), but run Anki from the installation folder just to be sure.
I donât know what else to try.
It actually helped!!
Apparently the problem was Hebrew letters @dae
For some reason the old path did not work, even though the path is in Latin
C:\Program Files\Anki\
I completely agree with you.
From my testing, Hebrew characters are not active as keyboard shortcuts, it is likely that only Latin characters are supported.
Maybe you should consider supporting Hebrew Chinese Arabic Cyrillic characters and more?
Please allow any of the letters (h,j,k,l) ââto show the answer, and if the answer is already open now the letters work to qualify.
If no the answer is not shown, show.
If it is shown, rate it.
Re: multiple shortcuts or using the answer keys to trigger other actions, that will need to wait until we have a plan for how shortcuts should be handled more generally.
Iâll reduce the vertical space used by moving the answer keys to the right of that dialog.
@kelciour thanks for running through those debug steps
@noty the next rc should be able to run even if your path contains Hebrew characters. When the rc comes out, please let us know if it worked for you.
Iâm not a professional developer but maybe you can just put in a nested conditional that works in the card review/study environment.
If the âUse custom keys for reviewâ checkbox is enabled, and if the answer is not being displayed, any of the custom keys for review allows you to flip and display the question. If the answer is already displayed, the key rates the card.
This plugin does exactly what Iâm talking about: right hand reviews / hjkl answer shortcuts / Handy Answer Keys (configurable)
The add on AJT Flexible Grading has been updated to work with 2.1.63+ versions of Anki and solves both of your concerns with the h,j,k,l shortcuts to my knowledge. This has been a suitable workaround for me while the Anki team decides what direction to take this feature. Cheers!
I definitely second (or third/fourth) this. This is what people have been used to for years given the current setup with the customize keyboard shortcuts add-on. I would hesitate to release this as is unless the customize keyboard shortcuts add-on is still able to offer that alternate. I personally switch back and forth between the two sets quite regularly and would find it quite annoying if I could only select one. You could just roll back this feature entirely as well as the functionality is already present with that add-on
Release candidate 2 is now available: Release 2.1.64rc2 · ankitects/anki · GitHub
@AnKingMed users who prefer the status quo can avoid customizing the shortcuts inside Anki, and instead use of the add-ons theyâre used to.
The new rc works well for me.
Thanks!
I just updated from 2.1.63 to 2.1.64 rc2. I uninstalled it from Program Files\Anki
and then installed to \AppData\Local\Programs\Anki
(Windows 10; Qt5; only Latin script).
When I started Anki, I immediately noticed that the windows were not maximized anymore, and the column in the browser were not as I had set them.
After starting the isntaller without admin rights and trying to install into Program Files\Anki
, I got this (intended) error message:
---------------------------
Anki Setup
---------------------------
Error opening file for writing:
C:\Program Files\Anki\anki-console.bat
Click Retry to try again, or
Cancel to stop the installation.
---------------------------
Retry Cancel
---------------------------
Executing the installer as admin, I could install to Program Files\Anki
. However, now I canât open Anki.exe.
I uninstalled 2.1.64 and reinstalled 2.1.63. Now that isnât starting either⊠I have to investigate this.
edit: I uninstalled and removed leftovers with Revo Uninstaller. Installed again, now I am able to run Anki again.