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

QApplication does not initialize palette correctly under KDE 3

    XMLWordPrintable

Details

    Description

      Create a Qt application with some disabled QPushButtons. Run the application within a KDE 3.5.9 desktop.

      "Grayed out" ButtonText on the disabled buttons is expected, but instead, the button text for all buttons remains the same, regardless of enable/disable status. ButtonText color for both Active and Disabled groups are identical.

      KDE 3 color palettes provide a single buttonForeground color. qt_set_x11_resources() uses this color to set the palette, but it is being set for all color groups, not just the active, at qapplication_x11.cpp:1148. Instead, QApplication should calculate a separate color for the Disabled group.

      Attachments

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

        Activity

          People

            bachewii Jens
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes