I also agree that this needs to be addressed. I find it very irritating every time I click the minimap. I often forget how useless clicking it is, and then I will click it only to be scrolled to some unrelated part of the code.

This was configurable in S1, and I believe most users preferred the current behavior there.

The alternate behavior, where clicking on text in the minimap takes you to that text, is more surprising for most people, as after clicking (in a large file) the view rectangle won't be where the mouse cursor is.

It would probably be nice to have the option to do it both ways. It is kind of like having two scrollbars, they both do the same thing, but one is graphical, I can always use the scrollbar to scroll through the minimap, but it would be nice if the minimap gave some extra functionality except just an overview. I personally do not find it intuitive.

facelessuser wrote:It would probably be nice to have the option to do it both ways. It is kind of like having two scrollbars, they both do the same thing, but one is graphical, I can always use the scrollbar to scroll through the minimap, but it would be nice if the minimap gave some extra functionality except just an overview. I personally do not find it intuitive.

jps wrote:This was configurable in S1, and I believe most users preferred the current behavior there.

The alternate behavior, where clicking on text in the minimap takes you to that text, is more surprising for most people, as after clicking (in a large file) the view rectangle won't be where the mouse cursor is.

Hey Jon, what about moving this "quick jump" behavior to middle clicks in scroll-bar (like linux apps do)? With this we could have the other behavior on minimap

jps wrote:This was configurable in S1, and I believe most users preferred the current behavior there.

The alternate behavior, where clicking on text in the minimap takes you to that text, is more surprising for most people, as after clicking (in a large file) the view rectangle won't be where the mouse cursor is.

What if: when the mouse is at the top of the minimap, the minimap is scrolled so that it shows the top of the file, and when the mouse is at the bottom of the minimap, it's scrolled to show the bottom of the file. Anywhere in between it's scrolled proportionately. Now whenever you click it will both show the code you clicked on and put the view rectangle where the mouse cursor is. Could work!

Relatedly, when you click in the minimap, the line you click on is shown at the top of the view. Could it instead be centered in the view?