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

INLINE_GROUPED_CLASSES=YES fails with GROUP_NESTED_COMPOUNDS=NO #10350

Closed
yuriishutkin opened this issue Oct 10, 2023 · 5 comments
Closed

INLINE_GROUPED_CLASSES=YES fails with GROUP_NESTED_COMPOUNDS=NO #10350

yuriishutkin opened this issue Oct 10, 2023 · 5 comments
Labels
bug HTML HTML / XHTML output LaTeX RTF

Comments

@yuriishutkin
Copy link

Describe the bug
If define INLINE_GROUPED_CLASSES=YES and there are nested classes inside a group, inconsistent refman.tex is generated - inner class apears in class documentation as a separate input entry but it is not generated. As a result latex fails.

Expected behavior
Nested classes inside a group with INLINE_GROUPED_CLASSES=YES do not appear as separated input entry in class documentation.

To Reproduce
Set INLINE_GROUPED_CLASSES=YES (keep GROUP_NESTED_COMPOUNDS=NO) and run the following file:

/**
 *  \defgroup test_group Test group
 *  \{
 */
 
//! TestOuter
class TestOuter {
public:
    //! TestInner
    class TestInner {
	public:
        TestInner()  {
        }
    };
};
 
/**
 *  \}
 */

in refman.tex:

\chapter{Class Documentation}
\input{class_test_outer_1_1_test_inner}

Manual setting \ingroup test_group for the inner class or setting GROUP_NESTED_COMPOUNDS=YES globally solves the issue but puts all nested compounds to the group class list that can be not intended.

Version
1.9.8

@albert-github albert-github added bug LaTeX RTF HTML HTML / XHTML output labels Oct 10, 2023
@albert-github
Copy link
Collaborator

I also see problems with the other output formats.
Using as Doxyfile just:

QUIET = YES
INLINE_GROUPED_CLASSES=YES
GROUP_NESTED_COMPOUNDS=NO

@albert-github
Copy link
Collaborator

Looks like the problem is introduced by:

Commit: 3b314b5d856f6f7a25d512737e640a6b7b17c8d4 [3b314b5]
Date: Monday, July 27, 2015 6:29:52 PM
Actually using value of GROUP_NESTED_COMPOUNDS option

though before the GROUP_NESTED_COMPOUNDS was not taken into account at all so not correct either.

Might be related to #5445 and #5814

@doxygen any idea?

@doxygen
Copy link
Owner

doxygen commented Nov 5, 2023

@yuriishutkin Please verify if the referenced commit fixes the problem for you. Do not close the issue, this will be done automatically when the next official version is released.

@yuriishutkin
Copy link
Author

Confirm. It works fine now.

@albert-github albert-github added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Nov 7, 2023
@doxygen
Copy link
Owner

doxygen commented Dec 25, 2023

This issue was previously marked 'fixed but not released',
which means it should be fixed in doxygen version 1.10.0.
Please verify if this is indeed the case. Reopen the
issue if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).

@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Dec 25, 2023
@doxygen doxygen closed this as completed Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug HTML HTML / XHTML output LaTeX RTF
Projects
None yet
Development

No branches or pull requests

3 participants