Bug #59539 "Requested clipboard operation did not succeed"
Submitted: 16 Jan 2011 20:18 Modified: 1 Mar 2011 10:25
Reporter: Paul Wolstenholme Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.30CE OS:Windows (XPSP3)
Assigned to: CPU Architecture:Any

[16 Jan 2011 20:18] Paul Wolstenholme
Description:
Using MySQL workbench, used copy to clipboard - create statement
on a schema that had been imported from MySQL 5.0.19.
The resulting window stated "Requested clipboard operation did not succeed" and requested that a bug report be filed.  Clicking the appropriate button opened the form to file this bug.

Repeating the same operation does NOT cause another error until workbench is closed and reopened.

How to repeat:
Open MySQL Workbench 5.2 CE (ver 5.2.30CE)
Open connection to start querying (using a link to a version 5.1.45-community database server)
Right click a schema, even the Test schema,
 select 'copy to clipboard - create statement'
[28 Jan 2011 22:38] Johannes Taxacher
Hi Paul,
can you repeat the problem, and when the "report a bug" dialog appears, right-click somewhere inside, copy the stack information and add it to this report?
thanks in advance
[31 Jan 2011 19:53] Paul Wolstenholme
I have executed the following request and pasted the stack trace below.
"[28 Jan 23:38] Johannes Taxacher
Hi Paul,
can you repeat the problem, and when the "report a bug" dialog appears,
right-click somewhere inside, copy the stack information and add it to
this report?
thanks in advance
"

Exception = System.Runtime.InteropServices.ExternalException
Message = Requested Clipboard operation did not succeed.
FullText = System.Runtime.InteropServices.ExternalException: Requested Clipboard operation did not succeed.
   at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
   at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
   at System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat format)
   at System.Windows.Forms.Clipboard.SetText(String text)
   at MySQL.Forms.UtilitiesImpl.set_clipboard_text(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* content)
   at MySQL.MCallback1<void\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&>.cpp_callback(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* arg1)
   at MySQL.Grt.ListModel.activate_popup_item_for_nodes(String name, List`1 nodes)
   at MySQL.GUI.Workbench.SqlIdeMenuManager.OnMenuItemClick(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.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)
[1 Feb 2011 10:25] Valeriy Kravchuk
Please, check if the same problem is repeatable with a newer version, 5.2.31a.
[2 Mar 2011 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[1 Nov 2017 15:12] Adtc Rlz
This bug is among the top 3 results for Google search "mysql workbench requested clipboard operation did not succeed". It STILL happens in MySQL Workbench Community (GPL) for Windows version 6.3.9 CE build 10690321 (64 bit). It happens when right-clicking the query results and selecting options like Copy Row (*) and Copy Field (*).