Bug 179481 - "Show uses" freezes editor
Summary: "Show uses" freezes editor
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2009-01-03 12:41 UTC by Thomas McGuire
Modified: 2018-10-27 04:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas McGuire 2009-01-03 12:41:18 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

When I click "Show uses" in the code browser, KDevelop freezes for a few seconds until it shows the progressbar.
Comment 1 Andreas Pakulat 2009-01-24 00:25:52 UTC
is this still a problem?
Comment 2 David Nolden 2009-01-30 20:06:53 UTC
Collecting all the interesting top-context and loading them happens in the foreground thread, that's the reason. But this shouldn't happen any more now that the environment-management was even more simplified.
Comment 3 Thomas McGuire 2009-03-14 17:01:51 UTC
Actually, it still freezes for a few seconds with big classes, so I reopened.
Comment 4 Andreas Pakulat 2009-07-25 15:02:35 UTC
IMHO this is a wontfix, loading lots of data simply is time-consuming and I'm pretty sure there are good reasons that this is done in the foreground thread, right David?
Comment 5 David Nolden 2010-01-10 20:16:58 UTC
The alternative to freezing is using multi-threading and showing a progress-bar meanwhile or something like that. Then it would be more 'elegant', but it's quite a bit of work for not much benefit, as you cannot use KDevelop meanwhile anyway.
Comment 6 lxg 2011-02-08 18:10:33 UTC
I have the same, even on files where there is no project at all, just one simple PHP file. When I erroneously click on "show uses", the progress bar starts running to 25%, then KDevelop freezes. Not only for some seconds, but completely.

$ kdevelop -v
Qt: 4.7.1
KDE Development Platform: 4.6.00 (4.6.0)
KDevelop: 4.2.0
Comment 7 Kevin Funk 2012-12-23 00:00:23 UTC
Still an issue? Never experienced that.
Comment 8 lxg 2012-12-23 09:42:22 UTC
(In reply to comment #7)
> Still an issue? Never experienced that.

Sorry, I can't test this, as I currently don't have any projects where I can use this feature -- at least it seems not to work with PHP namespaces.
Comment 9 Andrew Crouthamel 2018-09-24 02:19:17 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 set the bug status 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 10 Andrew Crouthamel 2018-10-27 04:08:22 UTC
Dear Bug Submitter,

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!