QOpenGLWidget turns black when mouse exits view area, on macOS.
Solved
General and Desktop
-
On macOS, whenever the mouse exists the view area of the QOpenGLWidget, the view turns black. If I trigger a repaint, it is visible again, until the mouse exits.
On Windows, the application behaves correctly.
I have no idea what is going on. I am certainly not doing anything whenever the mouse enters or exits the view.
I have tried 5.9.1 and 5.10.1
Does anybody have any ideas?
-
Hi and welcome to devnet,
Can you provide a minimal compilable example that shows that behaviour ?