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 611056 - missing relative path for doxygen.png
missing relative path for doxygen.png
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.3
Other All
: Normal minor
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-02-25 10:33 UTC by Carl R. Werth
Modified: 2010-06-15 11:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Carl R. Werth 2010-02-25 10:33:11 UTC
In method
    htmlgen.cpp: HtmlGenerator::writeFooterFile(QFile &file)
the relative path for doxygen.png is missing.
When CREATE_SUBDIRS is set, the link will be generated incorrect.

Proposal analogous to function writeDefaultHeaderFile:
    << "<img class=\"footer\" src=\"" << relPathStr << "doxygen.png\" alt=\"doxygen\"/>"

It should be set before (as it is also done in writeDefaultHeaderFile):
    relPathStr="$relpath$";

PS:
In method
    htmlgen.cpp: HtmlGenerator::writeHeaderFile(QFile &file)
the file is set to UTF8-mode:
    t.setEncoding(QTextStream::UnicodeUTF8);

Ought this be done to the file for the footer in
    htmlgen.cpp: HtmlGenerator::writeFooterFile(QFile &file)
too?
Comment 1 Dimitri van Heesch 2010-03-14 10:48:49 UTC
Confirmed. I'll add the $relpath$ and set the encoding to UTF8.
Comment 2 Dimitri van Heesch 2010-06-15 11:22:36 UTC
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.