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.
is this still a problem?
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.
Actually, it still freezes for a few seconds with big classes, so I reopened.
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?
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.
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
Still an issue? Never experienced that.
(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.
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!
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!