After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 688858 - SHORT_NAMES break references to \page in PDF output
SHORT_NAMES break references to \page in PDF output
Status: VERIFIED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.2
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-11-22 09:13 UTC by Brice Goglin
Modified: 2013-11-11 14:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase to reproduce the problem (861 bytes, application/x-gzip)
2013-07-20 07:01 UTC, Brice Goglin
Details
fixed the testcase (943 bytes, application/x-gzip)
2013-07-20 07:04 UTC, Brice Goglin
Details

Description Brice Goglin 2012-11-22 09:13:44 UTC
Hello,

doxygen generates broken references to pages in the PDF output of the hwloc project documentation. This seems to be related to SHORT_NAMES=yes.
The HTML output is fine.

I am attaching a small testcase. Just unpack, enter the directory, and run
$ doxygen doxygen.cfg
$ cd doc/latex
$ pdflatex refman.tex

If you open doc/html/index.html, you'll see that all links in "Introduction" work. If you open doc/latex/refman.pdf, you'll see that the link to the section work while the page link points to PDF first page.

I get in the pdflatex output:
 pdfTeX warning (dest): name{a00001} has been referenced but
 does not exist, replaced by a fixed one

While debugging, I found out that the bug disappears when SHORT_NAMES=no.

This bug exists with 1.8.2 but I verified in our old releases' documentation, it has existed for at least 18 months (1.7.4).

thanks
Brice
Comment 1 Simon A Watts 2012-11-26 16:21:01 UTC
I'd like to confirm that we also experienced this with the version of Doxygen current as of April 2011.  I certainly saw the '{a00001}' links in latex output which caused the visible problem.

This affected the subpage links in PDF output - meaning that we could only ship the (unaffected) HTML documentation for that project.

We were unable to isolate the issue at the time.
Comment 2 Brice Goglin 2013-03-06 14:27:56 UTC
Any chance somebody fixes this bug?
thanks
Brice
Comment 3 Brice Goglin 2013-07-20 07:01:44 UTC
Created attachment 249677 [details]
testcase to reproduce the problem

Forgot to attach it earlier
Comment 4 Brice Goglin 2013-07-20 07:04:58 UTC
Created attachment 249678 [details]
fixed the testcase
Comment 5 Dimitri van Heesch 2013-08-04 09:58:36 UTC
Confirmed. Should be fixed in the next GIT update.
Comment 6 Brice Goglin 2013-08-04 21:09:51 UTC
Yeah latest GIT looks OK, thanks! Let's hope my other bug report #688861 will get fixed soon as well :)
Comment 7 Dimitri van Heesch 2013-08-23 15:04:19 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.5. 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.
Comment 8 Brice Goglin 2013-11-11 14:41:17 UTC
Sorry for the delay, I was hoping there would be a fix for #688861 before testing all what I need, and forgot completely.

#688858 is indeed fixed in 1.8.5.

Thanks.