Bug 9721 - Text selection is unreliable.
Summary: Text selection is unreliable.
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-01-22 18:27 UTC by Rune Skovbo Johansen
Modified: 2013-03-01 05:50 UTC (History)
2 users (show)

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

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:
Status:
VERIFIED FIXED

Description Rune Skovbo Johansen 2013-01-22 18:27:54 UTC
Basic text selection is unreliable. Half the time I copy-paste something, I find upon pasting that the first character is missing. I made this screen-cast to demonstrate:

http://screencast.com/t/mZTDALtB1

It has been this way in MonoDevelop always and still is in version 3.0.6 which I use now. I use Mac OS X 10.6.8.

It looks like the buggy behavior is more likely to happen the faster the mouse cursor is moved, which leads me to guess that the start of the text selection is only tracked from the mouse position of the first drag event instead of from the mouse position of the mouse-down event.
Comment 1 Mike Krüger 2013-01-23 07:08:03 UTC
Was hard to reproduce it :) - but you were right that the position of the mouse down event wasn't taken.

/fixed
Comment 2 Saurabh 2013-03-01 05:50:05 UTC
Today we have checked this issue with following builds:

Mac Lion and Mountain Lion.
X.S 4.0 - 1c3e943ebec6a7d6e695af9f7a1808ac5bafdb21
MT 6.2.1.187
Mono - 2.10.11 (mono-2-10/2baeee2)

Now selection is working fine. As when we select text it does not exclude first character. Below is the screencast for the same: 
http://screencast.com/t/bFDCR79F1

Changing the status to Verified.