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

BusyIndicator not showing when running: true (Fusion and macOS styling)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 6.2.4
    • Quick: Controls 2
    • None
    • macOS

      If BusyIndicator is initially invisible and its running property is bound to constant value (`true`), when the visible property is `true`, it will be invisible for specific styling: Fusion and macOS, but there might be more. Works as intended for Basic, Material.
      An easy fix is to bind the property running to visible, but this issue still feels like a bug since there are mismatching behavior in different styling.

      import QtQuick.Window
      import QtQuick.Controls.Fusion
      
      Window {
        visible: true
        width: 640
        height: 480
        title: qsTr("Fusion and macOS not working")
      
        MouseArea {
          id: mouse
          anchors.fill: parent
          onClicked: indicator.visible = !indicator.visible
        }
      
        BusyIndicator {
          id: indicator
          visible: false
          anchors.centerIn: parent
          running: true //setting visible fixes
        }
      }
      

       

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            awilliams Alessio Williams Gava
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes