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

Confusing creation of "styles/customized%i.xml" files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.0.0-beta1
    • Fix Version/s: Qt Creator 4.0.0-beta1
    • Component/s: Editors
    • Labels:
      None
    • Commits:
      126d1b0811b019fd6dbb824e544b222c11b33ff5

      Description

      In case the qtcreator.ini has a TextEditor section without a defined ColorScheme value...

      [TextEditor]
      FontZoom=90
      

      ...Qt Creator decides to create a new "styles/customized%i.xml" and select that as scheme.

      I find this confusing, since I don't know what purpose this feature has in the current state of Qt Creator. I assume that this was implemented way back then, as migration code when selectable Color Schemes were introduced.

      Code: http://code.qt.io/cgit/qt-creator/qt-creator.git/tree/src/plugins/texteditor/fontsettingspage.cpp?h=3.6#n210

      This makes implementation of QTCREATORBUG-15229 uglier. If we don't remember what this was for, I suggest removing that "Save it as a color scheme file" part.

        Attachments

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

          Activity

            People

            Assignee:
            portale Alessandro Portale
            Reporter:
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes