Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12078

Text editor background and text color spoiled when using custom stylesheet

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.1.0, Qt Creator 3.2.0, Qt Creator 3.2.1
    • Editors
    • None
    • Not environment dependent

    Description

      When using a custom stylesheet file for Qt Creator the text editor background color gets locked on white and text color on black (colors from inherited palette on construction moment).
      Actually this bug not in Qt Creator, but in Qt itself https://bugreports.qt-project.org/browse/QTBUG-41994
      Has not been an issue on the versions prior to change https://qt.gitorious.org/qt-creator/qt-creator/commit/3fa6b6737c48049cb3d6e06ef0c1cfcb30dfd595 (see bisect.log) because was changed editor holder concept (now bug triggered on setParent call of addWidget).

      Attachments

        1. ajistyle.css
          1 kB
        2. bisect.log
          3 kB

        Issue Links

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

          Activity

            People

              davschul David Schulz
              fh Aji Daleni
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes