protonscr

games dont grab (input)focus properly on launch

steamclosed 3rd party gameMOVED: Portal2Distro Family: Gentoo
ValveSoftware/steam-for-linux#4899 · opened 2017-03-18 by cjwijtmans · updated 2018-08-24 · 6 comments · github
Ccjwijtmans 2017-03-18 github

Your system information

  • Steam client version (build number or date): 1489791860
  • Distribution (e.g. Ubuntu): Gentoo
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

I am playing on my steamlink but this issue is not isolated to BPM/streaming.
Some games on launch fail to grab focus from steam/BPM.
Terraria: no visual focus but input focus.(game is windowed though)
Rocketleague: visual focus but no input focus (and desktop cursor is visible)
Binding of isaac: visual focus but no input focus
Portal2: visual focus AND input focus.
Etc.

Focus grabbing prevention turned OFF on KDE.
With physical access to desktop i can grab focus to the game.

Very annoying bug and discouraging to play games via my desktop...

Kkisak-valve maintainer 2017-03-18 github

Possibly SDL related, assigning to the SDL dev. Some of these games bundle SDL, so the individual game devs may need to contacted after this is figured out.

As far as I know, there is no game-specific cursor for Rocket League and it is expected to use the system cursor.

Ccjwijtmans 2017-03-18 github

Would like to add that i dont have SDL installed on my system.

Ccjwijtmans 2017-03-18 github

Also when i press i press the steam button on the controller i see the steam overlay in the game and i have input focus but when i close the menu again no input focus in the game.

UUramekus 2018-08-23 github

@cjwijtmans can you still reproduce that? cant reproduce on my i3wm setup, its surely WM dependent

Ccjwijtmans 2018-08-24 github

Dont have a desktop gentoo box atm so afraid not.

Kkisak-valve maintainer 2018-08-24 github

Closing per the last comment.

Nothing extracted yet.