Bug 5881 - Clicking on minimap scrolls to the wrong position
Summary: Clicking on minimap scrolls to the wrong position
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: Trunk
Hardware: PC Windows
: Low normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-06-27 03:49 UTC by Lopatkin Ilja
Modified: 2012-07-02 05:33 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Bug demonstration (1.56 MB, application/octet-stream)
2012-06-27 04:55 UTC, Lopatkin Ilja

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Lopatkin Ilja 2012-06-27 03:49:44 UTC
I don't understand how does minimap work. I expect that click on some position in the minimap will center the editor on it. Instead, sliding window moves to some different location above or below the place where I've clicked. And I can't see no system in this behaviour.
Is it a bug or some strange feature?
Comment 1 Mike Krüger 2012-06-27 04:24:56 UTC
It's a bug - no that's not a feature.

I suppose it's not calculating the folded regions correctly.
Comment 2 Lopatkin Ilja 2012-06-27 04:55:17 UTC
Created attachment 2122 [details]
Bug demonstration

This happens even if no region is folded. The behaviour is demonstrated on the video.
Comment 3 Mike Krüger 2012-06-27 08:10:06 UTC
Y true - that seems to be more than 1 bug - the rendering position of the minimap component is wrong.

I need to invest more time in that thing - atm the development in that area is stalled.
Comment 4 Mike Krüger 2012-07-02 05:33:16 UTC