Operating system: Arch Linux
$ uname -sr
Windows manager: dwm
$ anki -h | grep '^Anki'
What I’ve tried (relevant links)
Please, first read the post in the created Unix Stack Exchange forum, then the post created in the Arch Linux forum to have a better comprehension of the issue.
What steps you are taking when the problem happens.
- Remove cache files of
anki to avoid conflicts (in case previous versions have created files that are being used again)
cd "$HOME/.local/share" && \
rm -rf Anki Anki2
cd "$HOME/.local/share/tmp" && \
rm -rf Anki Anki2
What problems/errors you are getting when things go wrong.
- Buttons are not displaying icons.
- Windows are not correctly being rendered (since some of these windows have huge black gaps).
These problems are only present in the versions that are greater than the “2.1.15” release (this is explained in the post created in the Arch Linux forum)
Can try running Anki from the command line to see if any warning or errors are output to the console?
Can you look into https://changes.ankiweb.net/#/known-issues and try changing a few things like: (one at a time)
echo auto > %APPDATA%\Anki2\gldriver
echo angle > %APPDATA%\Anki2\gldriver
echo software > %APPDATA%\Anki2\gldriver
- Anki window appearance is broken on certain linux window managers
- Blurry font on Windows after v2.1.15
Thanks for the help! The issue has already been solved. I tried every solution you recommended and these were the results.
Each item of the following ordered list shows the command that was executed and whether the issue was solved or not.
$ ANKI_NOHIGHDPI=1 anki (issue was solved)
$ ANKI_WEBSCALE=1.1 anki (issue was not solved)
$ ANKI_WEBSCALE=1 anki (issue was not solved)
$ ANKI_WEBSCALE=0.9 anki (issue was not solved)
$ echo auto > ~/.local/share/Anki2/gldriver (issue was not solved)
$ echo angle > ~/.local/share/Anki2/gldriver (issue was not solved)
$ echo software > ~/.local/share/Anki2/gldriver (issue was not solved)
You are not the first user with the same problem. You could bug/irritate QT developers about their bugged tool on: https://bugreports.qt.io/browse/QTBUG-84235