Right clicking on any field in the add window produces error

I followed the troubleshooting guide but the error did not go away after running in safe mode too.

Debug log info:

Anki 24.11 (87ccd24e)  (ao)
Python 3.9.18 Qt 5.15.2 PyQt 5.15.5
Platform: Linux-6.1.0-29-amd64-x86_64-with-glibc2.36

Traceback (most recent call last):
  File "aqt.editor", line 1631, in contextMenuEvent
  File "aqt.editor", line 1471, in _opened_context_menu_on_image
AttributeError: 'EditorWebView' object has no attribute 'lastContextMenuRequest'

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Advanced Review Bottom Bar ['1136455830', 2024-08-22T16:34, 'None', mod]
AnkiHub ['1322529746', 2025-01-10T00:48, 'None', '']
Image Occlusion Enhanced ['1374772155', 2022-04-09T12:45, 'None', '']
ImageResizer ['1214357311', 2023-12-03T07:28, 'None', '']
Review Heatmap ['1771074083', 2022-06-30T07:13, 'None', '']
Symbols As You Type ['2040501954', 2025-01-06T01:25, 'None', '']
True Retention ['613684242', 2017-11-20T02:13, 'None', '']

===IDs of active AnkiWeb add-ons===
1136455830 1214357311 1322529746 1374772155 1771074083 2040501954 613684242

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Speed Focus Mode auto-alert auto-reveal auto-answer ['1046608507', 2022-12-16T16:54, 'None', '']

The qt5 version has a lot of problems. Please use the qt6 version instead, which doesn’t have this issue your facing and which doesn’t have several other issues either, like those:

Thank you.
I tried installing qt6 at first. I am using MX Linux and it doesn’t seem to run after installation.
Is there a fix for this?
If not I will change to something that works like linux mint.

Maybe there is a fix. Did you run anki qt6 in a terminal? Were there any errors?

after installaton, the app appeared in the “start menu”. I clicked, but nothing opened.

In terminal, I typed “anki” to open it. did not open (i dont remember what error I got). I did some troubleshooting, opened in safe mode but nothing.

I will try to backup and reinstall qt6 version now to recheck. I’ll share the error.

I got the following error:

$ anki
Anki starting...
Initial setup...
Preparing to run...
Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. 
Qt info: Could not load the Qt platform plugin "xcb" in "" even though it was found. 
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, vnc, wayland-egl, linuxfb, wayland, eglfs, vkkhrdisplay, offscreen, minimalegl, minimal.
 
Aborted

Can you install the equivalents for the requirements of those libs (not sure what the package names are for MX linux)?

These are the same for MX linux, as it is also a debian based distro.

IT WORKED !! Thanks. :slight_smile:

Now you have ruined my chance to rebuild my laptop from scratch. :rofl: