Bug #25002 Double-click-select + overwrite results in incorrect Undo
Submitted: 12 Dec 2006 11:12 Modified: 12 Dec 2006 12:03
Reporter: Yahoo Serious (Silver Quality Contributor) Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.2.6 OS:Windows (Windows 2000 SP4)
Assigned to: CPU Architecture:Any

[12 Dec 2006 11:12] Yahoo Serious
Description:
When double-click-selecting (not cursor-selecting!) and overwriting the selection (by typing or pasting), simple undos executed with Ctrl-Z will not act as expected.

How to repeat:
For example:
- in Query-area type: "SELECT Select_priv FROM mysql.db;"
- double-click-select "Select_priv"
- type or paste "COUNT(*)"
- undo (Ctrl-Z)
- notice line becoming: "SELECT COUNT(*)Select_privOM mysql.db;"

Suggested fix:
Fix it.
[12 Dec 2006 11:20] MySQL Verification Team
Thank you for the bug report. Duplicate of bug:
http://bugs.mysql.com/bug.php?id=21069
[12 Dec 2006 11:42] Yahoo Serious
It may be related, but this has not been fixed in the latest release (1.2.6)!
(Bug #21069 has been fixed in that one.)
[12 Dec 2006 12:03] MySQL Verification Team
That bug was closed after the 1.2.6 was released, please wait for
1.2.7 and re-open or comment that bug if needed. Thanks in advance.