Community
Participate
Working Groups
Build Identifier: M20100211-1343 Navigation via Back(Alt-Left)/Forward(Alt-Right) is not working properly if multiple editors are opened for the same Java file (context menu on editor tab "New Editor"). Reproducible: Always Steps to Reproduce: --------------------------------- public class Class1 { public void method1() { new Class2().method2(); } } -------------------------------------- public class Class2 { public void method2() { } } --------------------------------------- 1. Open Class1 2. position cursor on call of method2 (line 3) 3. Press F3 to navigate -> editor for Class2 is opened and cursor is positioned correctly on method2 4. Open a second edtitor for Class1 via context menu "New Editor" on editor tab 5. position cursor again on call of method2 (line 3) 6. Press F3 to navigate -> editor for Class2 is opened and cursor is positioned correctly on method2 7. Press Back (Alt-Left) => the first editor for Class1 is brought to top. We expect that the second editor for Class1 should be brought to top.
Problem occurs on Linux and Windows systems.
This is not JDT specific. The navigation history only has the editor input (model) information. It's like that since the beginning. Simpler test case: 1. open any kind of file in an editor 2. editor tab > New Editor 3. open another file in an editor 4. Navigate back (Alt+Left) ==> jumps to first editor
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.