Description:
When I start to import data from a CSV file into a table using the Import Wizard that violates one of the tables constraints, then try to cancel the import, the MySQL Workbench displays the error message "Cannot access a disposed object. Object name: _ProgressBar". When I close the error message, the Workbench is unresponsive and then crashes.
A video of me triggering the error is available at the link below.
https://drive.google.com/file/d/1Xy--R6wjwLnT9FRItApooFhU7pZhwvwa/view?usp=sharing
How to repeat:
Try to import a CSV file into a table with the Import Wizard that violates one of the tables constraints. When you start getting errors from the constraint being violated, click the cancel button. A popup will appear asking if you want to cancel, click yes. The same popup will appear for a second time, click yes again. Then the error message "Cannot access a disposed object. Object name: _ProgressBar" will appear in a popup, click the close button on that popup. The Workbench will be unresponsive to mouse clicks and will crash within a few seconds.
The bug partially appears on files that do not violate the table's constraints-- the error message about the progress bar will appear but the Workbench does not crash afterwards.