Bug 5129 - copy/paste broken
Summary: copy/paste broken
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 3.0.x
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
: 5399 5660 ()
Depends on:
Blocks:
 
Reported: 2012-05-16 14:37 UTC by Scott
Modified: 2016-11-13 19:23 UTC (History)
6 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 FIXED

Description Scott 2012-05-16 14:37:52 UTC
I cannot copy/paste code correctly from within mono develop.
I'm using the cmd+c and cmd+v to copy/paste on a macbook pro.
It appears to have older "copied" contents in the clipboard and pastes that instead of the text I had just copied.

I cannot tell you how annoying and how debilitating this problem is.
It makes it very difficult to copy/paste code from the editor into an email to share with other developers.
Comment 1 Mikayla Hutchinson [MSFT] 2012-05-16 14:40:18 UTC
I can't reproduce this. Does it always happen, or just in some cases? Can you give us the system information from the MD About dialog?
Comment 2 Scott 2012-05-16 14:43:25 UTC
It seems to always happen now that I've upgraded to 3.0.

Perhaps I need to be more specific about the error.
I just noticed that it will NOT let me copy/paste from mono develop to another application like email or textedit.  It seems to work fine when copy/paste is WITHIN mono develop.
Comment 3 Scott 2012-05-16 14:45:05 UTC
This is weird.  I can copy from mono develop to open office.  This works for some strange reason.
But I still cannot copy from mono develop to email or textedit.
Comment 4 Scott 2012-05-16 14:47:10 UTC
I'm running Mac OS X 10.7.4 (2 GHz Core i7) with 8GB of Memory.

I have Mono Develop 3.0, Mono 2.10.9, and Monotouch 5.2.11
Comment 5 Mikayla Hutchinson [MSFT] 2012-05-16 15:18:06 UTC
I still can't repro this, I can copy/paste into textedit fine. Do you get any error dialogs? Is there any error in the MonoDevelop log?

You can find it in ~/Library/Logs/MonoDevelop-3.0/MonoDevelop.log

Could you include the system information from the MonoDevelop About box? It would be helpful to have some of the other information from that dialog, such as the Mono package version.
Comment 6 Mike Krüger 2012-05-17 12:45:06 UTC
Which type of file are you using - csharp ?
Comment 7 Scott 2012-05-17 12:46:49 UTC
Yes, I'm using csharp.
Comment 8 dj_technohead 2012-05-18 14:38:50 UTC
I am also seeing the same problem, with MD 3.0. Copy via shortcut or menu does not work. It was working fine until I updated to 3.0.

MonoDevelop 3.0 (3.0.1)
Installation UUID: 76e1f9da-43b6-45be-9fb9-35a2e3047ca7
Runtime:
	Mono 2.10.9 (tarball Mon May  7 20:25:51 EDT 2012)
	GTK 2.24.10
	GTK# (2.12.0.0)
	Package version: 210090011
Mono for Android not installed
Apple Developer Tools:
	 Xcode 4.3.1 (1176)
	 Build 4E1019
Monotouch: 5.2.11
Build information:
	Release ID: 30001000
	Git revision: 6642975fcf75fabbaf71a2ce79cdd65cd7db812a-dirty
	Build date: 2012-05-14 11:09:56+0000
	Xamarin addins: a1563f182f5d7a68e0ba06beda0a39f9fe073016
Operating System:
	Mac OS X 10.7.3
	Darwin Denniss-MacBook-Air.local 11.3.0 Darwin Kernel Version 11.3.0
	    Thu Jan 12 18:47:41 PST 2012
	    root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
Comment 9 dj_technohead 2012-05-18 14:40:39 UTC
I just realised, this only occurs when editing non code files, in this case I was trying to copy text from a .txt file.
Comment 10 Mike Krüger 2012-05-18 16:26:30 UTC
Ok then it's fixed in master.
Comment 11 Mikayla Hutchinson [MSFT] 2012-05-29 15:11:42 UTC
*** Bug 5399 has been marked as a duplicate of this bug. ***
Comment 12 Scott 2012-06-13 10:01:57 UTC
I wanted to inform you that this problem occurs when attempting to copy/paste from .xml files using the editor in MonoDevelop.
Comment 13 Mikayla Hutchinson [MSFT] 2012-06-13 12:04:45 UTC
This should be fixed in MD 3.0.3.
Comment 14 Mikayla Hutchinson [MSFT] 2012-06-14 20:16:54 UTC
*** Bug 5660 has been marked as a duplicate of this bug. ***
Comment 15 Sergey Khabibullin 2013-03-21 02:56:09 UTC
4.0, Linux. Exactly the same bug for xml files!
Comment 16 Pavel Zavoiskikh 2016-11-13 19:23:16 UTC
Mac OS X. Happens ALL THE TIME. Really frustrating. Version 6.1.1. I installed, reinstalled different versions of Xamarin since this spring, and it always had this bug. Also - mono develop has this same bug! I am thinking this has to do with me having two languages installed on the system (two keyboard layouts). It must be because of this that you couldn't see this bug, because sorry, but you cannot expect people to work with this bug being reproduced as often as it is reproduced for me and my colleagues (who also have russian layout in the system as well as english). So several times a day all shortcuts including CMD button stop working: cmd+c, cmd+v, cmd-space (changes keyboard layout), cmd+. . Search field also stops working (nothing can be typed in there). Please reopen and fix it.