Bug #16076 Cursor position not retained between split resultsets
Submitted: 29 Dec 2005 19:34 Modified: 12 Feb 2006 7:31
Reporter: Brad Jackson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.1.20 OS:Windows (Windows XP)
Assigned to: CPU Architecture:Any

[29 Dec 2005 19:34] Brad Jackson
Description:
The cursor is always put at the end of the SQL when switching between two vertically split resultset panes.

How to repeat:
1. Click the right mouse button in the result set window and select "Split Tab Vertically"
2. Paste SQL into the left or right side with enough lines to make the SQL Query Area scroll
3. Position the cursor at the top of the window on the left side
4. Click in the resultset window on the right, then in the resultset window on the left to switch back

The cursor is at the end of the SQL and the window is scrolled down. I have to scroll back up to see the top of the SQL every time.

Suggested fix:
Each tab should retain the cursor position in the SQL Query Area where it was before switching away.
[30 Dec 2005 13:27] Valeriy Kravchuk
Thank you for a problem report. In the next version, 1.1.18, now generally available, there is no way to split SQL Query Area (only the reults grid can be splitted just as you described). So, the problem dissapeared. Please, try and inform about the results.
[3 Jan 2006 14:43] Brad Jackson
I went back to 1.1.17 because 1.1.18 is barely usable with this bug. I need to wait until this is fixed to test.

http://bugs.mysql.com/bug.php?id=15825
[3 Jan 2006 16:59] Valeriy Kravchuk
I know about (several) new problems in 1.1.18. 

Please, check 1.1.18 just to ensure that there is no problem like you encountered in 1.1.17, simply because of changed behaviour. I want to close this bug report as this particular bug is not possible on newer versions.
[4 Feb 2006 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[9 Feb 2006 19:12] Brad Jackson
I have tested this on version 1.1.20, and the cursor stays in the position it was left at when switching between resultsets.

You have to click on the left margin with the line numbers rather than on the SQL edit box to keep from changing the position. It also doesn't keep any text highlighted if it was selected. These are not big problems.
[12 Feb 2006 7:31] Valeriy Kravchuk
There is no such problem in 1.1.20. Problem with selected text is well-known and reported many times already.