ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

Steam keyboard: Wayland support #10251

Open appsforartists opened 12 months ago

appsforartists commented 12 months ago

Your system information

Please describe your issue in as much detail as possible:

The Steam virtual keyboard (which spawns if you hit Menu+X while steam -silent is running) should work in Wayland compositors.

Presently, it draws itself and responds to pointer events, but the key events it creates are dropped. In other words, if you focus a text area like a terminal or Chrome's address bar, and type on the Steam keyboard, it will look like it's working, but no characters will appear in the text area.

Additionally, it draws itself on top of the other windows. It should announce its dimensions to the compositor, so the layout can adapt accordingly. (Otherwise, you may not be able to see where you are typing.)

To do this, I believe it needs to implement the virtual keyboard and layer shell protocols.

See also:

Steps for reproducing this issue:

  1. Install a Wayland/wlroots compositor like Hyprland and start a session.
  2. Ensure steam -silent is running.
  3. Press STEAM+X
appsforartists commented 11 months ago

I have installed and used extest.

It does enable Steam input in Hyprland. Unfortunately, there is still the problem of changing focus.

You can use the virtual keyboard with the joystick and buttons. (You can also use Steam Input commands like tapping the left stick to bring up the keyboard.) However, if you try to tap the keyboard, the keyboard will steal focus and the keyboard events will never reach their intended target.

tlneondo commented 10 months ago

Honestly for how good Valve is about Steam when run through gamescope on the steam deck, the Linux client itself is very neglected. Almost as bad as discord.

I really hope they have a major overhaul coming, because from web pages not rendering, wayland keyboard issues, streaming issues, needing Extest for Steam Controller, or Controller mouse support, there's a ton missing.

appsforartists commented 10 months ago

The web issues seem to be server-side. Inventory straight-up wasn't loading for most of yesterday, regardless of device used.