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

CMakeLists color highlighting make some text invisible in dark themes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.7.0-rc1, Qt Creator 4.7.0
    • Fix Version/s: Qt Creator 4.7.1
    • Component/s: Editors
    • Labels:
      None
    • Environment:
      Ubuntu 18.04
      QtCreator 4.7 from Qt binaries
    • Platform/s:
      Linux/X11
    • Commits:
      19c109a076844f71818a08196b76902fb94587b0

      Description

      With QtCreator 4.7, some text in CMakeLists files seems not recognized by color highlighting and default to black which is an issue on dark themes (especially "Qt Creator Dark").

      It seems to affect suffixes of CMake variables beginning with an underscore.

      For example:

      ${PROJECT_NAME}_node
      

      The "_node" will not be visible, see the following screenshot:

      The same line with "Default" theme:

      And on QtCreator 4.6 with "Qt Creator Dark" theme:

        Attachments

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

          Activity

            People

            Assignee:
            davschul David Schulz
            Reporter:
            rreignier Romain Reignier
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes