https://bugs.winehq.org/show_bug.cgi?id=57216
Bug ID: 57216 Summary: IL-2 1946 crashes on startup + mouse problems Product: Wine Version: 9.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: roskatunnukset@outlook.com Distribution: ---
Created attachment 77128 --> https://bugs.winehq.org/attachment.cgi?id=77128 Terminal output of game crashing at startup
This bug report has two different problems:
Using any Wine after 8.0 stable will cause Scroll-wheel to don't work reliably. If you scroll downwards, it will go downwards, but if you instead scroll upwards, it will still go downwards.
Pointer goes very slow and sticky when close to borders of the screen. Only in center of the screen it works like it should.
Game is only playable at Wine 8.0 stable because of this problem. Wine 9.0 stable has same mouse wheel problem and newest wine releases 9.16, 9.17 and 9.18 just crashes game at startup.
Terminal output as attachment with Wine 9.18 staging:
https://bugs.winehq.org/show_bug.cgi?id=57216
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Regression SHA1| |1e594b1c0fd23c1aedc13b3c2d8 | |c91c1fc00f8ee Keywords| |regression Version|9.18 |8.5 Summary|IL-2 1946 crashes on |Mouse wheel input in IL-2 |startup + mouse problems |1946 is not applied | |consistently to UI elements Component|-unknown |dinput Status|UNCONFIRMED |NEW CC| |rbernon@codeweavers.com
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com --- Regarding the issue with the mouse wheel scroll behavior, I was able to reproduce the problem in wine-9.0 and wine-9.18 with the GOG release of IL-2 Sturmovik: 1946 (version 4.13.4m). The weird scroll behavior can be seen in the game by accessing View Objects -> Aircraft from the main menu and using the mouse wheel to scroll up and down with the pointer over the Object List.
With 5 wheel-down inputs applied to the list, I notice the scrollbar moves down 4 times, but applying 5 wheel-up inputs results in the scrollbar moving further down. I had to apply 5 more wheel-up inputs for the scrollbar to start moving up.
Regression testing identified the following commit:
1e594b1c0fd23c1aedc13b3c2d8c91c1fc00f8ee is the first bad commit commit 1e594b1c0fd23c1aedc13b3c2d8c91c1fc00f8ee Author: Rémi Bernon rbernon@codeweavers.com Date: Mon Mar 20 15:07:46 2023 +0100
dinput: Pass device object format index to queue_event.
As for the issue with the sticky mouse pointer and crash on startup, I could not reproduce the problems in wine-9.18, but my version of the game may have different behavior from yours. Please open separate bugs for the other issues and perform a regression test for the startup crash: https://gitlab.winehq.org/wine/wine/-/wikis/Regression-Testing
https://bugs.winehq.org/show_bug.cgi?id=57216
--- Comment #2 from Herrmann roskatunnukset@outlook.com --- I was assuming that sticky mouse pointer and scroll-wheel bug were from the same source, because I always get both of them after updating Wine 8.0 stable to newer versions. It seems not if you don't have it.
There maybe variable here: I play IL-2 1946 4.13.4M with SAS-MODACT 6.40 mod enabler with tons of mods.
Both in vanilla and with SAS-Modact I can get scroll-wheel bug, but I never tested if I get sticky pointer in vanilla. I just stopped testing it immediately when I recognized scroll-wheel was not working in vanilla either and assumed pointer bug was also present.
- Tested: Sticky pointer bug is only active in SAS-Modact 6.40, and in vanilla it works like it should. (Maybe because of SAS-Modact, maybe reason of some mod/mods, but bug is not present in 8.0 Stable.)
About crash at startup, I opened new separated issue for it, and this can be about scroll-wheel behaviour.
https://bugs.winehq.org/show_bug.cgi?id=57227
https://bugs.winehq.org/show_bug.cgi?id=57216
Herrmann roskatunnukset@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Mouse wheel input in IL-2 |Mouse wheel input in IL-2 |1946 is not applied |1946 is not applied |consistently to UI elements |consistently to UI elements | |and throttle
https://bugs.winehq.org/show_bug.cgi?id=57216
--- Comment #3 from Herrmann roskatunnukset@outlook.com --- PS: Mouse wheel bug is not only about UI elements, it also applies to throttle when mouse wheel is assigned to control it. This makes game unplayable if using mouse wheel as cheap throttle and trackir combination.
https://bugs.winehq.org/show_bug.cgi?id=57216
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |4fa92346706d434a0de03bd7d6e | |2383fbeba36b2 Resolution|--- |FIXED
--- Comment #4 from Rémi Bernon rbernon@codeweavers.com --- Should be fixed after 4fa92346706d434a0de03bd7d6e2383fbeba36b2
https://bugs.winehq.org/show_bug.cgi?id=57216
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.0-rc2.