http://bugs.winehq.com/show_bug.cgi?id=839
Summary: opengl window minimizes when the program makes another window active Product: Wine Version: 20020605 Platform: Other URL: http://ftp.blizzard.com/pub/war3/other/VideoTest.zip OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: test AssignedTo: wine-bugs@winehq.com ReportedBy: uh_ja@gmx.net
A program called Warcraft III Video Test allows for testing opengl/d3d8. When running the opengl test under wine, it creates a window for an opengl rendering, but at the same time, it minimizes, making the original window active. The test therefore turns out wrong, although it will go through like it is working. You can get the program here, http://ftp.blizzard.com/pub/war3/other/VideoTest.zip
A similar problem occurs in the game Warcraft III (beta) when you don't have a sound driver loaded. It creates an opengl window, but after that, it displays a MessageBox saying it couldn't initialize the sound driver. Because of that, the game minimizes. You close the messagebox and you can still type into the game esc to exit. Loading a sound module prevents this problem.
I tried a rudimentary fix by disabling the MinMaximize function (found where ever it is... winpos.c I think) Warcraft III the game will load normally because you close the messagebox to continue. but the VideoTest enters an endless (or very long) loop because it keeps switching the active state between the opengl window and the main window. Probably the reason they keep the main window active is in case the video test fails, the program can still recover from a fullscreen mode.
You can try to restore the opengl window, but it doesn't restore properly. That is probably a different problem though. I'm just concerned that it shouldn't minimize the window in the first place. In normal Windows OS, it doesn't minimize these windows.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://bugs.winehq.com/show_bug.cgi?id=839. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.