[Bug 56681] New: 3d games continue receiving mouse input while not focused
https://bugs.winehq.org/show_bug.cgi?id=56681 Bug ID: 56681 Summary: 3d games continue receiving mouse input while not focused Product: Wine Version: 9.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winewayland Assignee: wine-bugs(a)winehq.org Reporter: pmargeti34(a)gmail.com Distribution: --- Wine wayland windows seem to get the mouse input even if the application window is not focused. 3D game world continues to respond to mouse input as if the game still had focus. To reproduce: -launch a 3d game in wayland mode (warframe in my example) -open another application and make sure it has focus -observe that when the mouse cursor is over the game window, game still receives input -- 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=56681 --- Comment #1 from Mel <pmargeti34(a)gmail.com> --- Created attachment 76459 --> https://bugs.winehq.org/attachment.cgi?id=76459 Kooha screen recorder is focused but warframe still receives mouse input -- 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=56681 Mel <pmargeti34(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pmargeti34(a)gmail.com -- 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=56681 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://content.warframe.co | |m/dl/Warframe.msi --- Comment #2 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- It's definitely only 3D games, other apps aren't affected? Please attach the full console output. -- 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=56681 --- Comment #3 from Mel <pmargeti34(a)gmail.com> --- Created attachment 76494 --> https://bugs.winehq.org/attachment.cgi?id=76494 console output -- 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=56681 --- Comment #4 from Mel <pmargeti34(a)gmail.com> --- (In reply to Ken Sharp from comment #2)
It's definitely only 3D games, other apps aren't affected?
Please attach the full console output.
I don't have other wine-based apps on my system. Is there any application you can think of that grabs mouse input but isn't a 3d game you can think of that I can try with? -- 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=56681 --- Comment #5 from Mel <pmargeti34(a)gmail.com> --- Created attachment 76546 --> https://bugs.winehq.org/attachment.cgi?id=76546 console output with regular wine Also happens with regular wine -- 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=56681 --- Comment #6 from Mel <pmargeti34(a)gmail.com> --- Created attachment 76549 --> https://bugs.winehq.org/attachment.cgi?id=76549 happens under kwin also looks like it's not a mutter only bug, I can reproduce it on latest kwin 6.1 beta -- 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=56681 --- Comment #7 from Mel <pmargeti34(a)gmail.com> --- Unchanged in wine 10.0 -- 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=56681 Attila Fidan <winebugs(a)print0.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winebugs(a)print0.net --- Comment #8 from Attila Fidan <winebugs(a)print0.net> --- I think https://gitlab.winehq.org/wine/wine/-/merge_requests/7475 should fix 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=56681 mrdeathjr28(a)yahoo.es changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdeathjr28(a)yahoo.es -- 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.
http://bugs.winehq.org/show_bug.cgi?id=56681 --- Comment #9 from Mel <pmargeti34(a)gmail.com> --- The linked MR has been stale for 8 months now, with one contributor stating the following: "I don't know of any good-for-all-cases answer to the more general question about what to do when the lock is disabled by the system itself, since AFAIK this is not a possible scenario under win32. All of the following are viable options depending on the application: Do nothing (current code, i.e., keep relative motion enabled) Block all pointer motion events (this MR, but what about mouse button/axis events?) Switch to absolute events (e.g., if we are not dealing with a mouselook scenario) One concern I have with option (2) is that the cursor will just disappear when entering the unfocused window and leave the user without any feedback about what's going on. My personal preference is maintaining the current, more unopinionated "do nothing" approach and try to make some progress fixing the real underlying issue that's causing the bug." With all due respect to that opinion, I'm pretty sure the ingame camera doesn't induce nausea while one alt tabs to change song in a music player under windows. This also doesn't happen under Xwayland. -- 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