[Bug 10115] New: Wine should restore the initial graphics mode if an application exits abnormally
http://bugs.winehq.org/show_bug.cgi?id=10115 Summary: Wine should restore the initial graphics mode if an application exits abnormally Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-kernel AssignedTo: wine-bugs(a)winehq.org ReportedBy: t.artem(a)mailcity.com Sometimes DirectX applications crash and leave your desktop with a changed resolution e.g. 640x480. This shouldn't happen - wine should restore the initial graphics mode if an application exited abnormally. Right now you have to `xrandr -s 0` or use any other utility. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 Stefan Dösinger <stefandoesinger(a)gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger(a)gmx.at Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #1 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-10-20 08:27:44 --- I agree that this should be done, but the problem is that if we crash, we're crashed... Doing anything after a crash is a bit tricky. Maybe the DLL unload handler still runs after a crash, but I am not sure about it. Furthermore doing anything with messed up data structures in the process may be a bit tricky. Maybe it can be done in Wineserver, and I think that's close to what Windows does. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 --- Comment #2 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2007-10-20 08:32:15 --- I suppose, Alexander can find or propose where to insert such functionality ;-) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 --- Comment #3 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2007-10-20 08:37:32 --- Sorry for flooding, but wineserver usually keeps running after an application exited, so we can make it 'watchdog' resolution recovery. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Component|wine-kernel |wine-directx-d3d --- Comment #4 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2007-10-20 10:39:21 --- Wine server is not GUI app and does not even have connection to X. Should be really fixed in the place that crashes to not crash. On windows you get the same result... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 --- Comment #5 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2007-10-20 11:08:18 --- In Windows graphics applications crash rarely - and speaking frankly, you're lying: when you kill a hanging application using Task Manager then your desktop resolution will be restored automatically. In other words it is *Wine* that is changing resolutions, so Wine has to revert to your normal desktop setup. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 --- Comment #6 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-10-20 16:18:38 --- If an app on Windows crashes, I mean really crashes, not beeing terminated with the task manager, the resolution is restored too. I had this quite often with my d3d test app. It even works when terminating the app with ctrl+c -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|wine-directx-d3d |wine-user --- Comment #7 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2007-10-21 05:27:05 --- Probably the component should be set to user32 since ChangeDisplaySettings is a user32 API, and an app which changes display mode is not necessary a game. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 --- Comment #8 from Tijl Coosemans <tijl(a)ulyssis.org> 2007-10-21 06:16:09 --- I would think Windows keeps track of display settings per app, because alt+tabbing switches resolution as well. If an app crashes then, some other will get activated and the resolution is "restored". -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> 2007-10-21 12:30:07 --- This should be handled at the window manager level. You should lobby freedesktop.org guys to add a standard for that... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 --- Comment #10 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2007-10-21 13:23:01 --- Such a request may take ages. freedesktop guys often completely neglect the bugs filed into their bugzilla. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 --- Comment #11 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2007-10-21 21:40:20 --- You have to try it first before claiming that Wine needs a workaround. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 Artem S. Tashkinov <t.artem(a)mailcity.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED --- Comment #12 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2007-10-22 11:07:43 --- OK, let us leave it as is waiting patiently for other guys to come up with a solution in two or maybe five years. A solution which is relevant for the only application because Wine is the only Linux/X11 application which changes graphics resolutions and have no means of restoring it automatically upon its _own_ crash. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 --- Comment #13 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-10-22 11:13:51 --- Wrong, ppracer doesn't even restore the resolution if it is killed with a plain SIGTERM. Just one counter-example. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 James Hawkins <truiken(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from James Hawkins <truiken(a)gmail.com> 2008-01-07 03:15:23 --- Closing abandoned. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10115 --- Comment #15 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2008-03-16 08:45:12 --- X.org devs seem not to care about this bug at all. https://bugs.freedesktop.org/show_bug.cgi?id=14255 -- 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=10115 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified -- 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=10115 Artem S. Tashkinov <t.artem(a)mailcity.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |10841 -- 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=10115 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |otaku(a)rambler.ru --- Comment #16 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2012-01-08 03:13:58 CST --- *** Bug 29563 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=10115 Bug 10115 depends on bug 10841, which changed state. Bug 10841 Summary: Restore display resolution when focus is lost or on exit http://bugs.winehq.org/show_bug.cgi?id=10841 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |UPSTREAM -- 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