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

Creator very slow on some operations when many errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 3.1.1
    • Qt Creator 3.1.0
    • Editors
    • None
    • WinXP, 32 bits

    Description

      If there are many errors of certain kinds (not just any errors) in a project at compilation, then creator's code editor is very slow when deleting characters. In such cases, when deleting a character (and also when selecting several characters and deleting them) one of the CPU cores goes to 100% and creator freezes for one or even more seconds (until it eventually deletes the character(s)).

      I can reproduce this issue by taking a medium size cpp/h "unit" (600 lines in the cpp file) and changing the return type of a frequently used function (e.g. used some 15+ times in the cpp file), then trying to compile, getting those 15+ error messages (plus a lot more error lines related to these messages), and then:
      1) trying to delete a character in the cpp file takes seconds (and one of the CPU cores goes at 100%)
      2) double-cliking an error line (reported in the "issues" tab in creator) takes a second or two until the cursor gets positioned on the offending line in the cpp source file (and one of the CPU cores also goes 100% in this case too)

      This bug appeared in 3.1.0 (it was not present in Creator 3.0.1)

      Attachments

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

        Activity

          People

            dt Daniel Teske
            gyll Gyll
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes