Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nested \defgroup commands do not work correctly (Origin: bugzilla #577005) #3341

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.5.8-SVN on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2009-03-27 18:38:29 +0000, Matthias Ihrke wrote:

Please describe the problem:
I use an own file to define the structure of modules using multiple nested \defgroup's. In the headerfiles, I only use \addtogroup \ingroup or \weakgroup to add function definitions to the appropriate module.

The resulting module hierarchy is not correct, even in a minimal example where only one file is present:

/**
\defgroup b B
{
\defgroup c C
{
\defgroup d D
\defgroup e E
}
\defgroup f F
}
*/

Running doxygen on this example (latest SVN version), gives a Module-page with the following hierachy:

* A
      o B
            + C 
      o D 
* E 

both in HTML and LaTeX-output.
Obviously, E and D are misplaced, here.

Steps to reproduce:

Actual results:

Expected results:

Does this happen every time?

Other information:

On 2009-03-27 18:40:25 +0000, Matthias Ihrke wrote:

Created attachment 131514
doxyfile used to produce the bug

Sorry, I mixed up the labels. In the file, it starts with 'B', in the result with 'a'.

On 2009-09-09 09:43:50 +0000, skalimer0 wrote:

(In reply to comment # 1)

Created an attachment (id=131514) [details]
doxyfile used to produce the bug

Sorry, I mixed up the labels. In the file, it starts with 'B', in the result
with 'a'.

I Have the same problem
if i include my file where all groups are created like this :

  • \defgroup IdA title A
  • @{
  • \defgroup IdB title B
  • \defgroup IdC title C
  • @}
  • \defgroup IdD title D

in my generated documentation i have the group IdC between the group IdA and IdD

For summary, i want :

IdA
IdB
IdC
IdD

I have, for now :

IdA
IdB
IdC
IdD

On 2009-09-09 09:46:19 +0000, skalimer0 wrote:

I use doxygen 1.6.1 and i have the same problem since 1.4.7 (first i used)

On 2010-06-11 08:46:33 +0000, Matthias Ihrke wrote:

Is anything going to happen to this bug?
It produces the same result with the latest svn-version.

On 2010-06-11 11:10:57 +0000, Dimitri van Heesch wrote:

Hi Matthias,

Thanks for bringing this to my attention again. I'll correct the probelm in the next release.

On 2010-06-11 11:23:45 +0000, Matthias Ihrke wrote:

Great! This will help me a lot. I used the grouping feature quite excessively and was a bit disappointed about the result :-)

Thanks a lot for the great piece of software!

On 2010-06-15 11:21:46 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.0. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.