Bug #24209 Query text area loses focus whenever a query is executed
Submitted: 11 Nov 2006 1:14 Modified: 5 Dec 2006 11:46
Reporter: William Spann Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.2.5beta OS:Linux (SuSE 10.0 (x86))
Assigned to: Vladimir Kolesnikov CPU Architecture:Any
Tags: loss of focus, query text area

[11 Nov 2006 1:14] William Spann
Description:
The query text area loses the focus any time a query is executed.  This makes it necessary to click on this text area in order to enter another query (which is quite annoying).

This does NOT occur on the GUI Tools v5.0r2 Windows (x86) release.

Client System Details:
  CPU: AMD Sempron 2500+
  OS: SuSE 10.0 (x86)
  kernel: 2.6.13-15.11-default
  glibc: 2.3.5-40
  MySQL Query Browser v1.2.5beta (GUI Tools v5.0r5)

MySQL Server System Details:
  CPU: Intel Pentium 4 521 (EM64T & HT)
  OS: SuSE 10.0 (x86_64)
  kernel: 2.6.13-15-smp
  glibc: 2.3.5-40
  MySQL Community Server: 5.0.24 (x86_64)
    (mysql-standard-5.0.24-linux-x86_64-icc-glibc23.tar.gz)

How to repeat:
This behavior is seen after execution of any query.
[11 Nov 2006 7:04] Mark Johnson
I have also noticed this on my Slackware 10.2 system.  I am using kernel 2.6.15.
[11 Nov 2006 22:28] William Spann
I just found a work-around for this problem. After you execute a query, if you press the up arrow key once it puts the cursor at the end of the executed query's text.
[12 Nov 2006 0:50] William Spann
Correction on Last Comment:

Pressing the DOWN arrow key after submitting a query will put the cursor back at the end of the query's text.
[22 Nov 2006 23:12] MySQL Verification Team
Thank you for the bug report. Verified as described on Ubuntu 6.10.
[5 Dec 2006 11:46] Vladimir Kolesnikov
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