Open tkaken opened 1 month ago
I did some further bisection on the problem and it looks like:
ab483cd3ba39614dacc4f4e3901ac1cf76d413ca is the first bad commit
commit ab483cd3ba39614dacc4f4e3901ac1cf76d413ca
Date: Mon Jan 11 13:56:35 2021 +0100
bug_560861 Class graph does not differentiate same classes in different namespace
The checking should not take place on the display name of the class but on its full name.
src/dotclassgraph.cpp | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
So looks like a bit of a difference between C++ and Java.
Describe the bug
In Doxygen 1.11.0 for Java, a class is displayed twice on the class diagram. This makes the diagram cluttered and will not scale well.
Note that this might be limited to happening when there is a dependency cycle among the classes.
Screenshots
Here are the class diagrams generated using Doxygen 1.11.0. In each case, the twice displayed class is circled.
Here are the class diagrams generated from the same code using Doxygen 1.9.1. In these class diagrams, the circled class is shown just once.
To Reproduce
Source code
Here are the source files used.
Config file
Here is the 1.11.0 config file used:
Here is the Doxygen 1.9.1 config file used:
Files to reproduce the issue
Here is a zip file containing the files you can use to reproduce the issue.
Expected behavior
I expect each class to only be shown on the class diagram once as it was in version 1.9.1.
Version
I had this happen on version 1.11.0 on Windows 10, 64bit.
Additional context
The first version where this incorrect behavior started was in 1.9.2. It still is in 1.11.0 as shown above.