Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt5 window manager should not render if root item is not visible
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    coolbr
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      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/.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved