This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 180031 - Help System: Highlighting inconsistencies in Help Searches
Summary: Help System: Highlighting inconsistencies in Help Searches
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Help System (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Victor Vasilyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-30 17:34 UTC by gliesian
Modified: 2011-11-04 17:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gliesian 2010-01-30 17:34:07 UTC
In the IDE's Help System, when searches are performed, all instances of the search 'word' are not highlighted.

In NetBeans 6.1 search for "database".  For the New Java Desktop Application Wizard: Master Table page, 11 instances are highlighted.

In NetBeans 6.8 search for "database".  For the same New Java Desktop Application Wizard: Master Table page with the same content, only 9 instances are highlighted.  The last two instances are present but not highlighted (this is the problem).

Just go through some of the other files and you will see that sometimes 'database' is highlighted, sometimes it is not... makes you wonder about the algorithm.

Thanks.
Comment 1 gliesian 2010-01-30 17:49:32 UTC
Something else to add...

Upon searching, the list box presents links to sections with the section name listed.

When searching for 'database'... this is true for everthing listed outside of two items which are both listed as "Connecting to a Database".  One incorrectly maps to the SQL History page and the other maps to the Create Table Dialog Box page.

Thanks.
Comment 2 gliesian 2010-01-30 17:51:06 UTC
The last note only applies to NetBeans 6.8... 6.1 appears to be okay with the same search.
Comment 3 Peter Pis 2010-02-01 03:40:00 UTC
Reassigning.
Comment 4 Irina Filippova 2010-02-11 11:26:12 UTC
Victor, 
I have to reassign this issue to you, as I am not aware of the search algorithm for JavaHelp. 
Yes, I do notice inconsistent search results in NB 6.8 - sometimes the search word is highlighted, sometimes not. 
Can you please take a look?

Thanks,
Irina
Comment 5 Victor Vasilyev 2010-03-16 01:11:11 UTC
Help system completely relies on the JavaHelp implementation [1] in highlighting of the found words on the help pages containing these words.

[1] https://javahelp.dev.java.net/

Unfortunately, we can't fix this bug in the NetBeans now.