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.
Summary: | Editor does not scroll to cursor after selecting item in Navigator and other "jump to code" places | ||
---|---|---|---|
Product: | cnd | Reporter: | ashpynov |
Component: | Editor | Assignee: | issues@cnd <issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | Dev | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screen record to observe issue |
Please provide info about IDE. This bug should be fixed in Netbeans 8.2 update 1. Product Version: NetBeans IDE Dev (Build nbms-and-javadoc-595-on-20160906) Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 1 Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 7 version 6.1 running on amd64; Cp1251; en_US (nb) User directory: C:\Users\ashpynov\AppData\Roaming\NetBeans\8.2 Cache directory: C:\Users\ashpynov\AppData\Local\NetBeans\Cache\8.2 After manual deinstalation of nbms-and-javadoc-595-on-20160906 nightly and instalation of Product Version: NetBeans IDE Dev (Build 201703150002) issue was gone. I suppose this report can be closed. Is nightly auto updatable via Help -> Check for updates ? (In reply to ashpynov from comment #3) > After manual deinstalation of nbms-and-javadoc-595-on-20160906 nightly and > instalation of Product Version: NetBeans IDE Dev (Build 201703150002) issue > was gone. I suppose this report can be closed. > > > Is nightly auto updatable via Help -> Check for updates ? In most cases no, but sometimes update from one nightly to another works. The preferred way for nightly build is reinstall latest nightly build. I doubt that updating nightly build to release + update 1 will work. |
Created attachment 163852 [details] screen record to observe issue Current steps to reproduce: 1. Get some methods/functions in code more than single page. 2. The current caret position have to be visible at the Editor window. 3. The source code have to be parced. 4. At the Navigator pane double click at the item outside of current Editor visible part. Expected: 1. Focus changed to Editor 2. Caret moved to dbl clicked item 3. Editor scroll position is changed to make carret visible. Actual result: 1. Focus changed to Editor 2. Caret moved to the dbl-clicked item 3. BUT the editor kept current view position. If I press any cursor key or start typing - the editor scrolls to make caret visible. Same issue observe in many other "Go to source" places. E.g at "Navigate->Go to declaration" if source file is already opened - the tab activating, cursor set position in declaration but scroll position is kept.