Bug 5324 - Source garbles if closed and reopened with build errors highlighted
Summary: Source garbles if closed and reopened with build errors highlighted
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-05-25 08:15 UTC by Gary____
Modified: 2012-05-30 07:00 UTC (History)
1 user (show)

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

Screencast (1.17 MB, application/x-shockwave-flash)
2012-05-29 05:22 UTC, Gary____

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 Gary____ 2012-05-25 08:15:12 UTC
If I try to run a program and get errors listed in the source view, close the source page, then open it again from solution explorer, clicking on lines in the source garbles the text / makes the line disappear. Moving the focus outside monodevelop and back again resolves the issue.

3.2 Download
Comment 1 Gary____ 2012-05-25 08:42:32 UTC
I occasionally get this behaviour at other times too, eg once in 3.1 when an auto recovered doc was first opened after a crash. (I had 2 crashes in 2 days with 3.1, but I cant tie them to anything specific).
Comment 2 Mike Krüger 2012-05-29 04:49:34 UTC
Can't reproduce - a screencast would help.
Comment 3 Gary____ 2012-05-29 05:22:49 UTC
Created attachment 1978 [details]
Comment 4 Mike Krüger 2012-05-30 07:00:08 UTC
I still can't repro the issue, but it looks like the height calculation has done something bad.

I've found a threading bug in the calculation today & fixed that.
(That may be the reason why I've problems to see it)