http://bugs.winehq.org/show_bug.cgi?id=14607
Summary: Serious Sam TFE and TSE - window minimizes and becomes unusable Product: Wine Version: CVS/GIT Platform: PC URL: http://files.seriouszone.com/download.php?fileid=338 OS/Version: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: alexd4@inbox.lv CC: julliard@winehq.org
In current git both "encounters" of Serious Sam 1 are regressed compared to wine-0.9.59. When attempting to change video resolution in full screen mode (in current git) the game's window becomes minimized and can't be restored after that. It actually appears to change resolution successfully, but then there is a "keep this settings yes/no" box and after pressing yes it breaks. This worked in wine-0.9.59. The problem is in fullscreen mode only, in virtual desktop emulation everything works.
I did some regression testing, and I think problems began with this commit:
commit fd97acbadffdc8af6d2682cb761a92ff2ab2f355 Author: Alexandre Julliard julliard@winehq.org Date: Mon Apr 7 11:43:46 2008 +0200
winex11: Set the _NET_WM_STATE atom directly for unmapped windows.
It is a bit difficult, because the nature of the problem changed slightly between the above commit and current git. I.e. in a commit just before fd97acbadffdc8af6d2682cb761a92ff2ab2f355 it works, in fd97acbadffdc8af6d2682cb761a92ff2ab2f355 a similar broken "minimization" happens, only not after changing the resolution, but instead during game initialization (you can't even get to the main menu). A bit later, a different commit (1bf824e0b00d2b179d5f34dd0c7ace83e83bd28a) partially fixed the problem, getting it to the state as it is now (can get to menu, but can't change resolution). I tried backporting fix from 1bf824e0b00d2b179d5f34dd0c7ace83e83bd28a to commit fd97acbadffdc8af6d2682cb761a92ff2ab2f355 and it works as expected, recreating the problem in current form in that commit. In all of these cases only fullscreen mode is affected.
I see this in Serious Sam - The First Encounter 1.05 (retail) and in Serious Sam - The Second Encounter demo. Demo is available for download. If it will be necessary I can generate some logs for this.