Bug #44435 Window close button does not reflect document dirty state
Submitted: 23 Apr 2009 15:30 Modified: 10 Jun 2009 12:59
Reporter: Marc Liyanage Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.1.10 Beta Rev 5306 OS:MacOS (10.5.6)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: CHECKED

[23 Apr 2009 15:30] Marc Liyanage
Description:
On Mac OS X, the red close button on the left edge of the window title bar indicates a document with unsaved changes with a dark dot in the button.

MySQL Workbench does not show this dot when a document has unsaved changes but it should. It seems it does work initially, but doesn't anymore after the first save.

How to repeat:
1.) Open any document
2.) Make a change
3.) The close button in the title bar *does* show the dirty indicator.
4.) Save the document. The close button reverts to the clean state
5.) Make another change. The close button stays in the clean state but it shouldn't.
[23 Apr 2009 15:38] Valeriy Kravchuk
Thank you for the bug report. Verified just as described.
[23 Apr 2009 15:40] Marc Liyanage
This screen video shows the problem:

http://idisk.mac.com/liyanage-Public/mysql-workbench-dirty-state.mov
[3 Jun 2009 19:11] Johannes Taxacher
this has been fixed. fix will be included in 5.1.13
[10 Jun 2009 12:59] Tony Bedford
An entry was added to the 5.1.13 changelog:

On Mac OS X, an application window's red close button should contain a solid circle if the current document is unsaved. However, for MySQL Workbench this did not work correctly. Although the circle was initially shown, it was not displayed after subsequent edits to the model.