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

Incorrect palette colors when enabling a contrast theme while a hybrid widgets + quick application is running.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.10.0 RC
    • None
    • Windows
    • a28bb528c (dev), 12669ce84 (6.10)

      It's kind of hard to explain whats wrong. But when running the attached QMLPreviewer project, which is a modified version of the classic qml previewer example, and applying a contrast theme (e.g. Aquatic), the QQuickWindow palette won't change to use the expected colors.

      If the contrast theme is applied, before starting the application, the palette colors are set correctly.

      Note that the palette is normally updated correctly for most of our QML examples, this is an edge case, where it's not working.

       

      Another issue, not directly related to the one above, is that running a Qt Quick Controls application, using the FluentWinUI3 style, under a QApplication, causes the highlightedText color to be wrong.

        1. qmlpreviewer.zip
          970 kB
          Oliver Eftevaag
        2. QMLPreviewerRoboticArmIncorrectPalette.png
          448 kB
          Oliver Eftevaag
        For Gerrit Dashboard: QTBUG-140507
        # Subject Branch Project Status CR V

            hurlevent Oliver Eftevaag
            hurlevent Oliver Eftevaag
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are 2 open Gerrit changes