Bug #66724 Unable to copy the scripts from sql editor
Submitted: 6 Sep 2012 11:56 Modified: 7 Sep 2012 3:37
Reporter: Girish Vaidya Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.42 OS:Microsoft Windows (Microsoft Windows 7 Home Basic Edition Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[6 Sep 2012 11:56] Girish Vaidya
Description:
Unable to copy the content from SQL editor, Environment . Windows 7 pro

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.42  revision 9752
Configuration Directory: C:\Users\satwik\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows 7 Home Basic Edition Service Pack 1 (build 7601), 64-bit
CPU: 4x Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 4.0 GiB RAM
Active video adapter (0): Intel(R) HD Graphics Family
Installed video RAM: 1795 MB
Current video mode: 1366 x 768 x 4294967296 colors
Used bit depth: 32
Driver version: 8.15.10.2342
Installed display drivers: igdumd64.dll,igd10umd64.dll,igd10umd64.dll,igdumdx32,igd10umd32,igd10umd32
Current user language: English (India)

Exception = System.Runtime.InteropServices.ExternalException
Message = Requested Clipboard operation did not succeed.
FullText = System.Runtime.InteropServices.ExternalException (0x800401D0): Requested Clipboard operation did not succeed.
   at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
   at System.Windows.Forms.Clipboard.GetDataObject(Int32 retryTimes, Int32 retryDelay)
   at System.Windows.Forms.Clipboard.GetDataObject()
   at System.Windows.Forms.Clipboard.ContainsText(TextDataFormat format)
   at System.Windows.Forms.Clipboard.ContainsText()
   at MySQL.Forms.ScintillaControl.get_CanPaste()
   at MySQL.GUI.Workbench.MainForm.EditCanPaste()
   at MySQL.Grt.RunWrappedDelegate0<bool\,bool\,MySQL::Grt::DelegateSlot0<bool\,bool>::ManagedDelegate>.native_callback()
   at boost.detail.function.function_invoker0<bool (__cdecl*)(void),bool>.invoke(function_buffer* function_ptr)
   at mforms.CodeEditor.on_notify(CodeEditor* , SCNotification* )
   at MySQL.Forms.ScintillaControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Open workbeanch, write some scripts, Idle for 3-4 hours, and try to copy the scripts to other editor. Unable to to copy
[7 Sep 2012 3:37] Miguel Solorzano
I can't repeat after 6 hours of idle status on Windows 7 64-bit.