Community
Participate
Working Groups
After opening a new file at a given location (using Open Declaration, for example) the view is focused on the relevant lines (e.g. 90-180) but the scrollbar is at the top. If I try to scroll the view suddenly jumps to where the scrollbar is and starts scrolling from there. If the file is already open when using Open Declaration this doesn't happen, the scrollbar is where it should be. Steps to reproduce: A.java public class A { public static void a() { B.b(); } } B.java public class B { <<many blank lines or code>> public static void b() { } } 1) A.java is open, B.java is closed 2) Ctrl+click in b(), opens B.java, the view is not at the top but the scrollbar is 3) Scroll with the mouse wheel, the view jumps to the top 4) If I retry with B.java opened from the beginning it works fine
4.2.1 contains a workaround for that bug. *** This bug has been marked as a duplicate of bug 375576 ***