Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-132786

QWindow::activeChanged notification is not consistent with isActive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.3
    • GUI: Window management
    • None

    Description

      QWindow::isActive returns true if the window, or any of its ancestors is focused. The activeChanged signal is emitted only on the focused window and not any descendants, so for those windows, the property may change without a notification.

      Attached qml file demonstrates the discrepancy - the Window.active property doesn't influence bindings properly, but "force-refreshing" the bindings by a Timer shows the correct value.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            anszom Andrzej Szombierski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes