Bug 375557

Summary: No indication of cppcheck being run in background
Product: [Applications] kdevelop Reporter: Alexander Potashev <aspotashev>
Component: Analyzer: CppcheckAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: anton
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 5.3.0
Sentry Crash Report:

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.