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

Qt Examples Dark Mode Audit (Mojave)

    XMLWordPrintable

Details

    • macOS

    Description

      Find what the current status is and prioritize fixing:

      • Qt should look reasonably good out-of-the-box, also in dark mode
      • Clear roadblocks in Qt that would affect customer apps.
      • Some legacy components/examples may remain broken.

      examples/widgets/widgets/

      • analogclock : OK
      • calculator : 50% of the times: dark-on-dark text on buttons (QToolButton). Otherwise light text
      • calendarwidget: QCalendarWidget has hardcoded colors
      • charactermap: Example has hardcoded colors for the character table. The QMainWindow status bar has incorrect color
      • codeeditor: hardocded yellow highlight (and also light grey side bar)
      • digital clock: The QLCDNumber frame (QFrame?) is light gray.
      • elided label: OK
      • groupbox: OK
      • icons: OK
      • imageviewer : OK
      • lineedits: OK
      • mouse buttons: OK
      • movie: QMovie has light gray background, standardIcon(QStyle::SP_MediaPlay) (and others) are dark-on-dark.
      • scribble: OK (light background, fine for drawing program)
      • shapedclock: OK
      • sliders: OK
      • spinboxes: OK
      • styles: hardcodes startup palette via QApplication::setPalette()
      • stylesheet: style sheet and system palette color clash.
      • tablet: OK (light background, fine for drawing program)
      • tetrix: QFrame frame colors are incorrect.
      • tooltips: dark text on tooltip, though readable.
      • validators: OK
      • wiggly: OK
      • windowflags: OK

      examples/widgets/itemviews

      • address book: OK
      • basicsortfiltermodel : ok
      • chart : ok
      • coloreditorfactory : ok
      • combowidgetmapper : ok
      • customsortfiltermodel : ok
      • dirview : ok
      • editabletreemodel. : ok
      • fetchmore : ok
      • interview : ok
      • spreadsheet : dark text on dark background (hardcoded colors?)

      examples/widgets/mainwindows

      • mdi : light gray window background
      • sdi : ok
      • dockwidgets : ok

      qtquickontrols2/tests/manual/testbench

      • Fusion style button text is dark with low contrast
      • Controls do not pick up “live” light/dark theme changes, app restart is needed.
      • None of the styles pick up the system accent color.
      • Otherwise OK: fusion style dark mode and the dark versions of Material/Universal work well

      Attachments

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              sorvig Morten Sørvig
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes