Bug #22545 Window messed up when maximizing
Submitted: 21 Sep 2006 12:58 Modified: 5 Jan 2007 14:35
Reporter: Matthijs van der Vleuten Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.2.6 rc OS:Windows (Windows XP Professional x64 Edition)
Assigned to: Mike Lischke CPU Architecture:Any

[21 Sep 2006 12:58] Matthijs van der Vleuten
Description:
When I maximize or restore the MySQL Administrator window while in the Server Connections pane, the window gets messed up and an error message gets displayed. The message follows:

System Error. Code: 2.
The system cannot find the file specified.

The OK button doesn't contain any text, and I can't click it. Pressing the space bar dismisses the dialog, but leaves the Administrator window messed up. The window acts as if it doesn't have a title bar, yet, the title bar is being drawed.

Subsequently minimizing and restoring the window generates the following error message several times:

A call to an OS function failed

How to repeat:
- Start MySQL Administrator.
- Connect to a MySQL server.
- Open the Server Connections pane.
(screenshot 1)
- Maximize the window.
(screenshot 2)
- Press the space bar to dismiss the error message.
(screenshot 3)
- Note that if you switch to another window, the title bar redraws, but it isn't usable via the mouse.
[21 Sep 2006 12:59] Matthijs van der Vleuten
Screenshot 1

Attachment: screenshot1.png (image/png, text), 69.32 KiB.

[21 Sep 2006 12:59] Matthijs van der Vleuten
Screenshot 2

Attachment: screenshot2.png (image/png, text), 66.59 KiB.

[21 Sep 2006 12:59] Matthijs van der Vleuten
Screenshot 3

Attachment: screenshot3.png (image/png, text), 63.92 KiB.

[21 Sep 2006 13:07] Matthijs van der Vleuten
After further testing, I've found this bug only occurs on dual-head systems.
[21 Sep 2006 13:20] Matthijs van der Vleuten
My testing was wrong.

The bug manifests itself on two dual-head machines, but not on a single-head machine. However, when I disable my second monitor, the bug still occurs.

However, I did find that only double-clicking the title bar or clicking the maximize/restore button triggers the bug. Clicking the application icon or right-clicking the title bar, and clicking 'Maximize', doesn't trigger the bug.
[21 Sep 2006 16:47] Sveta Smirnova
Thank you for the report.

Could you please indicate accurate version of operation system you use?
[22 Sep 2006 8:13] Matthijs van der Vleuten
I'm using Windows XP Professional x64 Edition. The exact version is 5.2.3790.2661 (srv03_sp1_gdr.060315-1609).
[29 Sep 2006 10:09] Matthijs van der Vleuten
Resizing the Administrator window also triggers the bug.

This means that changing the window's size in any way other than via the application icon triggers the bug.

I've also noted a related bug in the Query Browser.

When you open the Query Browser and resize or maximize it, the resultset heading and scrollbars disappear. When you then move any splitter (for example, the one between the resultset and the schemata list), the heading and scrollbars reappear.

To reproduce:
1. Open the Query Browser.
2. Optionally, execute a SELECT query which causes the resultset to have scroll bars.
(screenshot 4)
3. Resize or maximize the window.
(screenshot 5)
4. Move a splitter
(screenshot 6)

Note that unlike the Administrator, the Query Browser doesn't display the error messages displayed by the Administrator.
[29 Sep 2006 10:09] Matthijs van der Vleuten
Screenshot 4 (Query Browser)

Attachment: screenshot4.png (image/png, text), 99.41 KiB.

[29 Sep 2006 10:09] Matthijs van der Vleuten
Screenshot 5 (Query Browser)

Attachment: screenshot5.png (image/png, text), 125.97 KiB.

[29 Sep 2006 10:09] Matthijs van der Vleuten
Screenshot 6 (Query Browser)

Attachment: screenshot6.png (image/png, text), 126.30 KiB.

[29 Sep 2006 10:15] Matthijs van der Vleuten
I forgot to mention that the Query Browser bug only occurs on machines which exhibit the Administrator bug, and not on machines which don't exhibit that bug.
[13 Oct 2006 15:07] Valeriy Kravchuk
Please, try to repeat with a newer version, 1.2.4 rc, and inform about the results.
[18 Oct 2006 8:13] Matthijs van der Vleuten
1.2.4 rc exhibits the same behaviour.
[19 Oct 2006 12:18] Valeriy Kravchuk
What version/SP of Windows do you use?
[20 Oct 2006 9:45] Matthijs van der Vleuten
As I mentioned earlier, I'm using Windows XP Professional x64 Edition. The exact version is 5.2.3790.2661 (srv03_sp1_gdr.060315-1609).
[23 Nov 2006 17:30] Valeriy Kravchuk
Please, try to repeat with a newer version, 1.2.5 rc, and inform about the results.
[24 Nov 2006 10:00] Matthijs van der Vleuten
Administrator and Query Browser 1.2.5 still exhibit the described behaviour.
[14 Dec 2006 19:42] Valeriy Kravchuk
Please, try to repeat with a newer version, 1.2.6 rc, and inform about the results.
[15 Dec 2006 9:19] Matthijs van der Vleuten
The bug still occurs on 1.2.6 rc.
[15 Dec 2006 9:39] Mike Lischke
I *have* a dual monitor setup and tested this with Windows XP (32bit) both, with desktop mirroring and desktop expansion settings. I also worked with MA (and QB for that matter) on both monitors (1920x1200, both) but could not reproduce this bug, whatever I tried.

I'm not sure what to do next. Matthijs, there will be a new release of the GUI tools very soon (maybe today). Please try again with this if you still see the problem. Additionally, do you have access to another dual-head machine where you can check this? Would be good to know the behavior on a 32bit version as well.
[15 Dec 2006 10:11] Matthijs van der Vleuten
Did you have the Server Connections panel open on the Administrator when you maximize the window? The bug doesn't appear to occur on the other panels.
Resizing also triggers the bug, but using the window menu to maximize or resize doesn't trigger it.

Unfortunately, I don't have access to 32bit dual-head machines. All dual-head machines I have access to are 64bit, and exhibit the bug.
[15 Dec 2006 10:53] Mike Lischke
Yes, sure, I had the threads view open, just like in your screen shot.
[15 Dec 2006 12:08] Matthijs van der Vleuten
It might be possible this bug is not related to dual-head systems. A 64bit machine with only one screen also exhibits the bug.
[15 Dec 2006 12:14] Matthijs van der Vleuten
A notebook running Windows 2000 does not exhibit the bug.
[15 Dec 2006 12:57] Mike Lischke
Neither does a Windows 2003 Server (64Bit).
[18 Dec 2006 20:44] MySQL Verification Team
Thank you for the feedback. Could you please try the latest version 5.08r.
Thanks in advance.
[5 Jan 2007 9:12] Matthijs van der Vleuten
The bug still occurs on 1.2.8.
[5 Jan 2007 14:35] Mike Lischke
I'm afraid we have to postpone this report until we find a way to reproduce the described behavior.