ValveSoftware / steam-for-linux

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

[Linux] Steam Overlay: Numpad bug #4170

Open FeatheredSerpent opened 8 years ago

FeatheredSerpent commented 8 years ago

In the steam overlay the numpad keys behave as if num lock is off (eventho it's on), and then print the character on the screen.

Some examples: Pressing 0,1,2,3,4 on the numpad results in the following: "01243" - Caused by the 4-key (left-arrow) Pressing 5,6,7,8,9 on the numpad results in the following: "78956" - Caused by the 7-key (home, or pos 1 on a German keyboard) Typing ABC then putting the cursor between B and C and pressing the decimal point key (comma-key on a German keyboard) results in: "AB," - As if "Del" was pressed

My system is Ubuntu 12.04.5 with MATE Desktop, English locale/language (en_US.UTF-8), a German keyboard and German keyboard layout :

"xkb_model" "pc105"
"xkb_layout" "de"
"xkb_variant" "deadgraveacute"
Processor Information:
    Vendor:  AuthenticAMD
    CPU Family:  0x10
    CPU Model:  0x4
    CPU Stepping:  0x3
    CPU Type:  0x0
    Speed:  3411 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Unsupported
    SSE4a:  Supported
    SSE41:  Unsupported
    SSE42:  Unsupported

Network Information:
    Network Speed:  

Operating System Version:
    Ubuntu 12.04.5 LTS (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.2.0-95-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11103000
    X Window Manager:  Metacity (Marco)
    Steam Runtime Version:  steam-runtime-release_2015-06-12

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 960/PCIe/SSE2

    Driver Version:  4.5.0 NVIDIA 352.63
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0x1401
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1280 x 1024
    Desktop Resolution: 1280 x 1024
    Primary Display Size: 13.31" x 10.63"  (17.01" diag)
                                            33.8cm x 27.0cm  (43.2cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 4096 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC892

Memory:
    RAM:  3953 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  929320 Mb
    Largest Free Hard Disk Block:  12547 Mb

Installed software:

Recent Failure Reports:
okaestne commented 7 years ago

I'm having the same issue! Also German keyboard & keyboard layout with English locales. System is Linux Mint 18 x64.

If you need some more information from me, please let me know!

Thinkaboutmin commented 6 years ago

Same here. I'm using a portuguese keyboard layout. Kubuntu 18.04

I will post more info about the issue whenever I have some time.

Zorrototo commented 5 years ago

I sporadically also have this kind of issue with SteamPlay games, rarely, where the keyboard layout is just plain wrong (game thinks I have QWERTY keyboard layout when I use AZERTY FR layout on my system) or when like here, it thinks the keyboard is not 'num locked' when it actually is (and I can't type most of number on the numerical pad). Restarting the game fixes it usually, nothing else I can do fixes it (pressing numlock key, changing keyboard layout in system during game... and so on)

Here is more info about my system:

Manjaro KDE AZERTY FR keyboard (Keyz Carbon 2) set as 105 keys generic keyboard in system System language set as French FR/Default Steam language set as English (maybe why it sometimes bug)

WPettersson commented 5 years ago

I'm experiencing something very similar. However, instead of printing out both the number, and then performing the operation (i.e. move left), it seems like the keyboard is stuck in "numpad off" mode for everything except the 5. If I select any other window, the keyboard works fine. If I use the steam browser without starting a game (no overlay) then the keyboard works fine. But if I'm in a game, and open the overlay and go to some part of the steam client to enter some numbers (i.e. credit card entry), then no matter what the actual status of Numlock, the steam client acts as if Numlock is off for 1,2,3,4,6,7,8,9 but works fine for 5.

Edit: Okay, I've done more digging. It seems if Numlock is on, and the page cannot be scrolled up any more, then pressing 9 on the numpad will actually add a 9 to the number entry form. If the page cannot be scrolled down, then pressing 3 will add a 3 to the number entry form. However, I cannot work out how to get 1,2,4,6,7,8 to come up.

Krafting commented 4 years ago

Confirm this bug, Mint 19.3, only 5 and 0 works for me on the steam Overlay (French layout)

Delofon commented 1 year ago

I second this on Linux Mint 21 Cinnamon. Numpad with NumLock on behaves as intended everywhere else on the system (including steam client). It only breaks in the overlay, though for me all keys work as if it was just off, no both off and on behaviour at the same time nonsense. (i.e. only / * - + Ent 5 0 work, everything else just moves the pointer)

deanrih commented 1 year ago

The new Steam overlay still have this bug, the Numpad still treated as if it were off

Tested version: 1682723851

Zorrototo commented 1 year ago

This is an issue they don't care about, you can't write in your own language if you're not english. only english characters work.

PygmaliAnon commented 2 weeks ago

Well, is there a workaround? some key mapping hack specifically for the overlay? It's 2024 at least tag it with wont'fix.