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

Palette text colors are sometimes ignored on Mac OS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.8.1
    • GUI: Look'n'Feel
    • None
    • Mac OS X 10.7.4, Qt Creator 2.4.1
    • macOS

    Description

      Qt on Mac OS sometimes ignores the text color set through the palette. This happens both on the native Mac OS style and on non-native styles like Plastique and Cleanlooks.

      The palette text color is ignored when it is set at application startup. If the palette is changed after application startup (e.g. in response to a button press), the text color will change correctly at first. But if you click on another window, and then return to the Qt application window, the text will suddenly change back to its original default color. So the problem could be related to switching between the Active and Inactive color groups.

      The attached main.cpp reproduces the problem for me on Mac OS. When I run the same code in Windows, it works correctly.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jrmclaurin Jason McLaurin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes