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

The dialogs in QtQuick.Dialogs are printing out warnings when opened

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.4.0 FF
    • Quick: Dialogs
    • None
    • All

      The type compiler is complaining that bindings to some items are not deferred as requested by DeferredPropertyNames.

      The warnings printed differs between the different dialogs.

      Here is the output from the ColorDialog:

       

      qt.qml.typecompiler: Binding on background is not deferred as requested by the DeferredPropertyNames (background,contentItem,indicator,popup) class info because it constitutes a group property.
      qt.qml.typecompiler: Binding on background is not deferred as requested by the DeferredPropertyNames (background,handle) class info because one or more of its sub-objects contain an id.
      qt.qml.typecompiler: Binding on contentItem is not deferred as requested by the DeferredPropertyNames (background,contentItem) class info because one or more of its sub-objects contain an id.

      Here is the output from the FileDialog:

      qt.qml.typecompiler: Binding on contentItem is not deferred as requested by the DeferredPropertyNames (background,contentItem) class info because one or more of its sub-objects contain an id.
      qt.qml.typecompiler: Binding on contentItem is not deferred as requested by the DeferredPropertyNames (background,contentItem) class info because one or more of its sub-objects contain an id.
      

      Here is the output from the FontDialog:

      qt.qml.typecompiler: Binding on contentItem is not deferred as requested by the DeferredPropertyNames (background,contentItem) class info because one or more of its sub-objects contain an id.
      

      Steps to reproduce:

      Open the dialogs manual test project in qtdeclarative/tests/manual/quickdialogs/dialogs
       and press the button that says "Open" in the bottom right corner of the Window.

       

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

            qtqmlteam Qt Qml Team User
            hurlevent Oliver Eftevaag
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes