podsvirov / osgqtquick

Intergation OpenSceneGraph to Qt Quick
https://podsvirov.github.io/osgqtquick
MIT License
72 stars 32 forks source link

Drawing overlapping rectangles over a View freezes the application #19

Open pm-ur opened 6 years ago

pm-ur commented 6 years ago

I've been displaying an OSG View and I was able to paint a rectangle over it fine. However, when that rectangle has another rectangle in it, the application freezes. Just found this issue. Will post more details once I investigate it further.

podsvirov commented 6 years ago

Hi @pm-energid! More information about your environment and code examples are highly desirable for reproducing this fault.

pm-ur commented 6 years ago

Hi @podsvirov ! I am trying to run a simple code as this: `import QtQuick 2.0

import osgViewer 2.0 as OSGViewer

OSGViewer.View { id: view width: 400 height: 300

Rectangle { width: 100 height: 100 color: "red" } }`

There is a short freeze while the rendering loads and then I can resize the window. If there are any elements like buttons, I cannot interact with them any more. Also, resizing the window doesn't update the changes due to size either. The attached video shows the behavior.

2018-02-08 at 17-13-04.zip

My environment: Windows 10 64-bit build 1703. Nvidia Quadro P4000, Qt 5.6.1 (custom build), osgQtQuick built against same Qt, VS2013 x86