Bug 484835 - Proton games do not lock onto game window on a multi-monitor setup since 6.0.x
Summary: Proton games do not lock onto game window on a multi-monitor setup since 6.0.x
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.0.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 20:05 UTC by Ashcon Mohseninia
Modified: 2024-03-31 23:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Demo showing the bug (2.02 MB, video/mp4)
2024-03-31 20:05 UTC, Ashcon Mohseninia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ashcon Mohseninia 2024-03-31 20:05:44 UTC
Created attachment 167998 [details]
Demo showing the bug

SUMMARY
When playing a game on a multi-monitor setup, the mouse can escape the main monitor (Where the game is being played), but is teleported back to the window fairly quickly.

The issue is that when it is outside the window, clicking (IE: Firing a weapon), instead causes the focus of the game to be lost, and the other monitors become the focus.

What is interesting, is since 6.0.3, the game still looks around as if the mouse is still present in the game window. Pre 6.0.3, the mouse would move outside the window and the game would stop looking around.

STEPS TO REPRODUCE
1. Play a proton Game on any version of plasma 6.0.x on a multi-monitor setup
2. Try to look around
3. Notice that the mouse is escaping the main game window.

I've attached a video here to show the bug in action

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION