Scrolling with location pane loses cursor position
When you scroll with the scroll bar the cursor is not affected. When you scroll with the side location pane, the cursor position is lost (unless there's an option which I didn't spot). This causes a problem if you are scrolling to a new position with the pane in order to highlight an area for committing across, whereas I can see no advantage in the cursor moving since even if you wanted the cursor in the new position the scrolling is not exact such that it will fall in the right place except by luck. It's not entirely clear to me what formula is actually determining what the new cursor location becomes. I can see though that scrolling with the scroll bar does the same movement but keeps the cursor but in my view that's not intuitive to the user who will often want to drag the location scroller, so my recommendation would be to maintain the cursor position when scrolling with the location pane.
Cheers! David
Totally seconded, especially inconvenient when trying to use "Add synchronization point".
This happens because when you click on the location pane views before scrolling, it moves the caret to the corresponding line. However, if you simply scroll with the mouse wheel without clicking, the caret won’t move.
Here’s the code that handles this behavior:
In my opinion, this is an intentional feature, not a bug.
That said, if some of you find this behavior annoying, I can add an option to the Location Pane context menu to disable it. But to keep things as simple as possible, I think this option should only apply to the current session and not be saved permanently.