Bug #86510 SQL Editor Right hand pane toggle is in the wrong state by default
Submitted: 30 May 2017 13:00 Modified: 5 Jun 2017 7:05
Reporter: Lee Butler Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:6.3.9 OS:Windows
Assigned to: CPU Architecture:Any
Tags: sql editor, UI, workbench

[30 May 2017 13:00] Lee Butler
Description:
When the results of an SQL query have appeared, I've noticed that the toggle for the different views on the right is in the wrong state. 

For example, if the pane is hidden, the toggle shows up highlighted/blue, and if it is visible, it shows up unhighlighted/black. 

After toggling (or hovering if it's hidden) the toggle corrects its state. 

Ideally, the toggle shouldn't highlight on hover if the pane is disabled because it makes it look like it's been set to show up. Also See my other remport (#86509) about it appearing when it's disabled and how it's annoying and takes forever because it causes redraws.

How to repeat:
See Above. Or, if it's not clear

1. Run a query that returns something ("SELECT 'a';" will do)

2. Look at the toggle and see it highlighted wrong. 

Suggested fix:
Switch the toggle highlighting when showing the results grid when results come back.
[30 May 2017 13:44] MySQL Verification Team
Thank you for the bug report. Please attach (Files tab) screenshot showing the issue. Thanks in advance.
[30 May 2017 14:06] Lee Butler
Hover before

Attachment: hover before.PNG (image/png, text), 8.35 KiB.

[30 May 2017 14:07] Lee Butler
Hover after hovering - Corrected state

Attachment: ho0ver corrected.PNG (image/png, text), 6.66 KiB.

[30 May 2017 14:10] Lee Butler
As seen in the before, the toggle at the top of the pane is highlighted blue (this was taken just after loading result set).

After I opened and closed the pane, in the after image, the toggle shows the correct icon / hover state. 

As I said in the mysteriously disappeared #86509, it would be much better if the pane didn't show up on hovering at all because the icon changes despite it not being enabled to show up and when it does show up it causes mad redraw. It at least should be not the default behaviour.
[5 Jun 2017 7:05] Chiranjeevi Battula
Hello  Lee Butler,

Thank you for your feedback.
Verified this behavior on MySQL Workbench in 6.3.9 version

Thanks,
Chiranjeevi.
[5 Jun 2017 7:06] Chiranjeevi Battula
Screenshot

Attachment: Bug_86510.JPG (image/jpeg, text), 210.23 KiB.