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

Broken customization

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.4
    • Fix Version/s: 5.9.4
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Commits:
      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

            Assignee:
            Unassigned
            Reporter:
            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