Bug #76387 Result grid lost edit result if not press ENTER or TAB when focus lost
Submitted: 19 Mar 2015 10:25 Modified: 20 Mar 2015 7:53
Reporter: Liu ƒ  Yan ƒ‚ ‚¬ Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:6.3.2 OS:Linux (Fedora release 21 (Twenty One))
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[19 Mar 2015 10:25] Liu ƒ  Yan ƒ‚ ‚¬
Description:
When editing field in the result grid, I must press ENTER or TAB to confirm this edit. Otherwise, if I move focus to the another field by double click another field, the edit of previous field will lost.

How to repeat:
1. Edit a field in result grid, but don't press ENTER or TAB
2. Use mouse to click/double-click another field
3. The edit result will lost

Suggested fix:
Keep the edit result when focus off
[19 Mar 2015 11:56] Miguel Solorzano
Thank you for the bug report. I couldn't repeat this issue with the below table:

CREATE TABLE `x` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `col1` char(1) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 |
+-------+----------------------------------------------

in result grid I edit col1 then click in field id in another row and
the new value of col1 is preserved. Any clue how to repeat?. Thanks.
[20 Mar 2015 2:34] Liu ƒ  Yan ƒ‚ ‚¬
You can repeat this bug by click another field in same row.
See the video attachment below.
[20 Mar 2015 2:36] Liu ƒ  Yan ƒ‚ ‚¬
Screen Recorded Video to show how to repeat this bug

Attachment: mysql-workbench.mp4 (video/mp4, text), 56.86 KiB.

[20 Mar 2015 7:53] Umesh Shastry
Thank you for the feedback.
Repeatable on FC21( couldn't repeat this on Win7 with WB 6.3.264 build).

Thanks,
Umesh
[26 Jul 2015 10:33] Paul Weiss
Problem not occurring for me on 6.3.4.0 on Microsoft Windows 7 Home Premium SP 1, 64-bit.