ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

Overlay doesn't accept keyboard input correctly #9694

Open JPLeBreton opened 1 year ago

JPLeBreton commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

The new Steam Overlay can be opened while a game is running and renders fine. However, it doesn't appear to accept any keyboard input (edit: see below, it inconsistently accepts keyboard input and never manages to do it without issues major enough to render it 100% unusuable). Typing in the Notes window, or any other window, doesn't appear to have any effect. I'm going to investigate further and see if this still happens under X11 (I'm running Wayland, which works fine on my system but is still relatively new and shaky on some systems with the Nvidia binary drivers).

Steps for reproducing this issue:

  1. open Steam and launch a game
  2. press Shift-Tab in-game to bring up the overlay
  3. click the Notes icon
  4. try typing in the window that appears
  5. observe: nothing happens
JPLeBreton commented 1 year ago

Strange... I tried to reproduce the issue again just now and got a different, but still broken, result: enter, backspace, arrow key, tab etc input - non-character keys, basically - work fine. For character keys (alphanumeric + special characters like brackets, punctuation) only every other input event is handled correctly. So when I type "testing" into the Notes window, I see "tsig".

I get the same result running in X11, so my suspicion that it was a Wayland issue has proven incorrect.

There's nothing custom or unique about my keyboard or system input stack, as far as I can tell - no other application (system management, file management, games, 2D and 3D art tools, text editor, various small game development tools) on my system exhibits any issue.

Happy to investigate further and provide additional information as needed.

an9949an commented 1 year ago

I have the same problems on fedora 37 gnome.

De-Clan-C commented 1 year ago

I'm experiencing the same on fedora 38, gnome, wayland. So The issue is not distro specific. I have steam installed through flatpak, I wonder if it's a flatpak specific issue.

JPLeBreton commented 1 year ago

I'm experiencing the same on fedora 38, gnome, wayland. So The issue is not distro specific. I have steam installed through flatpak, I wonder if it's a flatpak specific issue.

I'm not using the flatpak version of Steam, for what it's worth.

De-Clan-C commented 1 year ago

Perfect. I also found a similar issue in the ValveSoftware/Proton repo (https://github.com/ValveSoftware/Proton/issues/6280) where they said it only seems to affect games run through proton and not native games. I found the same is true for me as well.

JPLeBreton commented 1 year ago

Perfect. I also found a similar issue in the ValveSoftware/Proton repo (https://github.com/ValveSoftware/Proton/issues/6280) where they said it only seems to affect games run through proton and not native games. I found the same is true for me as well.

Ah, yes I can confirm this as well... with Portal 2 I can type normally in the overlay. There's a lot more going on in that thread, so it doesn't seem like this issue is simply a duplicate of that one.

Tyfuzzle commented 1 year ago

I ran into the issue for the first time today playing Doom (2016). Swear I get different bugs every time I use the overlay's web browser. One thing I didn't see mentioned in this thread so far that I experienced whilst the keyboard issues were present was that my cursor seemed to disappear and reappear only whilst hovering over certain elements, like the border of the web browser.

ranplayer commented 10 months ago

I've got the same issue for Castlevania - Lord Of Shadow: Mirror Of Fate HD (282530) using the new Big Picture Mode. When I try to add a new note to the map, the overlay keyboard is displayed and I'm able to click on the buttons, but nothing is actually written.

Specs:

Picture from the game running in "BigPicture": Screenshot_20231110_175737

Picture from the game running in desktop (working normally): Screenshot_20231110_175938