Bug #70970 Cursor goes to the end of table's comment field if it's already populated
Submitted: 21 Nov 2013 11:44 Modified: 13 Mar 2014 20:50
Reporter: Teemu Ikonen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:MySQL Workbench Community 6.0.7.11215 OS:Linux (Ubuntu 12.04.3 LTS (i686))
Assigned to: CPU Architecture:Any
Tags: cursor

[21 Nov 2013 11:44] Teemu Ikonen
Description:
I have a MySQL model containing few tables. I have written comments for tables and most of the columns inside the tables. Sometimes I have to clarify comments afterwards and I discovered that whenever I try to alter table's comment from the leftmost tab (Table), cursor position will change at the end of the comment right after a keypress has made and the cursor "blinks" next. It makes editing comments quite hard, and as a workaround I have to copy the whole comment elsewhere, edit it and then copy back. Working but annoying solution.

How to repeat:
1. Create a new MySQL model
2. Create a new table
3. Write a comment for the table
4. Alter the comment (prepend a letter for example)
[21 Nov 2013 13:09] MySQL Verification Team
Please try version 6.0.8. Thanks.
[25 Nov 2013 9:50] Teemu Ikonen
Thanks for your response. I have upgraded MySQL Workbench to version 6.0.8.11354 (build 833) but the issue still persists.
[28 Nov 2013 9:48] Teemu Ikonen
I've done a bit more investigation on this matter and installed the latest MySQL Workbench to my laptop running the latest Arch Linux (x86_64). I am able to produce exactly the same problem declared above, thus it's not architecture nor distribution related issue.
[12 Dec 2013 22:16] MySQL Verification Team
Thank you for the feedback. I could repeat on Ubuntu 13.10 and the work-around I found is to select all the comment, remove it and type the whole new comment.
[13 Mar 2014 20:50] Philip Olson
Fixed as of the upcoming MySQL Workbench 6.1.3 release, and here's the changelog entry:

Altering a table's comment would immediately move the cursor position to
the end of the comment. A workaround was to copy-n-paste a comment into
this window.

Thank you for the bug report.