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 254027

Summary: Search in Shortcuts is not done by comparing strings
Product: editor Reporter: stwr
Component: Key bindingsAssignee: Jiri Prox <jiriprox>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Shortcut search result

Description stwr 2015-07-31 10:43:52 UTC
Created attachment 155078 [details]
Shortcut search result

Product Version: NetBeans IDE 8.1 Beta (Build 201507302201)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\cendrowiczm\AppData\Roaming\NetBeans\8.1beta
Cache directory: C:\Users\cendrowiczm\AppData\Local\NetBeans\Cache\8.1beta

Test Case --> http://services.netbeans.org/synergy/client/app/#/case/2171/suite/1788/v/1

According to the expected result I should expect shortcuts with 'F1' when 'F11' is entered in the search field. It is not the case. See the picture.
Comment 1 manikantannaren 2015-08-03 03:26:32 UTC
I think it is the correct behaviour - for an entity F11, it gets all key combination short cuts.
Comment 2 stwr 2015-08-03 05:28:01 UTC
(In reply to manikantannaren from comment #1)
> I think it is the correct behaviour - for an entity F11, it gets all key
> combination short cuts.

Try F1.
Comment 3 Jiri Prox 2015-08-05 13:14:29 UTC
The formulation in the test specification was not clear enough. I've corrected it to:


List is reduced to action with shortcut containing entered shortcut. (comparing is done as strings, e.g. when searching for F1 the shorcuts containing F11 are returned as well)