I have a few dictionary links in some of my cards and noticed on Anki Desktop that clicking on these links opens this link three times in my browser.
This seems not to be browser specific (tried with qutebrowser and brave, so could technically still be a chromium issue)
The same does not happen on AnkiDroid. Thus I believe it to be an Anki-Desktop issue. The same behaviour also occurs with links from decks I have not created. The same behaviour also occurs with all Add-ons disabled.
The error persists with the standard build. I’ve noticed an error that I somehow missed until now:
xdg-open: no method available for opening 'https://kanji.koohii.com/study/kanji/%E5%B1%95'
So I might just have messed up my xdg-open config… I’ll look into that.
Edit: Alright, I’ve looked into xdg-open. I get no such error message with xdg-open when using it normally. Executing xdg-open 'https://kanji.koohii.com/study/kanji/%E5%B1%95'
just simply opens my browser once as intended. No errors whatsoever. Configs for xdg-open also look okay, but that’s such an unintuitive mess that I might just missed something.
If someone for some reason has a similar issue to mine:
consider using either community/anki from the default Arch repsotories or anki-git from the AUR. anki-official binary-bundle from the AUR uses slightly outdated Qt libraries at compile time. At least outdated for idiots who use a bleeding edge distro like myself.
Multiple starts could be removed by invoking a wrapper script in .local/share/applications/browser.desktop to execute a script like this:
#!/bin/sh
qutebrowser $1 &
Yes it’s ugly and do not ask me why it works. But at least it does work.