Bug #26690 "Cannot focus a disabled or invisible window" error when adding new user
Submitted: 27 Feb 2007 19:21 Modified: 31 May 2007 13:20
Reporter: Marc Hodgins (Candidate Quality Contributor) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.2.9 OS:Windows (Windows XP)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: cannot focus, mysql administrator, new user, user administration

[27 Feb 2007 19:21] Marc Hodgins
Description:
Right clicking on the "User accounts" frame and selecting "Add new user" results in the following error:

"Cannot focus a disabled or invisible window"

... and a new user screen does not appear.

How to repeat:
Run MySQL Administrator
Click User Administration
Right click in Users Accounts area and select "Add New User"

Interesting enough, if you click the "Add new user" button on the bottom right instead of using the right click menu in the "Users Accounts" frame, this error does not appear.
[28 Feb 2007 0:39] MySQL Verification Team
Thank you for the bug report. I was not able to repeat the behavior
reported against a 5.0.27 server. Is there another condition besides
the steps you have reported?. Thanks in advance.
[28 Feb 2007 13:05] MySQL Verification Team
Thank you for the feedback. Still I am not able to repeat, so I am
asking to my co-worker to test too.
[28 Feb 2007 13:32] Sveta Smirnova
Thank you for the feedback.

Please provide output of SHOW GRANTS FOR user_you_use_to_connect_to_MySQL_Administrator;
[1 Mar 2007 5:18] Marc Hodgins
Upgraded server to MySQL 5.0.27-community-nt.  Problem continues.
[1 Mar 2007 5:21] Marc Hodgins
mysql> SHOW GRANTS FOR root;
+--------------------------------------------------------------------------------------------------------------------------------+
| Grants for root@%                                                 |
+--------------------------------------------------------------------------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY PASSWORD 'XXXXXXXXXXXXXXXXX' WITH GRANT OPTION |
+--------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
[1 Mar 2007 9:30] Sveta Smirnova
Thank you for the report.

Verified as described.

Bug is not repeatable if remote server is not on Windows computer.
[30 Apr 2007 12:59] Mike Lischke
I cannot reproduce this problem with the current code base, neither locally nor with a remote server (also a fully patched Windows 2003 server). Please try this with the next release of the GUI tools and see if the problem is gone for you too.
[30 May 2007 23: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".
[31 May 2007 13:20] Sveta Smirnova
Confirmed bug is not repeatable with current 1.2.12 version