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

QtQC2 MacOS style theme switching not fully implemented

XMLWordPrintable

    • macOS
    •  bb593f5

      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
          }
      }
      

        1. QTBUG96582-1.png
          35 kB
          Nahomi Gröhn
        2. QTBUG96582-2.png
          36 kB
          Nahomi Gröhn
        For Gerrit Dashboard: QTBUG-96582
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes