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

with the new FluentWinUI3 controls style, the constrast of ScrollBar on ApplicationWindow is too low in dark mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8.0
    • Quick: Controls 2
    • None
    • Windows

    Description

      It's barely visible even with size: 4. At first I thought I did something wrong and caused scrollbar to break because it's too hard to see to the point I missed it.

      Code:

      import QtQuick
      import QtQuick.Controls.FluentWinUI3
      import QtQuick.Layouts
      import Qt.labs.platform
      
      ApplicationWindow {
          width: 640
          height: 480
          visible: true
          Flickable {
              anchors.fill: parent
              clip: true
              contentHeight: column.height
              ColumnLayout {
                  id: column
                  width: parent.width
                  Repeater {
                      model: 100
                      delegate: Text {
                          text: "ABCDEFG\n1234567"
                      }
                  }
              }
      
              ScrollBar.vertical: ScrollBar {
                  size: 4
              }
          }
      }

      In comparison, this is the scrollbar from WinUI (collapsed):

      WinUI (expanded):

      Attachments

        1. Screenshot 2024-10-12 105421.png
          49 kB
          Jessia Clinkscale
        2. Screenshot 2024-10-12 105448.png
          31 kB
          Jessia Clinkscale
        3. Screenshot 2024-10-12 110049.png
          23 kB
          Jessia Clinkscale
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dorisverria Doris Verria
            jclink Jessia Clinkscale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes