Simple fix of broken add-ons for the latest Anki (by Shige)

Really appreciate that, thank you! I tested it some and it works perfectly. Back to my old workflow finally :folded_hands: By the way, do you think adding a keyboard shortcut option for toggling it would be a simple matter? I saw that it was an old feature request, and it’s something I’ve been missing too.

And @eroscard, I re-read my previous comment above and realize I was a bit rude. I apologize for that.

2 Likes

that’s a good idea, I added a shortcut key. it should work when you update the add-on: tools → add-ons → check for update

1 Like

That’s great, thank you so much!

1 Like

@Shigeyuki, a gentle ping in case this was forgotten.

1 Like

Hi vaibhav thanks for the ping. This feature has a problem that doesn’t work properly on MacOS, so I plan to fix it at the same time, please wait.

1 Like

@Shigeyuki How can I make the add-on Review lookup search for the exact phrase “ABC XYZ” instead of searching for each individual word “ABC” and “XYZ” separately?

1 Like

Hi thanks for the screenshot it’s easy to understand. That feature is not yet developed so it is not available, I’ll try to enhance it later so please wait.

1 Like

In Shige’s spellchecker add-on, if I go to Advanced → select a dictionary → Disable, I get the following error.

Anki 25.08b5 (d4862e99) (ao)
Python 3.13.5 Qt 6.8.1 PyQt 6.8.1
Platform: Windows-11-10.0.26100-SP0

Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Anki2\addons21\143753963\dict.py", line 268, in _disable
    os.remove(file_path)
    ~~~~~~~~~^^^^^^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\User\\AppData\\Roaming\\Anki2\\dictionaries\\en.bdic'

If I try to delete it directly through the Windows File Manager, I get this error:

The action can't be completed because the file is open in Python
Close the file and try again.

Workaround: Close Anki and delete the file through the File Manager.

1 Like

Hi thanks for reporting the problem. It seems that the dictionary file is still in use by the add-on so it cannot be deleted, I think the code needs to be changed to either completely release access or delete it after restarting Anki, so I’ll look into it.

1 Like

This error got resolved after I added a personal.aff file to the %APPDATA%\Anki2\addons21\143753963\user_files\user_dics folder. I obtained this file by copying the en_US.aff file from LibreOffice and renaming it to personal.aff

1 Like

Noticed some cursor issues with No Distractions Full Screen (Fixed by Shigeඞ) add-on (on macOS, latest Anki). Can you replicate this?

During review, right-clicking brings up a context menu and the default Anki behaviour switches the cursor to a pointer. When the mouse exits the popup, or if the popup is closed, the cursor is returned to either the default cursor or the text cursor.

However, when the add-on is enabled the cursor never switches back. It gets stuck as a pointer, and a return to the main deck screen with a right-click and closing of a new context menu popup is needed for it to reset. If the “Idle Cursor Hide” option is enabled, that hiding also stops working until the reset is performed.

Similarily, with the add-on enabled, the cursor sometimes becomes the waiting/loading one (the grey circle), and remain stuck as that until the deck screen return reset is done as well.

1 Like

I think it’s probably a bug, I’ll look into it.

1 Like

Hey @Shigeyuki, did you get a chance to look into it? I’m getting that stuck loading/spinning cursor every review session and need to re-enter review to get rid of it. I do like the look of the addon a lot though so would love to be able to keep using it.

I’ve noticed another issue with the add-on as well: when triple-clicking to select text, the selection persist across cards. So triple-clicking to select sentence text for example results in everything being selected for subsequent cards unless you click manually to deselect it. With the add-on disabled this is not the case, selection dissappears on flip (unless you do cmd+a which results in the same behaviour as the addon).

1 Like

Perhaps those issues have existed since the original add-on, existing problems take time to fix, please wait.

1 Like

I have an issue with the no distraction add on. my home screen usually looks like this when I use the add on (2nd pic) as it should. but when im reviewing a deck and then return to my Home Screen it suddenly looks like this (1st pic - the lower bar gets pushed up) and the only fix is to re toggle it. I would appreciate if this can be fixed :slight_smile:

https://ankiweb.net/shared/info/1370336700

2 Likes

This is still an unresolved bug, I’ll look into it again so please wait.

2 Likes

Hey Shigeyuki,

first of all thank you for all your add-ons! It makes Anki so much better.

I tried one of your add ons called: Image Editor - Edit image by right click in the Editor (Fixed by Shigeඞ) on MacOS but I can´t edit insert pictures.

Do you have an Idea what to do?

Your Symbol Add on is there but right click for insert Pictures are not there.

I Want to change the background for molecules to see them better in dark mode - Any suggestions?

1 Like

hi please try right clicking without selecting an image, like this:

Thanks for fast answering.

I tried your suggestion but also without selecting there is no option for editing.

Does it not display when you right click on the image without selecting it? It displays that way on my device (Windows), it might be a little different on Windows and Mac.