Resolve "feat(viz): screen refresh issues"
Description
This forces the creation of our OpenGLWidget by sending it a show event directly instead of using the Qt event loop.
Other fixes were done along the road
- we added some useful assertions to validate the frustum and avoid a division by zero
- we also fixed a bug in the negato zoom mouse interaction that did not trigger a render,
- we force the destruction of the widget to avoid other race conditions,
- last but not least, we fixed the "not updated" negatoscope problem in SightViewer when switching from a single view to a split view after changing the TF. This happened because the update was not skipped when the window was hidden. This worked luckily for other windows because they received a resize event.
Closes #1125 (closed)
How to test it?
- Trust GUI tests...
- Run SightViewer otherwise