Community
Participate
Working Groups
Build Identifier: 20120614-1722 Open Declaration changes the view to show the source but scrolling causes editor to snap to top of file. Appearing in the Juno JEE package Reproducible: Always Steps to Reproduce: 1. Hover over a method reference to another class 2. Make sure the target class is not open in an editor tab 3. Command-click ("Open Declaration") 4. The editor will switch to the target class, showing the declaration 5. Notice that the scrollbar in this editor is not in the correct place (it's at the very top) 6. Use the scroll-wheel to move through the file 7. The editor snaps back to the top of the file 8. Using the arrow keys moves the view back to the correct part of the file (i.e. the insertion point is still correct) To see the workaround, repeat 1-5 above, then: 6. Use the arrow keys to move the insertion point outside what you can currently see (so the editor has to render some new lines) 7. Notice the scrollbar moves to the correct point in the file 8. Using the scroll-wheel now correctly moves from the insertion point
*** This bug has been marked as a duplicate of bug 375576 ***