# Right clicking on any field in the add window produces error

**URL:** https://forums.ankiweb.net/t/right-clicking-on-any-field-in-the-add-window-produces-error/54401
**Category:** Help
**Created:** [January 15, 2025, 4:15am UTC](https://forums.ankiweb.net/t/right-clicking-on-any-field-in-the-add-window-produces-error/54401 "2025-01-15T04:15:27Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![forum.anon](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@forum.anon](https://forums.ankiweb.net/u/forum.anon)
#### Post date: [January 15, 2025, 4:15am UTC](https://forums.ankiweb.net/t/right-clicking-on-any-field-in-the-add-window-produces-error/54401/1 "2025-01-15T04:15:27Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/3/9/39b5162da972285d18a5395cefbd21c972657ad5.png)

Debug log info:

```auto
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', '']

```

---

<div class="post-metadata">

### Author: ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)
#### Post date: [January 15, 2025, 7:43am UTC](https://forums.ankiweb.net/t/right-clicking-on-any-field-in-the-add-window-produces-error/54401/2 "2025-01-15T07:43:35Z")

</div>

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:

> [@\[Linux\] Graphical issues in v24.11 qt5 + missing pie chart in stats + stats in card browser are blank (works with qt6)](https://forums.ankiweb.net/t/linux-graphical-issues-in-v24-11-qt5-missing-pie-chart-in-stats-stats-in-card-browser-are-blank-works-with-qt6/52526):
>
> 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…

---

<div class="post-metadata">

### Author: ![forum.anon](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@forum.anon](https://forums.ankiweb.net/u/forum.anon)
#### Post date: [January 15, 2025, 1:08pm UTC](https://forums.ankiweb.net/t/right-clicking-on-any-field-in-the-add-window-produces-error/54401/3 "2025-01-15T13:08:23Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)
#### Post date: [January 15, 2025, 1:09pm UTC](https://forums.ankiweb.net/t/right-clicking-on-any-field-in-the-add-window-produces-error/54401/4 "2025-01-15T13:09:34Z")

</div>

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

---

<div class="post-metadata">

### Author: ![forum.anon](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@forum.anon](https://forums.ankiweb.net/u/forum.anon)
#### Post date: [January 15, 2025, 1:15pm UTC](https://forums.ankiweb.net/t/right-clicking-on-any-field-in-the-add-window-produces-error/54401/5 "2025-01-15T13:15:17Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![forum.anon](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@forum.anon](https://forums.ankiweb.net/u/forum.anon)
#### Post date: [January 15, 2025, 1:40pm UTC](https://forums.ankiweb.net/t/right-clicking-on-any-field-in-the-add-window-produces-error/54401/6 "2025-01-15T13:40:43Z")

</div>

I got the following error:

```auto
$ 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

```

---

<div class="post-metadata">

### Author: ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)
#### Post date: [January 15, 2025, 1:44pm UTC](https://forums.ankiweb.net/t/right-clicking-on-any-field-in-the-add-window-produces-error/54401/7 "2025-01-15T13:44:42Z")

</div>

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

> **[Install & Upgrade - Anki Manual](https://docs.ankiweb.net/platform/linux/installing.html#requirements)**
>
> Anki's user manual. Anki is a flashcard program that makes learning easier.

---

<div class="post-metadata">

### Author: ![forum.anon](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@forum.anon](https://forums.ankiweb.net/u/forum.anon)
#### Post date: [January 15, 2025, 1:48pm UTC](https://forums.ankiweb.net/t/right-clicking-on-any-field-in-the-add-window-produces-error/54401/8 "2025-01-15T13:48:28Z")

</div>

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

IT WORKED !! Thanks. 🙂

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

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)
#### Post date: [February 14, 2025, 1:48pm UTC](https://forums.ankiweb.net/t/right-clicking-on-any-field-in-the-add-window-produces-error/54401/9 "2025-02-14T13:48:36Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
