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 773693 - Generated QCH files are missing dynsections.js & jquery.js, result in broken display
Generated QCH files are missing dynsections.js & jquery.js, result in broken ...
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.13-GIT
Other Linux
: Normal major
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2016-10-30 10:26 UTC by kossebau
Modified: 2016-12-29 18:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kossebau 2016-10-30 10:26:54 UTC
(First bug report ever, so first a "Thank you for doxygen!" as happy user and ever more consumer of lots of documents generated with it)

When creating a QCH file with doxygen the generated HTML has hard-coded usage of JavaScript from the files dynsections.js and jquery.js (not sure about the latter, but at least hardcoded as script include). While those two files are being copied into the HTML folder during generation, they are not added to the indexlist and thus the index.qhp file, thus also not included into the resulting QCH file by qhelpgenerator. Which breaks of course the usage in any QCH viewer, as e.g. dynamic sections cannot be unfolded due to the missing code.

Which makes QCH files generated from current doxygen unusable to a certain degree :(

There is a related report on the forum from >2 years ago, which though seems to never have also been filed with the bug tracker. Linking here for some more context:
https://sourceforge.net/p/doxygen/discussion/130996/thread/f30fd882/

Have a patch as proposal for a fix upcoming as review request.
Comment 1 kossebau 2016-11-04 10:54:54 UTC
Patch proposal now up as pull request: https://github.com/doxygen/doxygen/pull/541
Comment 2 Dimitri van Heesch 2016-11-04 19:27:00 UTC
Thanks, I've merged the pull request
Comment 3 Dimitri van Heesch 2016-12-29 18:45:42 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.13. 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 (preferably in the form of a self-contained example).