Priority: Not Evaluated
Affects Version/s: Qt Creator 4.7.0-beta2
Fix Version/s: None
Component/s: Project & Build Management
Please note the context, there are prerequisites:
- 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.
- 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.