Bug 12180 - Search Causes Radom Pasting - Major Headache
Summary: Search Causes Radom Pasting - Major Headache
Status: RESOLVED ANSWERED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-05-09 09:48 UTC by Matt Cuda
Modified: 2017-01-05 10:58 UTC (History)
4 users (show)

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


Attachments
Screenshot showing wicked pasting bug (115.37 KB, image/png)
2013-06-04 13:18 UTC, Matt Cuda
Details
Showing text editor with search window open (49.27 KB, image/png)
2013-08-29 15:15 UTC, Matt Cuda
Details


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 ANSWERED

Description Matt Cuda 2013-05-09 09:48:13 UTC
Here are the steps which seem to lead to the random problem.  Looks like there was a similar issue out there on Bug 10968

1.  Open designer
2.  Open a view controller
3.  Type (Option + F)
4.  Perform a search
5.  Leave the search window open


Now at random times, the text in the search window or other text on the clipboard will be inserted in random sections of the view controller code window.  The user does not know this has happened, but when he goes to compile, the app will not compile because of all the syntax errors resulting from the automated pasting.
Comment 1 Mike Krüger 2013-05-10 06:01:18 UTC
I assume it's something with the ios designer ? I can't repro anything like that with just a plain editor.
Comment 2 Mikayla Hutchinson [MSFT] 2013-05-10 16:57:28 UTC
Is this the iOS designer or Xcode? Could you screencast it so we can follow your repro steps more closely?
Comment 3 Matt Cuda 2013-06-04 13:18:14 UTC
Created attachment 4067 [details]
Screenshot showing wicked pasting bug

I simply copied two methods from one view controller and pasted them into another.  Went to compile and it had pasted another copy way up the controller.

I think it is taking the caret position of the other view controller and pasting it in the new view controller, but have not confirmed this.
Comment 4 Matt Cuda 2013-08-05 13:20:25 UTC
It is too random to screencast.
Comment 5 Matt Cuda 2013-08-05 13:20:39 UTC
This problem remains in the latest alpha build.
Comment 6 Alan McGovern 2013-08-16 16:56:48 UTC
This bug cannot be unique to the iOS designer because we don't do anything with cs files. We only interact with .storyboard files. If you feel the issue is actually something we're doing wrong, could you please take a look at the ios addin and figure out what the issue is. It is beyond our area of expertise.
Comment 7 Matt Cuda 2013-08-29 15:15:37 UTC
Created attachment 4750 [details]
Showing text editor with search window open

This is what i mean by search.
Comment 8 Mike Krüger 2017-01-05 10:58:11 UTC
Should work in recent versions.