http://bugs.winehq.org/show_bug.cgi?id=14491
Summary: window focus error on applications written by Delphi Product: Wine Version: unspecified Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comdlg32 AssignedTo: wine-bugs@winehq.org ReportedBy: naclx@vip.sina.com
When Delphi controls call GetOpenFileName() in comdlg32.dll, the member "hwndOwner" in the paramter "ofn" is specified to point to the handle of the window on the toolbar, not the one of the main window as usual. Therefore, there will be two abnormal phenomena: 1. If choose the "Allow the window manager to control the windows" option in winecfg, foreground windows in some applications written by Delphi will be hidden behind the background ones. 2. If not choose the "Allow the window manager to control the windows" option, no application windows will be shown on the toolbar.
http://bugs.winehq.org/show_bug.cgi?id=14491
--- Comment #1 from Lei Zhang thestig@google.com 2008-07-17 13:18:54 --- What version of Wine are you using? What delphi app are you running?
http://bugs.winehq.org/show_bug.cgi?id=14491
--- Comment #2 from sean chu naclx@vip.sina.com 2008-07-17 20:56:50 --- I'm using the version of 0.9.40, but I find that the bug exists in all the later release, including 1.0. The delphi app for test is written by myself, but I tested many other delphi app. Once they use the "Dialogs" control, it will happen.
http://bugs.winehq.org/show_bug.cgi?id=14491
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |0.9.40.
--- Comment #3 from Lei Zhang thestig@google.com 2008-07-18 12:48:31 --- Can you attach a minimal test case, preferably with source, that demonstrate the problem?
http://bugs.winehq.org/show_bug.cgi?id=14491
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #4 from Austin English austinenglish@gmail.com 2009-01-20 10:07:46 --- Abandoned.
http://bugs.winehq.org/show_bug.cgi?id=14491
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com 2009-01-20 10:08:09 --- Closing.