Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bluetooth] - Steam does not restore the state of lock keys upon re-connecting a keyboard. #11529

Open
ZereoX opened this issue Nov 29, 2024 · 0 comments · May be fixed by ValveSoftware/gamescope#1726

Comments

@ZereoX
Copy link

ZereoX commented Nov 29, 2024

Your system information

  • Steam client version (build number or date): 1731990050 (Stable) / 1732746274 (Beta)
  • Distribution (e.g. Ubuntu): SteamOS 3.6.20 / 3.7.0 (Deck) and Manjaro w/ Gnome 46 (Desktop)
  • Opted into Steam client beta?: Yes. Issue is present on both Stable and Beta
  • Have you checked for system updates?: Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: AMD Van Gogh RDNA 2.0 (Steam Deck) and RX 7800XT (Desktop)

Please describe your issue in as much detail as possible:

The state of lock keys such as Caps Lock, Scroll Lock, and Num Lock are not restored when a Bluetooth keyboard is re-connected. This issue is not present in Desktop mode.

Video
Caps_Lock.mp4

Note: The first half shows the Caps Lock not being restored in Gaming mode and then it restoring correctly on the other device in Desktop mode.

Steps for reproducing this issue:

  1. Navigate to Steam > Settings > Bluetooth.
  2. Pair a keyboard.
  3. Enable Caps Lock (if your keyboard doesn't have a light, you can use xset q | grep Lock to check the status).
  4. Turn off the keyboard (or switch connection to a different device if its supports multiple).
  5. Turn the keyboard back on.

Reproduction Rate: 5/5

Affected Platforms

  • LCD / Jupiter: Yes, in Gaming mode only.
  • OLED / Galileo: Yes, in Gaming mode only.
  • Desktop Deck-like session (gamescope -e -- steam -gamepadui -steamdeck): N/A
  • Desktop: N/A

Note: Bluetooth devices are not managed by Steam in a Desktop environment and therefore cannot be tested.

Actual result

  • Lock keys are always disabled when connecting a Bluetooth keyboard.

Expected result

  • Lock keys are restored to their previous state when connecting a Bluetooth keyboard.
oSoMoN added a commit to oSoMoN/gamescope that referenced this issue Jan 28, 2025
…yboards in sync

This ensures that all externally connected keyboards share a common layout and state.
If a lock modifier (such as Caps Lock or Num Lock) is enabled or disabled on one keyboard,
the state will be propagated to all of them.
If a keyboard is disconnected and then reconnected, the layout and state are preserved.

This behaviour is consistent with KWin, which is used in desktop mode.

Fixes: ValveSoftware/steam-for-linux#11529
oSoMoN added a commit to oSoMoN/gamescope that referenced this issue Feb 7, 2025
…yboards in sync

This ensures that all externally connected keyboards share a common layout and state.
If a lock modifier (such as Caps Lock or Num Lock) is enabled or disabled on one keyboard,
the state will be propagated to all of them.
If a keyboard is disconnected and then reconnected, the layout and state are preserved.

This behaviour is consistent with KWin, which is used in desktop mode.

Fixes: ValveSoftware/steam-for-linux#11529
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant