Bug #73442 Unable to close query tab while executing query
Submitted: 31 Jul 2014 0:21 Modified: 4 Aug 2014 5:10
Reporter: Rich Bartlett Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:6.1.6, 6.1.7 OS:MacOS (10.9.4)
Assigned to: CPU Architecture:Any

[31 Jul 2014 0:21] Rich Bartlett
Description:
While executing a query on an apparently busy/slow server (connection?), the tab close button is replaced with a progress wheel.

There is no way to abort the query nor close the tab. Even the close tab keyboard short-cut does not respond.

First, would be great if I could abort the query.
Second, rather than prevent the active tab with active query execution from closing, provide a way to allow users to close the apparently non-responsive tab (and abort the query).

How to repeat:
Send query to busy server (or via slow connection).
Attempt to close tab. (tab won’t close…)

Suggested fix:
Please allow tab closure.
Why do you block this with the progress wheel?

Why not follow the UX in FireFox where the site icon is replaced with progress wheel and allow the close button to persist?
[1 Aug 2014 10:52] MySQL Verification Team
Hello Rich,

Thank you for the report.
I observed that on slow connection or on a busy server you cannot close the tab, however there is an option to stop the query being executed and later you can close the tab without closing the connection.

Please check the option "Stop the query being executed" http://dev.mysql.com/doc/workbench/en/wb-sql-editor-toolbar.html

Thanks,
Umesh
[1 Aug 2014 13:31] Rich Bartlett
That's great... I could hit the "Stop the query being executed" button...

But this points to a poor UX... Why do you replace the close button? Why not use the great UX from Chrome or Firefox? Just because I'm waiting for the server, should not mean I can't close the tab.

Can we improve the UX of WorkBench??!
[4 Aug 2014 5:10] MySQL Verification Team
Thank you for the valuable feedback.
[24 Nov 2015 22:47] George Deprez
I have same problem on Windows, but solution does not work for me.
The query animation is spinning on the tab.
Then stop query button is disabled gray, so I can not stop the query.
I am using workbench 6.3 on Win 7 enterprise with MySQL57.
Also message in the status window below says 'Cannot close SQL IDE while being busy' after clicking close button. I had to use Task Manager to shutdown.