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 257118

Summary: Go to line does not work when search is active
Product: editor Reporter: everflux <everflux>
Component: NavigationAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description everflux 2015-12-11 17:50:30 UTC
I have a javascript file.
I search  (ctrl-f) for a string, which is found.
I want to go to a line (ctrl-g) and enter the line number, the editor jumps to the specified line, then jumps back to the first search result.
Expected behaviour: Jump to line does work and stays at the specified line.
Comment 1 everflux 2015-12-11 17:53:24 UTC
Note: Bug is only triggered when ctrl-g is immediately issued after a match was found, if cursor is moved or a mouse click is performed, it works.
Comment 2 Jiri Prox 2015-12-14 11:23:08 UTC
reproducible