Qt5 window manager should not render if root item is not visible
I investigated QQuickTrivialWindowManager source code (file name is qtdeclarative/src/quick/items/qquickwindowmanager.cpp).
I am not sure but window manager should not render window when the root item of window is not visible.
It just checks window->isExposed() and m_window.contains(window) in renderWindow function right now.
I think it should check window->rootItem()->isVisible() also and if it is not visible the window must not be rendered.
If I am right, it is a bug.
What do you think of it?