[Linux] Graphical issues in v24.11 qt5 + missing pie chart in stats + stats in card browser are blank (works with qt6)

Hello!

I just upgraded to the latest version and noticed a few issues that only happen in the qt5 version.

Issue 1:
Going into deck options the toggle buttons are strangely small and text boxes look like they have some kind of frames around them, see picture:

It’s functional though so only visual.

Issue 2:
Going into deck options > FSRS simulator, the simulation chart area is completely black:

If you hit “simulate” it will work as expected though:


In short: It’s functional and only visual.

Issue 3:
Going into Stats the “Status” data looks off. The spacing is way too small and the pie chart is missing.

Issue: 4
Going to card browser > right click > stats the window stays completely empty, meaning the stats are completely unusable.

Version info of system with qt5 app

OS: Debian oldstable (bullseye), Gnome 3.38.5, X11

Anki Debug info
Anki 24.11 (87ccd24e) (ao)
Python 3.9.18 Qt 5.15.2 PyQt 5.15.5
Platform: Linux-6.1.0-0.deb11.21-amd64-x86_64-with-glibc2.31

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Anki Simulator [‘817108664’, 2023-11-06T18:26, ‘None’, ‘’]
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T09:15, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-30T03:43, ‘None’, ‘’]
Study Time Stats [‘1247171202’, 2024-02-24T17:59, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
1247171202 1374772155 1771074083 817108664

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Advanced Browser [‘874215009’, 2023-10-21T16:34, ‘None’, ‘’]
Syntax Highlighting NG [‘566351439’, 2024-07-19T11:46, ‘None’, ‘’]

This is reproducable without addons too.

Version info of system with qt6 app

OS: debian trixie / sid, Gnome 47, Wayland. Running in Gnome Boxes VM (host is debian oldstable mentioned above).

Anki Debug info
Anki 24.11 (97e6b3d3)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Linux-6.11.9-amd64-x86_64-with-glibc2.40

And

Anki 24.11 (87ccd24e)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Linux-6.11.9-amd64-x86_64-with-glibc2.40

(Yes, no addons here)

Thanks for looking into it!

Edit: I was using the qt5 version before. Turns out the qt5 version doesn’t work correctly in debian oldstable and in debian sid. The qt6 version works fine for both. Maybe the qt5 version needs to be fixed. Anyways, since I don’t actually need qt5 (no addons depending on it) I’ll just use qt6.

Let me know if you need any additional info to repoduce this for the qt5 version.