Bug #97151 Clicking Revert does not put back WS_DISABLE style on Apply and Revert buttons
Submitted: 9 Oct 3:51 Modified: 11 Oct 23:09
Reporter: Sam Abboushi Email Updates:
Status: Analyzing Impact on me:
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Ashwini Patil CPU Architecture:Any
Tags: apply, revert

[9 Oct 3:51] Sam Abboushi
When a change is made to the Result Grid, the Apply and Revert buttons are enabled (i.e. WS_DISABLE style is removed).

Clicking on Revert clears the changes made to the Result Grid, yet the Apply and Revert buttons remain active (i.e. WS_DISABLE style is not reapplied to Apply and Revert buttons)

How to repeat:
1) Make a change to a cell in the Result Grid and press Tab
2) Click Revert button

Suggested fix:
Reapply the WS_DISABLE style to Apply and Revert buttons after Revert button is clicked.
[11 Oct 23:09] Sam Abboushi
Same problem behavior experienced when clicking on Apply button: after Result Set is applied, Apply button remains enabled implying there are changes to apply.

Switching to another Result Grid tab (if there is one) and going back to original resets the WS_Disabled style.