[Mono-bugs] [Bug 82568][Wis] Changed - MessageBox: copy text to clipboard with Ctrl+C

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 24 16:32:37 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by andyhume32 at yahoo.co.uk.

http://bugzilla.ximian.com/show_bug.cgi?id=82568

--- shadow/82568	2007-08-24 08:11:55.000000000 -0400
+++ shadow/82568.tmp.22009	2007-08-24 16:32:37.000000000 -0400
@@ -32,6 +32,39 @@
 when writing-up a bug this morning, I had to manually copy the text from 
 a error dialog... :-(
 
 ------- Additional Comments From everaldo at simios.org  2007-08-24 08:11 -------
 I checked and on Windows (2k and XP) we cant copy contents of
 MessageBox so it is not a bug.
+
+------- Additional Comments From andyhume32 at yahoo.co.uk  2007-08-24 16:32 -------
+I agree it's not a "bug", it’s a "missing feature".
+
+I'm not sure whether you are saying that when you do Ctrl+C on a 
+MessageBox from the MSFT CLR that you *don't* get its text on the 
+clipboard?  On my machines there's a beep, but the text is on the 
+clipboard -- in the format I showed above.  It's not just a figment 
+of my imagination:
+
+"Copy (Ctrl-C) works in Message Boxes" 
+http://blogs.msdn.com/cumgranosalis/archive/2005/12/14/CopyMessageBox
+.aspx , "Ctrl-C to capture MessageBox and dialogs" 
+http://blogs.msdn.com/calvin_hsia/archive/2005/10/16/481713.aspx , "W
+indows Tip: Copy error messages text to the clipboard - Lifehacker" 
+http://lifehacker.com/software/windows-tip/copy-error-messages-text-
+to-the-clipboard-268547.php , 
+http://blogs.technet.com/fsmo/archive/2004/06/17/158889.aspx ,
+and the great Dino even mentions it at 
+http://msdn.microsoft.com/msdnmag/issues/02/11/CuttingEdge/default.as
+px , etc.  It appears to be a feature of the Win32 MessageBox, .NET 
+uses it and thus inherits the behaviour.
+
+
+Or are you saying, that on the Mono runtime it doesn't work on 
+Windows (nor anywhere else).  Then I agree.  It would be great if it 
+did though.  Just add handling for Ctrl+C, grab the text and put it 
+on the clipboard for all platforms.  
+
+Here's a bargain, if I find bugs in Mono where the error is in a 
+MessageBox dialog, and I can copy the message text with one Ctrl+C 
+then I will log it in  the bug, however if I have to manually retype 
+the error message I won't bother. ;-)


More information about the mono-bugs mailing list