[Bug 53627] New: Max Payne: mouse scroll behaves erratically
https://bugs.winehq.org/show_bug.cgi?id=53627 Bug ID: 53627 Summary: Max Payne: mouse scroll behaves erratically Product: Wine Version: 7.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: matheus.venturini(a)acad.ufsm.br Distribution: --- How to reproduce: 1. Download the Max Payne demo 2. Start the game and select tutorial on the menu 3. Use the scroll wheel The scroll wheel is used to switch weapons in the game. When used it acts as if it gets "stuck" for a few seconds and will switch to the next/previous weapon every frame, causing it to loop over the entire inventory very quickly. The most recent report for the game mentions this issue: https://appdb.winehq.org/objectManager.php?sClass=version&iId=881 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 Matheus <matheus.venturini(a)acad.ufsm.br> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://archive.org/details | |/MaxPayneDemo Keywords| |download -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 --- Comment #1 from Matheus <matheus.venturini(a)acad.ufsm.br> --- I couldn't upload this as an attachment, but here is a video that shows the issue happening in case it's helpful: https://files.catbox.moe/det8nw.avi -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |dinput CC| |gyebro69(a)gmail.com, | |rbernon(a)codeweavers.com Regression SHA1| |3ec4ae839058512e693f5a7b657 | |c7b143f1449da Keywords| |regression --- Comment #2 from Béla Gyebrószki <gyebro69(a)gmail.com> --- I reproduced the problem with the demo and with the Steam version as well. Bisect shows this started happening at commit 3ec4ae839058512e693f5a7b657c7b143f1449da Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Tue Oct 19 09:20:02 2021 +0200 dinput: Factor all GetProperty implementations together. Wine-7.18 MaxPayneDemo.exe (131M) md5sum: d47bc877b1348aa8dd0df18a38392809 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 --- Comment #3 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Still present in Wine-7.22. Also affects Max Payne 2. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 Matheus <matheus.venturini(a)acad.ufsm.br> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Max Payne: mouse scroll |(Regression) Max Payne: |behaves erratically |mouse scroll behaves | |erratically -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 --- Comment #4 from Matheus <matheus.venturini(a)acad.ufsm.br> --- Since regressions are being worked on in preparation for 8.0, I changed the title of this issue based on what was discovered by mr. Gyebrószki. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|(Regression) Max Payne: |Max Payne: mouse scroll |mouse scroll behaves |behaves erratically |erratically | --- Comment #5 from Zeb Figura <z.figura12(a)gmail.com> --- (In reply to Matheus from comment #4)
Since regressions are being worked on in preparation for 8.0, I changed the title of this issue based on what was discovered by mr. Gyebrószki.
We already have a keyword for it, no need to edit the title. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 --- Comment #6 from Matheus <matheus.venturini(a)acad.ufsm.br> --- Yessir. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 Tim Clem <tclem(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tclem(a)codeweavers.com --- Comment #7 from Tim Clem <tclem(a)codeweavers.com> --- Created attachment 73750 --> https://bugs.winehq.org/attachment.cgi?id=73750 return WHEEL_DELTA for z-axis granularity Before 3ec4ae839058512e693f5a7b657c7b143f1449da, we returned WHEEL_DELTA (120) when asked for the granularity of the mouse z-axis. Now we're returning 1. A quick test shows that Windows returns 120 for that value. An ugly hack like the attached gets the game functioning normally for me. Commit 0c9cac9547c4417b9c703c4be78836ff422017c1 made it a little less obvious how best to make that change, now that object properties are factored out. I'm hoping Rémi has an opinion on how to do that. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 --- Comment #8 from Tim Clem <tclem(a)codeweavers.com> --- MR 1887 is up for this. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 --- Comment #9 from Matheus <matheus.venturini(a)acad.ufsm.br> --- (In reply to Tim Clem from comment #8)
MR 1887 is up for this.
I built Wine from source with your patch applied and it worked perfectly for the game demo. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 Rémi Bernon <rbernon(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |055b67ea973eacc447237c19d17 | |52bc3ed84ac24 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Rémi Bernon <rbernon(a)codeweavers.com> --- This should be fixed after https://gitlab.winehq.org/wine/wine/-/commit/055b67ea973eacc447237c19d1752bc.... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=53627 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #11 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.0-rc3. -- 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)
-
WineHQ Bugzilla