[Bug 15062] New: Own applications lose main window when switching virtual desktop
http://bugs.winehq.org/show_bug.cgi?id=15062 Summary: Own applications lose main window when switching virtual desktop Product: Wine Version: 1.1.3 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: felix.saphir(a)presswatch.de This might be related to bug 2368: We have a couple of applications built with Delphi 5 Professional (on Windows) running on our server (CentOS and KDE) with the help of Wine. Everything was fine until (and including) wine-1.1.1. After building wine-1.1.3 from source (nothing special: "configure --prefix=/usr/local/wine-1.1.3", make depend, make and make install), these applications lose their main window when switching the virtual desktop, while e.g. notepad.exe does not. Everything left is the "Wine System Tray". This does not happen, if I dont't "Allow the window manager to control the windows" (winecfg). I did a regression test, ending up at revision "[31b4061c9b0b9b960346f047c3d7afa9afe092f4] winex11: Fetch the current X window position on ShowWindow resulting from a window manager event." I know, this is not necessarily an issue with Wine, since I could probably fix our own apps as well (If I knew where to start looking ;-) ). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-08-29 13:24:36 --- Confirming - Delphi 5 losses it's windows that way too. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 --- Comment #2 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-08-29 13:36:09 --- Created an attachment (id=15728) --> (http://bugs.winehq.org/attachment.cgi?id=15728) Exe of the sample test program This is just a simple window without anything else. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 --- Comment #3 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-09-02 02:38:54 --- If this is a regression please perform a regression test: http://wiki.winehq.org/RegressionTesting -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 --- Comment #4 from Felix Saphir <felix.saphir(a)presswatch.de> 2008-09-02 04:40:24 --- Sorry, I already did, see initial post. Do you need more information? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard(a)winehq.org --- Comment #5 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-09-02 08:38:17 --- Adding author of the patch: commit 31b4061c9b0b9b960346f047c3d7afa9afe092f4 Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Jul 31 11:40:49 2008 +0200 winex11: Fetch the current X window position on ShowWindow resulting from a window manager event. This ensures that we get the correct size for maximized windows too, which cannot be done with SetWindowPlacement. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 --- Comment #6 from Kirurgs <edzis(a)inbox.lv> 2008-09-06 16:55:34 --- PL/SQL Developer is affected too. Wine 1.1.4 doesn't solve the issue. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |viktor.nagy(a)abmm.hu --- Comment #7 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-12-05 19:26:45 --- *** Bug 16343 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 Wolfgang Walter <wolfgang.walter(a)studentenwerk.mhn.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfgang.walter(a)studentenwer | |k.mhn.de --- Comment #8 from Wolfgang Walter <wolfgang.walter(a)studentenwerk.mhn.de> 2008-12-15 09:54:32 --- I have the same problem with an delphi application. To be more exactly the apps does not really disappear but is in iconic mode on the virtual desktop I switched to (I have kwin as windowsmanager). I found that the following commit is the problem: 8d77c375b27adc490d24d7593769f4e149d4102c Changing the line in handle_wm_state_notify() SendMessageW( data->hwnd, WM_SYSCOMMAND, SC_MINIMIZE, 0 ); back to ShowWindow( data->hwnd, SW_MINIMIZE ); makes the problem disappear. I made a trace with unchanged 1.1.9 for the delphi application and for notepad and they behave different. With the delphi applications different hooks are called before 0025:Call window proc 0x350f39 (hwnd=0x10046,msg=WM_SYSCOMMAND,wp=0000f020,lp=00000000) appears (with notepad this comes immediately), further there are a lot of hooks calls between 0025:Call window proc 0x350f39 (hwnd=0x10046,msg=WM_SYSCOMMAND,wp=0000f020,lp=00000000) and 0025:Ret window proc 0x350f39 (hwnd=0x10046,msg=WM_SYSCOMMAND,wp=0000f020,lp=00000000) retval=00000000 I think that this is some sort of a race. The window manager has already switched to the other desktop when the application finally minimizes it's window. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #9 from Austin English <austinenglish(a)gmail.com> 2008-12-26 15:37:46 --- Dupe *** This bug has been marked as a duplicate of bug 15069 *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15062 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Austin English <austinenglish(a)gmail.com> 2008-12-26 15:37:53 --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org