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

QGuiApplication::palette() returns incorrect values on Ubuntu (Gnome)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.3, 6.7.0, 6.8.0
    • GUI: Look'n'Feel
    • None
    • Linux/X11

    Description

      The issue is similar to https://bugreports.qt.io/browse/QTBUG-120571 but for Ubuntu (I guess Linux in general).

       

      The UI theme (standard Fusion on Ubuntu) looks too bright and disabled widgets are not well to recognize.

      See attached screenshots, I build a simple standard GUI app on same machine with different Qt versions. 

       

      Qt 6.4.2

      Button QColor(ARGB 1, 0.937255, 0.937255, 0.937255)
      ButtonText Disabled QColor(ARGB 1, 0.745098, 0.745098, 0.745098)
      Window QColor(ARGB 1, 0.937255, 0.937255, 0.937255)

      Qt 6.8.0

      Button QColor(ARGB 1, 0.988235, 0.988235, 0.988235)
      ButtonText Disabled QColor(ARGB 1, 0, 0, 0)
      Window QColor(ARGB 1, 0.988235, 0.988235, 0.988235)
       

      Attachments

        1. Qt6.4.2.png
          Qt6.4.2.png
          9 kB
        2. Qt6.8.0.png
          Qt6.8.0.png
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            nitramr Martin Reininger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes