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

Windows 11 style - QToolButton/QPushButton quirks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8
    • Widgets: Styles
    • Windows

    Description

      The buttons in the windows 11 style need some more fixes:

      Light:

      Dark (when opening through light):

      Light when opening with dark (e.g. through Fusion -> dark -> windows11 -> light)

      The problem is within polish() - the palette for QAbstractbuttons is set there which is not updated through dark/light changes as it seems. Does not matter at all - there is no need to set the palette within polish() at all.

      The flat buttons are too large (marginsRemoved() is missing in this branch) and when QPalette is not modified in polish() only with checkable + checked + flat we get a wrong text color.

      Attachments

        For Gerrit Dashboard: QTBUG-132433
        # Subject Branch Project Status CR V

        Activity

          People

            wladimir.leuschner Wladimir Leuschner
            chehrlic Christian Ehrlicher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change