http://bugs.winehq.org/show_bug.cgi?id=18753
Summary: Apps not terminatable Product: Wine Version: 1.1.22 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P1 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: Manuel.Bihl@gmx.de
If you open any program (e.g. winecfg) inside of an Virtual Desktop (wine explorer /desktop=,640x480 winecfg) it's not possible to exit the program with alt-f4 or the cross of the winedesktop.
http://bugs.winehq.org/show_bug.cgi?id=18753
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P4 Alias|VirtDeskQuit | Severity|trivial |enhancement
--- Comment #1 from Ken Sharp kennybobs@o2.co.uk 2009-06-02 15:42:51 --- (In reply to comment #0)
it's not possible to exit the program with alt-f4 or the cross of the winedesktop.
Why should either of those be possible?
http://bugs.winehq.org/show_bug.cgi?id=18753
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression, | |source CC| |madewokherd@gmail.com
--- Comment #2 from Vincent Povirk madewokherd@gmail.com 2009-06-02 16:10:53 --- This was possible in earlier versions of Wine. Closing the virtual desktop window would attempt to end the session cleanly using wineboot.
http://bugs.winehq.org/show_bug.cgi?id=18753
--- Comment #3 from Ken Sharp kennybobs@o2.co.uk 2009-06-02 16:19:44 --- Didn't it also cause ALL apps to exit? Wineboot is supposed to simulate a reboot after all, right?
http://bugs.winehq.org/show_bug.cgi?id=18753
--- Comment #4 from Vincent Povirk madewokherd@gmail.com 2009-06-02 16:23:55 --- Oh, right, so it did. Still, ending only the virtual desktop session would be sensible behavior.
http://bugs.winehq.org/show_bug.cgi?id=18753
--- Comment #5 from Ken Sharp kennybobs@o2.co.uk 2009-06-02 16:27:07 --- But it is ended, by closing the app.
http://bugs.winehq.org/show_bug.cgi?id=18753
--- Comment #6 from Vincent Povirk madewokherd@gmail.com 2009-06-02 22:20:14 --- d69340cd6bb6e0385f9461efb72af360d1d94947 is first bad commit commit d69340cd6bb6e0385f9461efb72af360d1d94947 Author: Rein Klazes wijn@online.nl Date: Wed Feb 18 07:49:15 2009 +0100
user32: Do not handle WM_ENDSESSION in DefWindowProc() with test.
:040000 040000 94c26bbb5380729dfc796309f3269f800dc67e0c 4c94586551211b4dbe8e31569511017e0ca0bb8f M dlls
http://bugs.winehq.org/show_bug.cgi?id=18753
--- Comment #7 from Rein Klazes wijn@online.nl 2009-06-03 01:30:04 --- (In reply to comment #6)
d69340cd6bb6e0385f9461efb72af360d1d94947 is first bad commit commit d69340cd6bb6e0385f9461efb72af360d1d94947 Author: Rein Klazes wijn@online.nl Date: Wed Feb 18 07:49:15 2009 +0100 user32: Do not handle WM_ENDSESSION in DefWindowProc() with test.
Which is itself fixing a regression, by reverting this patch:
2006-02-24 Francois Gouget fgouget@codeweavers.com
* dlls/user/defwnd.c: user32: Handle WM_ENDSESSION in DefWinProc(). DefWinProc() should call PostQuitMessage() on WM_ENDSESSION if the shutdown is proceeding.
The added test is there to show that this not the correct way to handle the WM_ENDSESSION message.
BTW, here the alt-f4 and pressing the cross both work with a rather long delay, about 20 seconds. Also with a fresh prefix.
http://bugs.winehq.org/show_bug.cgi?id=18753
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |programs Summary|Apps not terminatable |wineboot --shutdown does | |not close running programs
--- Comment #8 from Vincent Povirk madewokherd@gmail.com 2009-06-03 08:39:32 --- It's probably wineboot timing out then. If it doesn't get a response, it will eventually start killing programs.
And if I run wineboot --shutdown with notepad running, notepad doesn't close.
http://bugs.winehq.org/show_bug.cgi?id=18753
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |nerv@dawncrow.de Ever Confirmed|0 |1
--- Comment #9 from André H. nerv@dawncrow.de 2009-10-26 12:48:39 --- confirming in wine-1.1.32
http://bugs.winehq.org/show_bug.cgi?id=18753
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |13393
http://bugs.winehq.org/show_bug.cgi?id=18753
--- Comment #10 from Vincent Povirk madewokherd@gmail.com 2009-11-27 10:32:03 --- This is blocking a 1.2 bug (and preventing virtual desktops from closing the programs inside when closed), so I'm adding the 1.2 target.
http://bugs.winehq.org/show_bug.cgi?id=18753
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.0
--- Comment #11 from Austin English austinenglish@gmail.com 2009-11-27 13:05:01 --- (In reply to comment #10)
This is blocking a 1.2 bug (and preventing virtual desktops from closing the programs inside when closed), so I'm adding the 1.2 target.
It helps if you actually set it ;-).
http://bugs.winehq.org/show_bug.cgi?id=18753
--- Comment #12 from Vincent Povirk madewokherd@gmail.com 2009-12-10 12:15:31 --- I did some testing and asked wine-devel (see http://www.winehq.org/pipermail/wine-devel/2009-November/080104.html), and it seems the correct behavior is for wineboot to kill each process after all its windows have returned from the WM_ENDSESSION message.
http://bugs.winehq.org/show_bug.cgi?id=18753
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #13 from Vincent Povirk madewokherd@gmail.com 2009-12-17 17:33:52 --- This works now with notepad.
http://bugs.winehq.org/show_bug.cgi?id=18753
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2009-12-18 13:07:36 --- Closing bugs fixed in 1.1.35.