robocomp / dsr-graph

Development of new DSR shared graph
4 stars 12 forks source link

Problems with graph_editor #47

Open JavierDG1996 opened 3 years ago

JavierDG1996 commented 3 years ago

When I try to delete a node previously created, with a mouse click, the agent crashes. If you select one or more nodes to delete, they are deleted. It only happens with mouse clicks. This is the error that the console shows when the agent crashes:

Epoch time = 0.00094305ms. Fps = 1060389 Epoch time = 0.000936911ms. Fps = 1067337 mousePressEvent >> Taken QGraphicsItem(0x55a161d20650, pos=4.70567,-96.4663, z=-1, flags=(ItemIsMovable|ItemIsSelectable|ItemIsFocusable|ItemUsesExtendedStyleOption|ItemSendsGeometryChanges)) node_combobox_changed Epoch time = 0.000952249ms. Fps = 1050146 del_node_SLOT : 266 G_del_node 25864407946887188 "uy" node_combobox_changed Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must not let any exception whatsoever propagate through Qt code. If that is not possible, in Qt 5 you must at least reimplement QCoreApplication::notify() and catch all exceptions there.

!! 28/06/21 12:19:58.059 bin/graph_editor: error: bad optional access