https://bugs.kde.org/show_bug.cgi?id=487047
Bug ID: 487047 Summary: [xwayland] cursor does not reset to center in games Classification: I don't know Product: kde Version: unspecified Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: madness...@proton.me Target Milestone: --- Created attachment 169494 --> https://bugs.kde.org/attachment.cgi?id=169494&action=edit Video footage of the cursor bug in Counter Strike 2. SUMMARY When opening a menu in a game, the mouse isn't always reset to center, it will if the camera angle in-game doesn't change and the menu is closed and reopened. It feels inconsistent and I'm often looking for my cursor on screen. STEPS TO REPRODUCE 1. Launch a game from Steam (Proton/Native). 2. Open up a menu where the cursor normally would be centered on the screen. 3. Observe current cursor position. 4. Exit the menu. 5. Move mouse around in-game. 6. Open up the menu again. 7. Observe updated cursor position. OBSERVED RESULT The cursor changes location when bringing up the menu after moving the camera angle in-game. EXPECTED RESULT The cursor should be centered upon opening the menu after moving the camera angle in-game. SOFTWARE/OS VERSIONS Linux: OpenSUSE Tumbleweed (available in About System) KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0 Kernel Version: 6.8.8.1-default (64 bit) ADDITIONAL INFORMATION Affected games: - Counter Strike 1.6 - Counter Strike 2 - Cyberpunk 2077 - Ratchet and Clank Rift Apart *This does not happen when starting KDE in a X11 session from SDDM!* *All steam games I've tried so far are affected by this* - I have tried updating to KDE unstable from openSUSE repo (KDE 6.1). - I have tried running the game in gamescope with `--force-grab-cursor` parameter. - I have tried using `QT_QPA_PLATFORM=xcb` when starting Steam. - I have tried using `QT_QPA_PLATFORM=xcb` as a launch parameter for the game. - I have tried forcing a software cursor by using `KWIN_FORCE_SW_CURSOR=1`. - I have tried using an older version of KDE in Kubuntu 24.04 LTS. - I have tried using Steam from Flatpak and openSUSE repo. - I have tired disabling and unplugging all my other monitors. - I have tried disabling the integrated GPU. - I have tried launching Steam from TTY. - I have tried setting scaling to 100%. - I have tried setting Legacy applications scaling to 'Apply scaling themselves' and 'Scaled by the system'. Graphics: Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] driver: amdgpu v: kernel Display: wayland server: X.org v: 1.21.1.12 with: Xwayland v: 23.2.6 compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa dri: radeonsi gpu: amdgpu resolution: 2560x1440 API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.5 renderer: AMD Radeon RX 7900 XTX (radeonsi navi31 LLVM 18.1.5 DRM 3.57 6.8.8-1-default) -- You are receiving this mail because: You are watching all bug changes.