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

Text editor background and text color spoiled when using custom stylesheet

XMLWordPrintable

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

      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).

        1. bisect.log
          3 kB
        2. ajistyle.css
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes