Bug #35649 Unexpected behaviour of undo hotkey in SQL script editor
Submitted: 28 Mar 2008 14:31 Modified: 11 May 2008 0:43
Reporter: Che Hodgins Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.16 SE RC OS:Windows (XP)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: hotkey, sql script, undo

[28 Mar 2008 14:31] Che Hodgins
Description:
In a "SQL Script" text box, when "undoing" using windows hotkey CTRL+Z the whole SQL Script is removed.

This is an unexpected behaviour as its common to hit CTRL+Z in a text editor to undo the last text written/erased, instead you lose your whole SQL script.

This is related to http://bugs.mysql.com/35646

How to repeat:
Double click "Add Script" icon
Write some text in the text box
Erase part of the text written
Hit CTRL+Z (undo)

expected result: The previously erased text should come back
actual result: the whole sql script is removed

Suggested fix:
Hotkeys in the SQL script text box should behave like the hotkeys in a text editor.
[29 Mar 2008 22:14] MySQL Verification Team
Thank you for the bug report.
[9 Apr 2008 13:31] Mike Lischke
Fixed in rev 3019.
[9 Apr 2008 15:05] Johannes Taxacher
this works as expected now. as long as focus is inside script-editors.
[11 May 2008 0:43] Paul DuBois
Noted in 5.0.18 changelog.

Pressing Ctrl-Z to undo the last change in an SQL Script text box
deleted the entire script.