QuickVtk icon indicating copy to clipboard operation
QuickVtk copied to clipboard

Resizing window on Windows leads to lockup

Open benbatya opened this issue 5 years ago • 4 comments

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.

benbatya avatar Aug 19 '19 23:08 benbatya

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

qCring avatar Aug 26 '19 17:08 qCring

I'm guessing that the AutomaticWindowPositionAndResize property might be conflicting with the custom resize code in FboOffscreenWindow::OpenGLInitState()

benbatya avatar Aug 26 '19 18:08 benbatya

@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!

qCring avatar Aug 30 '19 09:08 qCring

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

qCring avatar Aug 30 '19 09:08 qCring