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 257970 - All goto-entries are lowercase while scanning
Summary: All goto-entries are lowercase while scanning
Status: RESOLVED WONTFIX
Alias: None
Product: utilities
Classification: Unclassified
Component: Jump To (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-13 13:11 UTC by markiewb
Modified: 2016-06-20 07:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue (342.50 KB, image/png)
2016-02-13 13:11 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2016-02-13 13:11:36 UTC
Created attachment 158482 [details]
Shows the issue

While indexing/scanning the projects the results in the goto-list box are always lowercase. See screenshot. 

Why?
Comment 1 Tomas Zezula 2016-06-20 07:41:09 UTC
The names are lowercased and have no icon as they are not yet computed.
The scan probably slows down the computing due to IO contention. There is not mutual exclusion among scan and resolution of names, in other words the names are computed before the scan finishes.

Such a behaviour was introduced in NB 7.0 to make the go to symbol faster (for large projects and generic query like "get" 50 times). The goto symbol query has 2 steps. The first step is a query the index returning the classes containing a matching symbol. The second step is to read the elements from the matched classes (much slower). Before NB 7.0 both steps were done before the entries were displayed. In NB 7.0+ only the first step is done and the step 2) is done only for displayed items. There is much less displayed items compared to matched items. When you scroll down another items are resolved.

Unless the items are resolved the icons and exact case for case insensitive queries is unknown.