Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
When double-clicking on an error in the file pad, if the file was not already open, then MonoDevelop positions the scrollbars such that the caret is just inside in the top left of the editor. This means that it is scrolled horizontally to the right, which is really annoying.
I *think* I've finally figured out the issue and fixed this in git. The problem seemed to be that the cursor scrolling code was being invoked *before* a window size had been properly allocated, and thus the adjustment page size and the allocation.width/height were all 1 which makes the math all wrong.
Instead, what we want to do, is wait until SizeAllocated and then invoke the scroll. There was already logic for this, but it assumed that IsRealized was only ever true if the size had already been requested.