https://bugs.winehq.org/show_bug.cgi?id=55231
Bug ID: 55231 Summary: Warframe: camera/mouse stuck in X-axis Product: Wine Version: 8.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: pmargeti34@gmail.com Distribution: ---
Wine 8.12 introduces a regression in Warframe: there seems to be a hard limit to how much camera can be turned on the X-axis. After spinning the camera in the same direction a few times, it gets stuck and it's no longer possible to turn in in that direction until it is first turned in the opposite direction. This happens when Warframe is either in full screen mode or borderless fullscreen mode. Windowed mode isn't affected. Warframe is a free to play game and the installer can be obtained here: https://www.warframe.com/download
OS: Archlinux Linux 6.4.3
https://bugs.winehq.org/show_bug.cgi?id=55231
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #1 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Is this with or without 'Capture mouse in fullscreen applications' in winecfg?
Did you try to set MouseWarpOverride to 'force' in the wineprefix registry?
--- from https://wiki.winehq.org/Useful_Registry_Keys --- HKEY_CURRENT_USER | +-Software | +-Wine | +-DirectInput | | | +->MouseWarpOverride | | [Override default mouse pointer warping behavior: | | enable: (default) warp pointer when mouse exclusively acquired | | disable: never warp the mouse pointer | | force: always warp the pointer] --- end ---
Regards.
https://bugs.winehq.org/show_bug.cgi?id=55231
--- Comment #2 from Mel pmargeti34@gmail.com --- Hello, thank you for your reply. Winecfg in the prefix shows 'Automatically capture the mouse in full-screen windows' as checked. With HKCU/Software/Wine/DirectInput/MouseWarpOverride set to 'force' I'm unable to get past the game login screen. This is because Warframe mandates a login reward you're supposed to click on to get into the game world, but this can't be accomplished since mouse keeps warping to the center of the screen.
https://bugs.winehq.org/show_bug.cgi?id=55231
Mel pmargeti34@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pmargeti34@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=55231
Evgenij Ryazanov katzyn@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katzyn@gmail.com
--- Comment #3 from Evgenij Ryazanov katzyn@gmail.com --- This regression also affects The Outer Worlds. Changes of mentioned setting in winecfg and registry key don't help in any combination. Changes in settings of the game itself (fullscreen, window, fullscreen window) don't help either.
This regression is caused by commit 6bf3b5539a3be40ed60cada89204685566c141a0 for bug 53831
The issue doesn't appear in Wine 8.11 and in Wine 8.12 compiled with this commit reverted.
https://bugs.winehq.org/show_bug.cgi?id=55231
Gabriel Ivăncescu gabrielopcode@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gabrielopcode@gmail.com
--- Comment #4 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Created attachment 74840 --> https://bugs.winehq.org/attachment.cgi?id=74840 Don't clip captured mouse pointer only if it's done by the system.
Sorry about that. Does this patch help?
https://bugs.winehq.org/show_bug.cgi?id=55231
--- Comment #5 from Evgenij Ryazanov katzyn@gmail.com --- Yes, your patch helps as well, at least for The Outer Worlds.
https://bugs.winehq.org/show_bug.cgi?id=55231
--- Comment #6 from Mel pmargeti34@gmail.com --- Confirming that patch works for my usecase too.
https://bugs.winehq.org/show_bug.cgi?id=55231
Mel pmargeti34@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |win32u Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=55231
--- Comment #7 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Thanks for testing. Might have to wait a bit for review as I think Rémi is currently on vacation.
https://bugs.winehq.org/show_bug.cgi?id=55231
--- Comment #8 from Mel pmargeti34@gmail.com --- Sadly, the patch doesn't seem to work 100%... I just had the same problem again but it went away after the game created a reward pop up. I'm reverting to 8.11 until this is fixed.
https://bugs.winehq.org/show_bug.cgi?id=55231
--- Comment #9 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Did you do anything specific when it didn't work last time? The patch should now be restricted to when the system captures the mouse pointer via either a Menu showing up (you know, those Win32 menus, at the top of most apps, not custom menus in games), or when you drag/resize the window by grabbing it (the default Windows operation I mean).
https://bugs.winehq.org/show_bug.cgi?id=55231
--- Comment #10 from Evgenij Ryazanov katzyn@gmail.com --- Wine 8.11 (and older versions) and Wine 8.12 with this patch aren't perfect, if focus is switched from the game to other application and back to the game a very similar problem with limited rotation appears frequently, but not every time. I found a workaround: I can open system menu (application launcher), click on its search field, and switch back to the game to restore correct behavior of mouse. Actually I'm not sure is it a bug in the Wine or in The Outer Worlds itself. There are no differences in this minor problem between old versions of Wine and patched 8.12.
With unpatched Wine 8.12 rotation is initially limited and this workaround doesn't work, this version is unusable for this game.
https://bugs.winehq.org/show_bug.cgi?id=55231
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #11 from Rémi Bernon rbernon@codeweavers.com --- The patch seems to mitigate the problem, at least in the same way it probably was before. When the automatic fullscreen window clipping isn't triggered, it should be after the
I think the main issue comes from Wine not using raw events unless it is clipping the cursor.
It looks like the game (or whatever input system it uses) detects a fullscreen window that covers the entire virtual screen, it doesn't bother clipping the cursor. When there are multiple screens or when the window is not fullscreen, the cursor is clipped explicitly.
https://bugs.winehq.org/show_bug.cgi?id=55231
--- Comment #12 from Rémi Bernon rbernon@codeweavers.com --- (Sorry, I hit send early by mistake)
[When the automatic fullscreen window clipping isn't triggered, it should be after the] mouse is clicked.
That remaining issue is an issue that comes from how Wine listens for mouse motion input.
https://bugs.winehq.org/show_bug.cgi?id=55231
--- Comment #13 from Mel pmargeti34@gmail.com --- (In reply to Gabriel Ivăncescu from comment #9)
Did you do anything specific when it didn't work last time? The patch should now be restricted to when the system captures the mouse pointer via either a Menu showing up (you know, those Win32 menus, at the top of most apps, not custom menus in games), or when you drag/resize the window by grabbing it (the default Windows operation I mean).
I alt-tabbed to firefox and back to the game at one point, so like others said, it's probably a Wine not using raw events.
https://bugs.winehq.org/show_bug.cgi?id=55231
Gabriel Ivăncescu gabrielopcode@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |6bf3b5539a3be40ed60cada8920 | |4685566c141a0 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |19d2dc0dfc22d0fc1255a462be6 | |494906b9bd3e8
--- Comment #14 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Fixed by 19d2dc0dfc22d0fc1255a462be6494906b9bd3e8.
https://bugs.winehq.org/show_bug.cgi?id=55231
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.14.