Qt World Summit: Register Today!

Qt5 window manager should not render if root item is not visible

  • Hi,

    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?

  • I think you should either take this discussion to the mailing list (development@qt-project.org) or file a "bug report":https://bugreports.qt-project.org/.

Log in to reply