Summary: | When importing classes or a project, hangs and eats resources | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Ben Boeckel <bugzilla.kde> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jordigh, nicolabrisotto, okellogg, plegal, ralf.habacker, rasasi78 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Ben Boeckel
2008-09-10 22:52:34 UTC
I've found the same behaviour with: Qt: 4.4.3 KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2)) Umbrello UML Modeller: 2.1.85 on Ubuntu 8.10 I'm trying to import the script directory from qt's git, commit 62f3b988c328726ad966a1a9c73b17544c76b336. I can confirm this bug. Try it with the following code, for example: http://inversethought.com/hg/hgwebdir.cgi/rbf-ddm/ I also confirme the bug but I've a suggestion about the problem : if the imported C++ header file contain only the necessary #include ... it works well. The bug come only if the .h contain unnecessary #include (C++ writing style bug) Do you mean it happens if files #include each other? In that case, the fix might be simple: make Umbrello obey #include guards. Hi (with some late...), I've no time for the moment to dig the problem. I just noticed that if I suppress the unnecessary #include in the header file, class import works well. I'll test soon if it was a recursive include. Philippe Le samedi 14 novembre 2009 18:56:20 jordigh@gmail.com, vous avez écrit : > https://bugs.kde.org/show_bug.cgi?id=170827 > > > > > > --- Comment #4 from <jordigh gmail com> 2009-11-14 18:56:18 --- > Do you mean it happens if files #include each other? > > In that case, the fix might be simple: make Umbrello obey #include guards. > Hi. I also noticed this bug in version 4.8.4 (Debian Wheezy), however I backported 4.13.1 and I'm unable to reproduce the problem. I think it'd be interesting if anyone could confirm this. Regards, (In reply to comment #2) > I can confirm this bug. Try it with the following code, for example: > > http://inversethought.com/hg/hgwebdir.cgi/rbf-ddm/ link is outdated. I got: Mercurial repository not found The specified repository "rbf-ddm" is unknown, sorry. Please go back to the main repository list page. On Wed, 2014-06-04 at 19:02 +0000, Ralf Habacker wrote: > https://bugs.kde.org/show_bug.cgi?id=170827 > > http://inversethought.com/hg/hgwebdir.cgi/rbf-ddm/ > link is outdated. I got: Got moved here: http://inversethought.com/hg/kwantix - Jordi G. H. (In reply to comment #8) > > Got moved here: > http://inversethought.com/hg/kwantix Thanks. I downloaded kwantix-b3bf4ac981ec.tar.bz2 of 2014-06-05 and did Code ->Import Project... on the src/include directory. That worked without any noticeable delay. (In reply to Oliver Kellogg from comment #9) > I downloaded kwantix-b3bf4ac981ec.tar.bz2 of 2014-06-05 and did > Code ->Import Project... > on the src/include directory. That worked without any noticeable delay. which version do you have used ? With version 2.12.80 the cpp parser has been upgraded to kdevelop version 3.5 and may have fixed the issue. (In reply to Ralf Habacker from comment #10) > (In reply to Oliver Kellogg from comment #9) > > I downloaded kwantix-b3bf4ac981ec.tar.bz2 of 2014-06-05 and did > > Code ->Import Project... > > on the src/include directory. That worked without any noticeable delay. > which version do you have used ? > With version 2.12.80 the cpp parser has been upgraded to kdevelop version > 3.5 and may have fixed the issue. I guess the cpp parser update fixed the issue. To double check, I tried again using the current release/19.12 branch and the files are imported within one to two seconds. |