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

ReferenceError: implicitIndicatorHeight is not defined

    XMLWordPrintable

Details

    Description

      In order to try to continue with my work, I commented out the icon-related code mentioned in QTBUG-88179. However, I now get the following errors with https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/318565/22:

      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:46: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:46: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:46: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      file:///media/dev2/qt-dev-debug/qtbase/qml/QtQuick/Controls/Basic/impl/FileDialogDelegate.qml:0: ReferenceError: implicitIndicatorHeight is not defined
      

      using the same QML:

      import QtQuick
      import QtQuick.Controls
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
      
          FileDialog {
              title: "FileDialog"
              visible: true
              anchors.centerIn: parent
          }
      }
      

      implicitIndicatorHeight is a property of QQuickAbstractButton, which QQuickFileDialogDelegate inherits from, so it should be available.

      I've tried lowering the revision for FileDialogDelegate (both the C++ type registered in src/quickcontrols2impl/qquickfiledialogdelegate_p.h, and the QML type registered in src/controls/imports/controls/basic/impl/qmldir) to 2.0 as a workaround, but it didn't fix it.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes