Hi @dcthomp, I could reproduce as well, thanks for reporting!
I have to say that I am not sure where the RepeatCount is increased to 1. It seems that it is required the invoke of single button press also in the double click ones, something like this:
else if (t == QEvent::MouseButtonDblClick)
{
switch (e2->button())
{
case Qt::LeftButton:
iren->InvokeEvent(vtkCommand::LeftButtonPressEvent, e2);
iren->InvokeEvent(vtkCommand::LeftButtonDoubleClickEvent, e2);
break;
case Qt::MidButton:
iren->InvokeEvent(vtkCommand::MiddleButtonPressEvent, e2);
iren->InvokeEvent(vtkCommand::MiddleButtonDoubleClickEvent, e2);
break;
case Qt::RightButton:
iren->InvokeEvent(vtkCommand::RightButtonPressEvent, e2);
iren->InvokeEvent(vtkCommand::RightButtonDoubleClickEvent, e2);
break;
default:
break;
}
}
of course, having two signals for the same event will not be optimal.
I’ll try to investigate asap.