# 2.1.54 bug: right click in math equation editor dialog box closes it

sorry I dunno if this is the right place to report this but I’d like to help any way I can. Just got the new 2.1.54, Ubuntu 20.04. It mostly works great and some of the improvements are amazing.

One bug I’ve noticed is that if I’m editing an equation in the dialog box that comes up when I press ctrl M, M, or double click on an existing equation, and then select some of the text, if I right click on the selected text to copy it, the dialog box immediately closes. Pretty minor but probably not intended behavior. here’s what it looks like:

if I just press ctrl + c to copy, it doesn’t close the box.

debug info:

    Anki 2.1.54 (b6a7760c) Python 3.9.10 Qt 6.3.1 PyQt 6.3.1
Platform: Linux
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-07-17 11:44:56

Edit LaTeX build process ['937148547', 2020-05-19T10:53, 'None', '']
Image Occlusion Enhanced ['1374772155', 2022-04-09T03:15, 'None', '']
Syntax Highlighting for Code ['1463041493', 2020-07-06T14:48, 'None', '']


If I remove on:blur from the CodeEditor MathJax embeds, a right click no longer seems to close it.