Bug 375557 - No indication of cppcheck being run in background
Summary: No indication of cppcheck being run in background
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Analyzer: Cppcheck (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-25 17:34 UTC by Alexander Potashev
Modified: 2018-08-21 18:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2017-01-25 17:34:18 UTC
After clicking Analyze -> Cppcheck (Current Project), the Cppcheck tool view opens, but it's empty and does not say that anylysis is in progress which is very misleading.
Comment 1 Anton Anikin 2017-02-14 02:45:02 UTC
Hi, Alexander.

This behavior is caused by internal logic of StatusbarProgressWidget, which don't show any progress bar, if job's lifetime is shorter than 1 second. It seems to be a good choice in general, but I agree with you about misleading in some cases like your example :(

P.S. I also tried to fix this in https://phabricator.kde.org/D2792 but abandon the revision after discussion.
Comment 2 Alexander Potashev 2017-02-26 18:03:31 UTC
I didn't complain about the StatusbarProgressWidget's behaviour, what I suggest is to:

 1. Add a row saying "Analysis is in progress, expect more problems to come..." into the Problems view, when cppcheck is in progress.
 2. Display a message "No problems found." in the Problems view, after cppcheck finished with no output.