Bug #15954 Go Back button behavior
Submitted: 23 Dec 2005 8:14 Modified: 14 Nov 2006 12:04
Reporter: Dan Kloke (Candidate Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.1.18 OS:Windows (Win2000 Pro (PSP-4))
Assigned to: Mike Lischke CPU Architecture:Any
Tags: Generic

[23 Dec 2005 8:14] Dan Kloke
Description:
the Go Back button does not (immediately) restore the previous queries. instead it seems to be returning the cursor to previous positions seemingly related to edits of the text, even though text remains unaltered. pressing Go Back repeatedly eventually does restore previous query text.

the Next button behaves correspondingly.

How to repeat:
- enter a query, Execute it.

- manually alter query text (for example, field names), using backspace and typing new text.

- Execute the changed query.

- observe text cursor behavior when hitting Go Back repeatedly
[24 Dec 2005 15:32] Valeriy Kravchuk
Thank you for a bug report. Verified just as described with 1.1.18 on XP. Now that button just "Undo" last edit, so you have to press it several times to get previous statement.

1.1.17 worked differently, just as expected. The button gave you previous statement.
[24 Dec 2005 15:58] Dan Kloke
Valeriy Kravchuk: 'Now that button just "Undo" last edit'

it doesn't tho. on my display, the cursor moves around, but the edits arent undone. the previous query comes back, but not the stages between it. only the previous text cursor position is recalled, not the changes to the text. 

the Windows keys Ctrl-Z (undo) and Shift-Ctrl-Z (redo) work correctly however.
[11 Apr 2006 2:27] Jack Hagouel
The same bug occurs in 1.1.20 under Windows XP SP2 (but not in 1.1.19 in Win XP SP2). Go back button takes you back one query and then it moves the cursor within the query window.
[14 Nov 2006 12:04] Mike Lischke
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html