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

[Build Issues pane]: clang-analyzer long line makes IDE unresponsive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.7.0-beta2
    • None
    • Windows

    Description

      Please note the context, there are prerequisites:

      1. Whenever using the GUI selector for checks to perform by clang-analyzer, the command line is immensely long without line breaks in the list of checks.
      2. Some analyzer outputs are multi-line and very verbose, e.g. when there's macrology nesting.

      The issue itself:

      Whenever an immensely long line is added to the build issue list as a warning/error, the entire qt-creator IDE becomes unresponsive, with up to several seconds wait time for an input event response. The lines are shown as single-line and only clicking on them expands them into the verbose form. However, their mere presence slows down the issue list resulting in the aforementioned lack of responsivity.

      Furthermore, it's not necessary to interact with the build issue tab as events for that control. Even in that particular case the mere presence of these lines is slowing down the IDE.

      While I'm unfamiliar with the codebase, a common-sense solution seems to be truncating the lines while they're not expanded in the build issue list. Handling the expand event to show the full content and truncating again when it's no longer expanded on the widget.

       

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              sthalik Stanislaw Halik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes