Bug 480105

Summary: Image from game on part of screen only and mouse position reported badly
Product: [Plasma] kwin Reporter: Lach Sławomir <slawek>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate, xaver.hugl
Priority: NOR Keywords: qt6
Version First Reported In: 5.92.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Image was only on part of screen, but mouse position was reported badly.

Description Lach Sławomir 2024-01-20 19:37:42 UTC
Created attachment 165085 [details]
Image was only on part of screen, but mouse position was reported badly.

SUMMARY

Moving window of game (Tomb Raider/Native/Flatpaked Steam) do not change resolution properly. Unable to select screen on which game should start. Problem was especially with reading mouse position - game does it wrong, so I must guess, where to move cursor.
Comment 1 Lach Sławomir 2024-01-20 19:50:47 UTC
The same bug with GTA5/EpicGamesLauncher/Proton/Lutris.
Comment 2 Zamundaaa 2024-02-15 21:47:30 UTC
Tomb Raider also behaves very badly with moving it between screens on my PC, but I'm afraid we can't do anything about it. Dealing with display or mode changes (that aren't triggered by the game itself) is something that games are exceptionally horrible at, and that would have to be fixed in the games themselves.
I can recommend gamescope as a workaround though, which tells the game there's only one screen with the correct resolution.
Comment 3 Lach Sławomir 2024-02-16 12:46:19 UTC
I ran Tomb Raider (Steam; native) and launcher contains way to select game monitor/screen. After setting external, it works. But I prefer to simply move window of game, instead searching options in in-game menus or dealing with case, where there is not such option.