This is a known Wayland issue:
The window border issue seems to be limited to Gnome, since switching to KDE Plasma has fixed it for me.
That’s of course not a real solution for anyone who isn’t inclined to switch his desktop environment in the first place.
To start Anki without Wayland, set the following environment variable:
export QT_QPA_PLATFORM=xcb
2 Likes