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

Broken customization

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.4
    • 5.9.4
    • Quick: Controls 2
    • None
    • c40486acc352d49398186fa32d1ccabdd5fc83c6

    Description

      Internal IDs in the built-int styles prevent deferred execution. Therefore the execution of some delegates is not deferred. With the Default style, these custom delegates are currently not created at all (you get the defaults instead):

      import QtQuick 2.9
      import QtQuick.Controls 2.2
      
      ApplicationWindow {
          id: window
          width: 640
          height: 480
          visible: true
      
          Column {
              anchors.centerIn: parent
              BusyIndicator {
                  contentItem: Rectangle { implicitWidth: 20; implicitHeight: 20; color: "red" }
              }
              DelayButton {
                  contentItem: Rectangle { implicitWidth: 20; implicitHeight: 20; color: "red" }
              }
              Dial {
                  handle: Rectangle { implicitWidth: 20; implicitHeight: 20; color: "red" }
              }
              ScrollBar {
                  size: 0.5
                  active: true
                  width: parent.width
                  orientation: Qt.Horizontal
                  contentItem: Rectangle { implicitWidth: 20; implicitHeight: 20; color: "red" }
              }
              ScrollIndicator {
                  size: 0.5
                  active: true
                  width: parent.width
                  orientation: Qt.Horizontal
                  contentItem: Rectangle { implicitWidth: 20; implicitHeight: 20; color: "red" }
              }
          }
      }
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes