Bug #27618 Maximize Query Edit (F11) doesn't make sense for a Script Tab
Submitted: 3 Apr 2007 14:18 Modified: 27 Apr 2007 12:51
Reporter: Anthony Willard (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.2.11 OS:Windows (WinXP, SP2)
Assigned to: CPU Architecture:Any
Tags: qc

[3 Apr 2007 14:18] Anthony Willard
Description:
The menu option View->Maximize Query Edit (F11) has no impact on a Script tab.  It changes the size of the toolbar buttons, but doesn't change anything else.  If you return to a Query Tab the results are visible.

How to repeat:
1- Open Query Browser
2- Open a Script Tab
3- Open the View menu, select the Maximize Query Edit.  The toolbar buttons change size, but nothing else is affected in the script tab.

Suggested fix:
The Maximize Query Edit function (both the menu and the F11 key) should have no affect on the script tab and should be unavailable/hidden or disabled when on a script tab.
[3 Apr 2007 15:45] Valeriy Kravchuk
Thank you for a bug report. Verified just as described.
[27 Apr 2007 12:51] Michael G. Zinner
The effect you see is on purpose. The icon size is reduced so it matches the size of the maximized query area and the tabs are always on the same Y position on the form.

While it does not make much sense to change it when a script tab is opened, it also does no harm and will show its effect once you switch back to a query tab.