[Bug 51429] Two Classes view bugs

Mantia Andras amantia at freemail.hu
Tue Jan 7 17:10:09 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=51429     




------- Additional Comments From amantia at freemail.hu  2003-01-07 17:09 -------
Subject: Re:  Two Classes view bugs

> ------- Additional Comments From caleb at aei-tech.com  2003-01-01 03:25
> ------- 1. Okay, after some investigation I found that this is happening
> because you have two Parser classes in the same namespace, but in different
> sub projects. The class view is only smart enough to handle one, so it
> finds the one in kommander/editor.  I'm not sure how high of a priority it
> will be to fix this or if it is even considered a 'bug'.

One more reason why this is a bug: the class view behaves wrong, even if we 
say that it supports only one class with the name Parser in a namespace, when 
you switch to "List by Namespaces". In this case under the Parser will appear 
a mix of the two Parser classes methods, and:

1. clicking on the Parser node opens the first parser.h (from the kommander 
subproject).

2. clicking on the Parser ctor opens the second parser.h and the corresponding 
parser.cpp.

BTW it's pretty bad that subprojects are in the same namespace, as usually 
they are not tighted to the main project, both works and can be released 
separately, and as the classes with same name does not conflict during 
compilation/linking/runtime, they shouldn't cause any conflict for KDevelop 
either. Of course, it's possible to develop even in this case, but this is 
definetly a bug. If you wish I reopen this bug report or create  a new one 
for this.

Andras




More information about the KDevelop-devel mailing list