Bug #51495 Column Comments field content not reset
Submitted: 25 Feb 2010 9:37 Modified: 27 Apr 2010 10:59
Reporter: Kai Sautter (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.16 OS:Linux
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: qc

[25 Feb 2010 9:37] Kai Sautter
Description:
The column comment field within the "columns" tab of the object editor is not reset, if a different table is selected and the last active column had a comment. The comment only disappears once a different column is selected.

How to repeat:
1) Create two tables with at least one column each
2) Add a comment to one field (or alternatively select the column with the comment)
3) Activate the object editor for the second table by double-clicking the table within the tables section of the Physical Schemata band

The comment of the last selected column remains visible (though the comments field is inactive) until a column is selected.

Suggested fix:
Whenever the comments field enabled property is changed (true/false) the content should be cleared.
[25 Feb 2010 10:41] Susanne Ebrecht
Verified as described
[23 Apr 2010 23:45] Alfredo Kojima
Fixed in linux. Index and FK tabs had the same problem.
[24 Apr 2010 1:54] Alfredo Kojima
Also fixed glitches in Windows
[26 Apr 2010 20:15] Johannes Taxacher
fix confirmed in repository
[27 Apr 2010 10:59] Tony Bedford
An entry has been added to the 5.2.20 changelog:

In the Columns tab of the Table Editor, if a comment was added to a column, or a column with a comment was selected, then when another table was double-clicked to load it into the Table Editor, the comment for the column previously selected was still displayed in the inactive Comments area.