Middle mouse event processing irregularity in Wayland when playing Dyson Sphere Program under Steam Proton 5.13-5
Cross post from https://gitlab.gnome.org/GNOME/mutter/-/issues/1628
Affected version
Fedora 32
Gnome 3.36.8 - Wayland
Bug summary
Cross post from https://github.com/ValveSoftware/Proton/issues/4572.
Dyson Sphere Program is a 3D Unity game. The current version 0.6.15.5666 runs almost perfectly under Steam Proton 5.13-5 with exception to non-functional middle mouse when the game is rendering in 3D, which is most of the time. Currently, the middle mouse, when held, is used to rotate the camera around the avatar. The same button, when held, can be used to pan the technology screen when it is opened. This aspect is functional. Furthermore, when Gnome session is X instead of Wayland, as reported by other users in the above thread and elsewhere (comment 14 and onward https://steamcommunity.com/app/1366540/discussions/0/3111392579681892092/#c3106889614417744369), the middle mouse does function to rotate the camera around the avatar. This irregularity in function seems like a bug under Wayland.
Steps to reproduce
- Run Dyson Sphere Program version 0.6.15.5666 with steam compatiblity profile set to Proton 5.13-5 while in a Gnome - Wayland session.
- Get into a new game or saved game then proceed to try and hold middle mouse button down to rotate the camera view around the avatar. Notice the camera view does not respond.
- Repeat with the technology screen open (hit shortcut key T). Notice the screen can pan.
- Repeat while under Gnome - Xorg session. Notice both 2 and 3 are functional.
What happened
Irregular function with middle mouse button.
What did you expect to happen
It should be processing the middle mouse button held event correctly whether the game is rendering 2D or 3D.
Relevant logs, screenshots, screencasts etc.
https://github.com/ValveSoftware/Proton/issues/4572
https://steamcommunity.com/app/1366540/discussions/0/3111392579681892092/#c3106889614417744369