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

[9 Oct 2019 3:51] Sam Abboushi
Description:
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 2019 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.
[10 Dec 2019 6:15] MySQL Verification Team
Hello Sam Abboushi,

Thank you for the bug report.
To investigate further this issue at our end, may I kindly request you to launch workbench under debug mode (--log-level=debug3) and provide unaltered workbench log file(more details about log are explained here - https://dev.mysql.com/doc/workbench/en/workbench-reporting-bugs.html). Thank you.

Regards,
Ashwini Patil
[10 Dec 2019 16:24] Sam Abboushi
log file uploaded to sftp.oracle.com

ReadMe.txt attached here re: contents
[10 Dec 2019 16:24] Sam Abboushi
ReadMe.txt for mysql-bug-data-97151.zip

Attachment: ReadMe.txt (text/plain), 152 bytes.

[11 Dec 2019 12:45] MySQL Verification Team
Hello Sam Abboushi,

Thank you for the bug report.
verified as described.

Regards,
Ashwini Patil
[11 Dec 2019 12:47] MySQL Verification Team
8.0.18 test results

Attachment: 97151_results (application/octet-stream, text), 227.92 KiB.