Bug #79655 Close button not working correctly
Submitted: 16 Dec 2015 1:14 Modified: 18 Dec 2015 19:19
Reporter: Javier Treviño Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL for Windows: MySQL for Excel Severity:S3 (Non-critical)
Version:1.3.6 OS:Any
Assigned to: CPU Architecture:Any

[16 Dec 2015 1:14] Javier Treviño
Description:
The "Close" button found on the DB Objects panel is not working as it should.
It closes the side add-in panel but it is not freeing resources and closing Edit Sessions as it should.
Also it is clearly visible that it is not doing things right since the MySQL for Excel button in the Data ribbon is not being unchecked.

How to repeat:
1. Open MySQL for Excel
2. Select any connection and any schema
3. Click on the "Close" button and notice the side panel closing but the MySQL for Excel button in the Data ribbon not unchecked.
4. "Uncheck" the MySQL for Excel button in the Data ribbon, the add-in is correctly closed.

Suggested fix:
The "Close" button must behave exactly the same as "unchecking" the MySQL for Excel button in the Data ribbon.
[17 Dec 2015 2:07] Javier Treviño
After checking the source code, resources are being freed correctly when
using the DB Objects panel "Close" button, so the error is just cosmetic...
it is just a matter of refreshing the toggle status of the MySQL for Excel
button in the Data ribbon.
[17 Dec 2015 2:07] Javier Treviño
Added code to synchronize the toggle status of the MySQL for Excel button in
the Data ribbon when the add-in is closed from the Close button located at
the bottom of the panel showing database objects and their related
operations.
[18 Dec 2015 19:19] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL for Excel 1.3.6 release, and here's the changelog entry:

Closing the plugin via the Close button in the panel would not toggle the
MySQL for Excel checkbox in the Data ribbon.

Thank you for the bug report.