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

Window.window cannot work as a target of Connections QML in GridView/RowLayout

    XMLWordPrintable

Details

    • Windows
    • a4da2d229 (dev), d12471172 (6.9), 40945c835 (tqtc/lts-6.8)

    Description

      Window.window attached property does not work as a target of Connections QML Type, when it is used in GridView.

       

      Steps to reproduce the issue:

      1. Run the attached reproducer, and drag the window around. The Global position value of each Rectangle will be updated accodingly.

      2. Modify the target setting in Connections as below:

                  // target: control.Window.window
                  target: Window.window   // this will not work

      3. Run the reproducer again, and drag the window around. This time the Global position will not be updated. The Connections seems not receiving the XChanged/YChanged signals from the top window.

       

      The reproducer is implemented with GridView, but the issue can be reproduced with RowLayout as well.

      Attachments

        For Gerrit Dashboard: QTBUG-134800
        # Subject Branch Project Status CR V

        Activity

          People

            fabiankosmale Fabian Kosmale
            hitoshiito Hitoshi Ito
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change