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

Qt Quick Controls Styles don't respect the application palette on startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.0, 6.10
    • Quick: Controls 2
    • None
    • All

      When explicitly setting an application-wide palette through QGuiApplication::setPalette, most styles won't respect the palette entries. This is because most styles override the app's palette with style-specific colors.

      However, on an ApplicationPaletteChange event the qquickitems respond by inheriting the application palette, making the behavior inconsistent.

      The expected behavior should be that the Qt Quick Controls styles should respect any palette roles explicitly set from the application on both startup and when the application palette changes.

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

            dorisverria Doris Verria
            dorisverria Doris Verria
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes