Bug 373640 - kdev-python continues to parse after "Stop All" and even "Close Project"
Summary: kdev-python continues to parse after "Stop All" and even "Close Project"
Status: RESOLVED WORKSFORME
Alias: None
Product: kdev-python
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: git master
Platform: Compiled Sources All
: LO normal
Target Milestone: ---
Assignee: Sven Brauch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-14 10:10 UTC by RJVB
Modified: 2022-11-26 05:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RJVB 2016-12-14 10:10:26 UTC
The summary pretty much says it all:

The current master/head (b36edbb6c54a462cc6d72c344c0f760d5a7c2248) continues to parse all python files (even those not shown in the project manager view) after clicking "Stop All" and even after having closed the project.
Comment 1 Francis Herne 2016-12-14 12:31:11 UTC
AFAIK, "Stop All" isn't intended to have that effect - it stops build/debug/exec/test jobs of the project that are launched from KDevelop, not internal parsing.

Parsing data and jobs belong to the session, not the project - you might notice that when creating a new session kdev-python has to start parsing /usr/lib/python3.?/ from scratch.

Why are you trying to do this at all?
Comment 2 RJVB 2016-12-14 12:55:46 UTC
If jobs show up under the "Stop" button, they should react to the "Stop All" button to, as far as I'm concerned. And as far as I can tell, C (C++ etc) parsing jobs do this.

I've never tried closing a C++ project as a last resort to stopping the parser because I never had to, but I would expect that the clang plugin doesn't keep on parsing a project that's no longer part of the session.

Why would I try stopping the parser? When it eats unwarranted CPU cycles and spews tons of output to the calling terminal. Kdev-python is very good at that 2nd thing.
Comment 3 Justin Zobel 2022-10-27 02:49:01 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-11-11 05:19:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-11-26 05:17:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!