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 666568 - Browser based search not working in output generated by 1.7.6.1 on Windows 7
Browser based search not working in output generated by 1.7.6.1 on Windows 7
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.6.1
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-12-20 02:36 UTC by mike
Modified: 2012-02-25 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Basic config+source example including generated output on Windows (94.33 KB, application/x-zip-compressed)
2011-12-20 02:36 UTC, mike
Details

Description mike 2011-12-20 02:36:38 UTC
Created attachment 203924 [details]
Basic config+source example including generated output on Windows

I am successfully generating Doxygen HTML output with Doxygen 1.7.6.1 on Windows 7 for a collection of C header files.

I've requested a local search facility via the following settings

SEARCHENGINE           = YES
SERVER_BASED_SEARCH    = NO
GENERATE_TREEVIEW      = YES
GENERATE_HTML          = YES
HTML_OUTPUT            = html

and the HTML does display a search box when rendered. The doxygen logs do not contain any errors, and include the line

Generating search indices...

However, when displayed in a browser (IE, FF) the search functionality does not work. Examination of the Javascript code in search/search.js reveals the following code 

var indexSectionsWithContent =
{
};

which causes a JS error when text is entered in the search box, and the search directory does not contain any .html index files which the code appears to expect.
Comment 1 Dimitri van Heesch 2011-12-23 11:13:07 UTC
Confirmed. The main problem was that the function was only part of group (due to SHOW_FILES=NO) and was not indexed in this case. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2012-02-25 15:37:37 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.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.