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

Fusion style: no way to distinguish between enabled/disabled buttons

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.3, 6.7.0
    • None
    • Linux/Wayland

    Description

      Using fusion controls makes it hard to distinguish between enabled or disabled elements. The screenshots are from Fedora 39 / Gnome.

      import QtQuick
      import QtQuick.Controls.Fusion
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Test window")
      
          Button {
              id: testButton
      
              readonly property Timer timer: Timer {
                  interval: 5000
                  running: false
                  repeat: false
                  onTriggered: () => testButton.enabled = true
              }
      
              text: qsTr("Disable for 5s")
              onClicked: () => {
                  testButton.enabled = false
                  testButton.timer.start()
              }
          }
      }
      

      Enabled:

      Disabled:

      Attachments

        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
            cajus Cajus Pollmeier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes