QuickVtk
QuickVtk copied to clipboard
Resizing window on Windows leads to lockup
I compiled and ran QuickVtk on Windows using MSVC17 and Qt5.13 and Vtk8.2 with external module built. I tried to resize the window which lead to the program locking up. It goes into an infinite loop doing re-layouts.
Hi @bensch128 Thanks a lot for reporting this issue! I was able reproduce the problem and I'll take a look at this right now
I'm guessing that the AutomaticWindowPositionAndResize property might be conflicting with the custom resize code in FboOffscreenWindow::OpenGLInitState()
@bensch128 sorry, I was busy working on the documentation the last couple of days!
Seems like this is caused by using the ApplicationWindow type as the application's root object... Using Window instead works fine but won't integrate the application menu... I'll keep working on this and hopefully fix this annoying issue soon.
Thanks again for your input!
The FboOffscreenWindow shouldn't cause the problem since the application also freezes when no Vtk.Viewer instance was created.. So it seems to be QML specific