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

QtQC2 MacOS style theme switching not fully implemented

    XMLWordPrintable

Details

    • macOS
    •  bb593f5

    Description

      When switching Dark/Light theme while the application is running,

      1) Only the window decoration (e.g. title bar) changes (QTBUG96582-1.png)
      2) The button will change when the window gets focus again (QTBUG96582-2.png)
      3) The window background nor the label do not change at all until the window is closed and re-opened.

      import QtQuick
      import QtQuick.Controls
      
      ApplicationWindow {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      
          Button {
              text: "button"
          }
      
          Label {
              text: "Hello QML "
              anchors.centerIn: parent
          }
      }
      

      Attachments

        1. QTBUG96582-1.png
          QTBUG96582-1.png
          35 kB
        2. QTBUG96582-2.png
          QTBUG96582-2.png
          36 kB

        Issue Links

          Activity

            People

              tpochep Timur Pocheptsov
              nagrohn Nahomi Gröhn (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: