Bug 480105 - Image from game on part of screen only and mouse position reported badly
Summary: Image from game on part of screen only and mouse position reported badly
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.92.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-20 19:37 UTC by Lach Sławomir
Modified: 2024-02-16 12:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Image was only on part of screen, but mouse position was reported badly. (2.83 MB, image/png)
2024-01-20 19:37 UTC, Lach Sławomir
Details

Note You need to log in before you can comment on or make changes to this bug.
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.