Bug 16617 - Subtle mouse selection bug
Summary: Subtle mouse selection bug
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: Trunk
Hardware: PC Mac OS
: Normal minor
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-12-05 09:41 UTC by Marek Habersack
Modified: 2017-07-21 13:24 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:
RESOLVED NOT_REPRODUCIBLE

Description Marek Habersack 2013-12-05 09:41:33 UTC
The issue is that in certain situations, when selecting text in a very specific way (more below) and typing to overwrite it causes the insertion point to be positioned a few characters after the end of selection which puts part of the replacement to appear not where the original selection started. 

The screencast shows the problem http://screencast.com/t/vjIZwFqsCz0

To reproduce this you need a mac machine, an apple touchpad and your OSX configured to register taps and clicks. In this mode there are two ways the OS interprets the taps - quick double-tap results in the word underneath the mouse cursor to be selected while a double-tap with a slightly longer pause between taps starts the selection mode in which you can slide your finger on the touchpad without depressing it or holding shift to select any amount of text. 

After the above configuration is active you need to enter the selection mode by double-tap, select some text and start typing immediately. It should result in the issue presented above.
Comment 1 Mike Krüger 2013-12-09 01:58:16 UTC
I think next time we met you need to show me how to do it.
Comment 2 Adam Hartley [MSFT] 2017-07-21 13:24:12 UTC
Thanks so much for taking the time to submit this report! I attempted to reproduce this issue based on the bug description with the latest Visual Studio 2017 for Mac Preview version 7.1, and I was unable to hit the problem. If this issue is still occurring for you, please reopen this report.