https://bugs.winehq.org/show_bug.cgi?id=49347
Bug ID: 49347 Summary: Settlers III: mouse not working on start screen and menu Product: Wine Version: 5.9 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: adrian.kalla@gmail.com Distribution: ---
Basically this is the same issue that was some time ago fixed in Bug 38087 - but I don't have the permissions to reopen that bug...
https://bugs.winehq.org/show_bug.cgi?id=49347
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |38087
https://bugs.winehq.org/show_bug.cgi?id=49347
--- Comment #1 from Adrian Kalla adrian.kalla@gmail.com --- The bug reappeared in Wine (Staging) 5.9 and 5.10.
It was working flawlessly at least until Wine (Staging) 5.5.
https://bugs.winehq.org/show_bug.cgi?id=49347
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
https://bugs.winehq.org/show_bug.cgi?id=49347
--- Comment #2 from Adrian Kalla adrian.kalla@gmail.com --- A wild guess is that this patch that landed in 5.9 caused this: https://source.winehq.org/git/wine.git/commitdiff/d9855df17f905da97b4bd92227...
https://bugs.winehq.org/show_bug.cgi?id=49347
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|5.9 |5.6
--- Comment #3 from Adrian Kalla adrian.kalla@gmail.com --- Forget my comment #2: after testing with all releases from 5.5 to 5.10 I can now confirm that this regressed in 5.6, so the offending patch must have landed between 5.5 and 5.6.
https://bugs.winehq.org/show_bug.cgi?id=49347
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- I tested with current wine-git and Settlers 3: Ultimate Collection from GOG and couldn't reproduce the issue.
Did you try with vanilla wine as well or only staging?
https://bugs.winehq.org/show_bug.cgi?id=49347
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com
--- Comment #5 from Adrian Kalla adrian.kalla@gmail.com --- (In reply to Gijs Vermeulen from comment #4)
Did you try with vanilla wine as well or only staging?
I have tried both.
I tested with current wine-git and Settlers 3: Ultimate Collection from GOG and couldn't reproduce the issue.
I have also tested with today git source and the issue is still there. Not sure if this is relevant here: I run the game inside the "Wine Desktop" and have disabled the "Intro" videos in the settings. The issue manifests itself by the mouse not disappearing when the main menu of the game opens (the cursor is not only hidden but is also not functional).
I also did now find out the exact commit that broke the game: f91dd56ccd7ee980e8d867eb872f40f609f485f7 ( https://source.winehq.org/git/wine.git/commit/f91dd56ccd7ee980e8d867eb872f40... ). @Zhiyi Zhang zzhang@codeweavers.com: I am adding you here, as above commit is yours ;) The commit comment says: "wined3d: Do not clip the cursor after changing display modes. DirectDraw should clip the cursor to the primary monitor only when the cooperative level is DDSCL_EXCLUSIVE. For Direct3D 8, 9 and DXGI, changing display modes shouldn't clip the cursor as tests showed." but the game here is Direct3D <8, so I guess this was unintended?
BTW. The last working build can be done from this commit: https://source.winehq.org/git/wine.git/commit/2df67d56f3a36df754cd7a52d46c33...
https://bugs.winehq.org/show_bug.cgi?id=49347
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.fileplanet.com/ | |archive/p-6335/The-Settlers | |-III-Quest-of-the-Amazons-D | |emo
https://bugs.winehq.org/show_bug.cgi?id=49347
--- Comment #6 from Adrian Kalla adrian.kalla@gmail.com --- Created attachment 67468 --> https://bugs.winehq.org/attachment.cgi?id=67468 Minimal patch that fixes the issue
With this minimal patch the issue gets fixed.
https://bugs.winehq.org/show_bug.cgi?id=49347
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |f91dd56ccd7ee980e8d867eb872 | |f40f609f485f7
--- Comment #7 from Gijs Vermeulen gijsvrm@gmail.com --- Thanks for the regression test, adding fields.
I still can't reproduce even with the virtual desktop and intro setting, but I'll try the demo next.
https://bugs.winehq.org/show_bug.cgi?id=49347
--- Comment #8 from Adrian Kalla adrian.kalla@gmail.com --- (In reply to Gijs Vermeulen from comment #7)
I still can't reproduce even with the virtual desktop and intro setting, but I'll try the demo next.
Interesting. Something else must have an influence here, it seems, as I can reproduce it in all my Wine prefixes...
My setup: KUbuntu 18.04 64 bit with latest HWE NVIDIA Quadro 2000M with the 390.132 driver
https://bugs.winehq.org/show_bug.cgi?id=49347
--- Comment #9 from Adrian Kalla adrian.kalla@gmail.com --- @Gijs Vermeulen: I think I know why this does work for you and not for me: in winecfg I have the option "Automatically capture the mouse in full-screen windows" *active*. When I disable it, then the mouse works again in the Settlers 3 menu and game.
https://bugs.winehq.org/show_bug.cgi?id=49347
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=49347
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Settlers III: mouse not |Settlers III: mouse not |working on start screen and |working on start screen and |menu |menu if "Automatically | |capture the mouse in | |full-screen windows" is on | |and the game intro videos | |are off
https://bugs.winehq.org/show_bug.cgi?id=49347
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Settlers III: mouse not |Settlers III: mouse not |working on start screen and |working on start screen and |menu if "Automatically |statistics screen after a |capture the mouse in |game, if "Automatically |full-screen windows" is on |capture the mouse in |and the game intro videos |full-screen windows" is on |are off |in winecfg
https://bugs.winehq.org/show_bug.cgi?id=49347
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Settlers III: mouse not |Settlers III: mouse not |working on start screen and |working on start screen, |statistics screen after a |game entry and statistics |game, if "Automatically |screen after a game, if |capture the mouse in |"Automatically capture the |full-screen windows" is on |mouse in full-screen |in winecfg |windows" is on in winecfg
https://bugs.winehq.org/show_bug.cgi?id=49347
--- Comment #10 from Adrian Kalla adrian.kalla@gmail.com --- Steps to reproduce: 1. Create a new, preferably 32 bit, Wine prefix 2. Turn ON the option "Automatically capture the mouse in full-screen windows" in winecfg 3. (Not necessary to reproduce the bug, but makes testing easier) Turn ON the "Wine desktop" in winecfg 4. Download "The Settlers 3 Amazon Demo" from the link above or from this link: http://s3de.siedler3.net/ftp.bluebyte.com/demos/eng/settlers3amazons/s3a_dem... 5. Install it 6. Launch it (if the shortcut does not work, use the "S3_A_Demo.exe" file in the game directory)
Result: 1. See that the mouse cursor is not there right on the first screen and you cannot click anything
Expected result: 1. Mouse works
Workaround: 1. Tab-out from the Wine desktop and go back in, as then the mouse works again
https://bugs.winehq.org/show_bug.cgi?id=49347
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|f91dd56ccd7ee980e8d867eb872 | |f40f609f485f7 |
https://bugs.winehq.org/show_bug.cgi?id=49347
--- Comment #11 from Zhiyi Zhang zzhang@codeweavers.com --- I do sometimes encounter the clipping issue but the results are not deterministic. Most of the time I can't reproduce the issue with/without f91dd56ccd7ee980e8d867eb872f40f609f485f7 or "Automatically capture the mouse in full-screen windows", or Virtual Desktop.
Please share some details of your setup. For example, what window manager are you using? And attach the output of xrandr --verbose is possible.
https://bugs.winehq.org/show_bug.cgi?id=49347
--- Comment #12 from Adrian Kalla adrian.kalla@gmail.com --- Created attachment 67543 --> https://bugs.winehq.org/attachment.cgi?id=67543 xrandr --verbose
xrandr --verbose output attached
My setup is already described in Comment #8.
This is 100% deterministic for me: with f91dd56ccd7ee980e8d867eb872f40f609f485f7 the problem exists, without it doesn't.
https://bugs.winehq.org/show_bug.cgi?id=49347
--- Comment #13 from Adrian Kalla adrian.kalla@gmail.com --- More details about my setup:
Hardware: NVIDIA Quadro 2000M Intel Core i7-2670QM
KUbuntu 18.04 64 bit with latest HWE KDE Plasma 5.12.9 QT 5.9.5 Kernel 5.3.0-59-generic NVIDIA 390.132 driver OpenGL 4.6.0 X.Org version: 1.20.8
https://bugs.winehq.org/show_bug.cgi?id=49347
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |f91dd56ccd7ee980e8d867eb872 | |f40f609f485f7
https://bugs.winehq.org/show_bug.cgi?id=49347
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #14 from Adrian Kalla adrian.kalla@gmail.com --- Somehow this got fixed in 5.19 (though the mouse is not "captured" initially; nonetheless the issue here is resolved).
https://bugs.winehq.org/show_bug.cgi?id=49347
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.0-rc4.
https://bugs.winehq.org/show_bug.cgi?id=49347
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #16 from Anastasius Focht focht@gmx.net --- Hello folks,
stable links via Internet Archive for documentation:
---
https://web.archive.org/web/20201226193114/http://download.fileplanet.com/ft...
$ sha1sum S3_A_Demo.exe 568d490b6497e59b047ec8cdd4e6d7caba6c1951 S3_A_Demo.exe
$ du -sh S3_A_Demo.exe 53M S3_A_Demo.exe
---
https://web.archive.org/web/20201226193834/http://s3de.siedler3.net/ftp.blue...
$ sha1sum s3a_demo_us.exe b6e9d8217e17fb0b9e028b0ad61542611a9eb07d s3a_demo_us.exe
$ du -sh s3a_demo_us.exe 49M s3a_demo_us.exe
Regards