Anki Webview Issues

April 15, 2022

As of 2022-04-15, Anki will open on my up-to-date Arch Linux install, but show a blank page instead of my decks.

$ pacman -Q anki qt5-base qt6-base
anki-official-binary-bundle 2.1.49-1
qt5-base 5.15.3+kde+r137-1
qt6-base 6.3.0-1

I suspected an issue with the webview implementation, since menus, preferences and the like still work.

A topic on the [Ankiweb Forums][forums] surfaces the suggestion to disable the Qt webengine seccomp filter: QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox"

Add the environment variable to your .bashrc or wherever or just prepend it to any launches of Anki:

QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox" anki

Note: Now simply using anki-bin AUR package instead of anki-official-binary-bundle

[forums]: https://forums.ankiweb.net/t/webviews-blank-on-linux/1433/6)