Right-click menu in quick-view plot and event images missing
Closed this issue · 1 comments
paulmueller commented
The right-click menu in the QuickView panel is not working. Probably has to do with pyqtgraph/events/key bindings.
paulmueller commented
The error messages on stdout make it clear this is a event/signal problem:
File "./ShapeOut2/.env/lib/python3.10/site-packages/pyqtgraph/GraphicsScene/GraphicsScene.py", line 378, in sendClickEvent
item.mouseClickEvent(ev)
File "./ShapeOut2/shapeout2/gui/quick_view/qv_scatter.py", line 237, in mouseClickEvent
super(QuickViewViewBox, self).mouseClickEvent(ev)
File "./lib/python3.10/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py", line 1297, in mouseClickEvent
self.raiseContextMenu(ev)
File "./ShapeOut2/shapeout2/gui/widgets/simple_plot_widget.py", line 112, in raiseContextMenu
menu.popup(QtCore.QPoint(pos.x(), pos.y()))
TypeError: arguments did not match any overloaded call:
QPoint(): too many arguments
QPoint(xpos: int, ypos: int): argument 1 has unexpected type 'float'
QPoint(a0: QPoint): argument 1 has unexpected type 'float'
debug.printExc("Error sending click event:")