Shivering window behaviour on resize when using ApplicationWindow with 2 elements
We use ApplicationWindow in our project and lately got really strange behaviour on resizing. After some investigation I've found out that it's easyly reproducible on very simple example:
onWidthChanged: console.log("rect1 width" + width)
onWidthChanged: console.log("rect2 width" + width)
If you resize the window really fast it begans shivering and hangs. Looks like the window cannot decide what width to choose.
Removing onWidthChanged handlers fixes the problem.
Also it is fixed by making one rectangle parent of the other one.
I'm interested what causes the problem in this case - do we missuse ApplicationWindow in some way or is it a bug in the framework or something else.