https://bugs.winehq.org/show_bug.cgi?id=47457
Bug ID: 47457 Summary: Mouse click-click-hold is treated as double click, causing gun jam in Overwatch Product: Wine Version: 4.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: forestcode@ixio.org Distribution: ---
In Overwatch:
Pressing, then releasing, then holding the mouse button down should cause the hero's gun to fire, then stop, then continuously fire for as long as the button remains held (or ammunition runs out). When this is done quickly, the gun jams after the second click, as if the mouse button was released, even though it was not.
This bug occurs with both the left and right mouse button. It is easiest to reproduce with heroes whose fire and alternate fire abilities are sustained actions. Sombra is a good example, since both her machine pistol and her hack ability have obvious visual indications when the game thinks a mouse button is held down.
The bug does not occur when the click-click-hold is done somewhat slowly (maybe half a second between clicks) or when the mouse position moves significantly between clicks. In other words, it only happens when the mouse input resembles that of double-clicking a widget in a desktop environment. I guess something might be intercepting the raw mouse input, reinterpreting click-click-hold as double-click, and reporting click-release-click-release to the game?
I tried altering the double-click timing and movement tolerance in both my desktop's mouse settings and my window manager settings (xfce4), but it did not affect the bug. I therefore tend to think the bug is in Wine.
https://bugs.winehq.org/show_bug.cgi?id=47457
--- Comment #1 from Forest forestcode@ixio.org --- This bug seems to be fixed in the lutris-4.12.1 build of Wine, presumably because that build includes Derek Lesho's Raw-Input patches:
https://www.winehq.org/pipermail/wine-devel/2019-June/147963.html https://www.winehq.org/pipermail/wine-devel/2019-August/thread.html#149040
https://bugs.winehq.org/show_bug.cgi?id=47457
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/user32-rawinput Status|UNCONFIRMED |STAGED
https://bugs.winehq.org/show_bug.cgi?id=47457
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-sta |https://github.com/wine-sta |ging/wine-staging/tree/mast |ging/wine-staging/tree/mast |er/patches/user32-rawinput |er/patches/user32-rawinput- | |mouse