steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Keyboard problems in chat -inside- game overlay

Open LukasThyWalls opened this issue 11 years ago • 36 comments

Before anything, when i'm chatting in Steam out of any game everything works without problems.

But, when i'm inside any game (I was tested HL, CS:CZ, Super Hexagon, Dynamite Jack...), when i'm chatting with anyone in the overlay, some keys don't work and others do two functions:

  • Some signs needed in spanish (and others languages) don't work, for example accents: I can't write á, é, í, ó, ú, ý, à, à, â, ä or directly the symbols `^ " (diaresis) ' ``. In Steam chat out of a game i can write them.
  • With the keys of numerical keypad, it do both actions with bloq Num ON and OFF when it's ON. For example, when i push 7(Home) key, it write a 7 AND go to the beggining of the line. If i push 4(←), it write a 4 and go one position to the left, and this behaviour with all of these keys (if it have two actions or effecting actions in both modes). When Bloq Num is OFF, it only do the OFF actions (No numbers)

These are all the problems i noticed. I have spanish layout and the keyboard it's the built-in with the laptop. Anyway, the keyboard works perfectly outside a game, it's only inside a game, in the Steam overlay.

My specs: I have Kubuntu 12.04

Información sobre el procesador:
    Fabricante:  GenuineIntel
    Velocidad: 1998 Mhz
    Procesadores lógicos 2
    Procesadores físicos 2
    HyperThreading:  No compatible
    FCMOV:  Compatible
    SSE2:  Compatible
    SSE3:  Compatible
    SSSE3:  Compatible
    SSE4a:  No compatible
    SSE41:  No compatible
    SSE42:  No compatible

Información sobre la red:
    Velocidad de la red:  

Versión del sistema operativo:
    Ubuntu 12.04.2 LTS (32 bits)
    Nombre de kernel: Linux
    Versión de kernel: 3.2.0-38-generic-pae
    Editor de X Server: The X.Org Foundation
    Versión de X Server: 11103000
    X Window Manager:  KWin
    Steam Runtime Version:  steam-runtime-release-i386_2013-02-27

Tarjeta de vídeo:
    Controlador:  NVIDIA Corporation GeForce Go 7300/PCIe/SSE2

    Versión de controlador: 2.1.2 NVIDIA 304.48
    Densidad de color del escritorio: 24 bits por píxel
    Frecuencia de actualización del monitor: 60 Hz
    Identificador del fabricante: 0x10de
    Identificador del dispositivo: 0x1d7
    Número de monitores: 1
    Número de tarjetas de vídeo lógicas: 1
    Resolución de pantalla principal: 1280 x 800
    Resolución de escritorio: 1280 x 800
    Tamaño de pantalla principal: 11,38" x 0,83"  (11,38" diag)
                                            28,9cm x 2,1cm  (28,9cm diag)
    Bus principal: PCI Express 16x
    No se ha detectado la memoria VRAM principal
    Modos MSAA compatibles: 2x 4x 16x 

Tarjeta de sonido:
    Dispositivo de sonido: Analog Devices AD1986A

Memoria:
    RAM:  2013 Mb

Varios:
    Idioma de la IU:  Español
    LANG:  es_ES.UTF-8
    Micrófono:  Not set
    Espacio total en disco disponible: 23732 MB
    Bloque libre más grande en el disco: 5009 MB

Software Instalado:

Informes de fallos recientes:

LukasThyWalls avatar Mar 09 '13 12:03 LukasThyWalls

I have to add some details i remembered (Remember, only when chatting in overlay game mode, outside works well):

  • If i copy these characters from the other person i am chatting, i can paste and send to him without problems. But i can't write them directly
  • All keys in my keyboard worked in their position in steam overlay, including ñ Ñ ~ (ñ key in spanish keyboard, mayus and alt. gr. symbols of the same key) and all the other keys, including alt gr options of the keys of ^ " '`. Only the characters what don't appear directly (They go with another or they write alone if i push the key twice) don't do anything.
  • the keys of the numerical keypad do both options when Bloq Num is ON, when it's OFF works like a cursor. When is ON, only the keys with functions in both modes do both functions at the same time (First numerical function, second the movement, for example, if i write "4", first appears the 4 and later go one character to the left, and the cursor is in the left of the "4"). Keys in the numerical keypad with only one function for both modes works normal.

LukasThyWalls avatar Mar 09 '13 16:03 LukasThyWalls

After all these months, I'm still having this issue. Steam Beta Client Build Oct 14 2013

shigutso avatar Oct 15 '13 00:10 shigutso

I'd like to inform that this (or very similar) bug affects me as well. I'm not sure if I should report a new issue since in my case, I cannot use diacritics in any steam window whether it's an in-game overlay or the main window. Also, my keyboard layout is Finnish.

Like the submitter, my steam uses otherwise correct, non-English keyboard layout and I can copy-paste those characters into steam fine.

Broken keys: ö ä å §

Broken keys with a modifier: Ö Ä Å (obviously) ½ (shift + §) £ (alt gr + 3) € (alt gr + e)

Broken dead keys (by themselves and with other characters): ¨ ~ ´ ` ^

Strangely ¨ (diaresis) key, when pressed twice (instead of with another key), will produce " (double quote). Other broken keys don't output anything.

I tried using LANG=fi_FI to see if this bug was caused by LANG=en_US, but that didn't help.

eerorika avatar Jan 18 '14 13:01 eerorika

Still happening as 28/11/2014. Dead keys don't work in overlay mode.

acafresna avatar Sep 28 '14 13:09 acafresna

Hey, this summer it stopped to accept typographical symbols input from keyboard (such as long dash, copyright, «“quotes”»…); eats them well when paste from clipboard. Can this be related?

Plaque-fcc avatar Sep 29 '14 00:09 Plaque-fcc

On Kubuntu 14.04, I had this problem temporarily. I was able to fix it by starting ibusd (technically restarting, since it had crashed before-hand). Best guess is that Steam uses IBus for keyboard input, but I'm not entirely sure. Hopefully this works for at least a few other people, but it may not.

rue92 avatar Dec 11 '14 04:12 rue92

This is still an issue. For me it's äöüß that aren't working.

steffenWi avatar Nov 01 '16 18:11 steffenWi

Steam/Troubleshooting - ArchWiki #SetLocale('en_US.UTF-8') fails at game startup Uncomment en_US.UTF-8 UTF-8 in /etc/locale.gen and then run locale-gen as root. Didn't have this error on startup DotA but this fix my problem.

martinpl avatar Jun 24 '17 17:06 martinpl

Still an issue for me, running Debian Stretch with MATE Desktop Environment 1.18.0 image as you can see, accented characters work everywhere BUT in steam chat, both overlay and in desktop. Accented characters work in Dota, and I can even whisper them and then I see them in my chat, but I cannot input them directly into chat.

EDIT: the above is valid both to new beta and regular steam client.

alete89 avatar Jul 19 '18 21:07 alete89

Still a bug, latest stable client. 1528497815.

ThecaTTony avatar Jul 24 '18 06:07 ThecaTTony

Honestly, this is quite a shameful issue, considering this is basic user interface programming and it DOES work outside of the overlay Maybe it would help if it was clear what the problem is?

TheSHEEEP avatar Jul 28 '18 15:07 TheSHEEEP

Ok, I must say that this is currently fixed for me in the new no-beta version. It wasn't fixed last week.

image

Debian 9, steam package version: 1532458786

alete89 avatar Jul 28 '18 23:07 alete89

@alete89 That's overlay? Because the issue is using accented letters on in-game overlay chat.

ThecaTTony avatar Jul 29 '18 04:07 ThecaTTony

@alete89 what about Steam Overlay? Fixed too?

shigutso avatar Jul 29 '18 14:07 shigutso

@alete89 what about Steam Overlay? Fixed too?

Fixed too, for me.

alete89 avatar Aug 01 '18 13:08 alete89

I cannot type the keys ä, ö, ü and a few more within any window in steam. Irrelevant if overlay, shop search or chat

Build: 1533163808

Locale

LANG=de_CH.utf8
LC_CTYPE="de_CH.utf8"
LC_NUMERIC="de_CH.utf8"
LC_TIME="de_CH.utf8"
LC_COLLATE=C
LC_MONETARY="de_CH.utf8"
LC_MESSAGES="de_CH.utf8"
LC_PAPER="de_CH.utf8"
LC_NAME="de_CH.utf8"
LC_ADDRESS="de_CH.utf8"
LC_TELEPHONE="de_CH.utf8"
LC_MEASUREMENT="de_CH.utf8"
LC_IDENTIFICATION="de_CH.utf8"

When I start steam from the command line I see this appear each time I type one of those keys:

[0804/162435.250803:WARNING:keyboard_code_conversion_x.cc(1357)] Unknown keycode:0

I can type these characters just fine everywhere else.

Nexolight avatar Aug 04 '18 14:08 Nexolight

Same issue with Turkish characters; ö ç ş ı İ ğ

mbacalan avatar Aug 25 '18 08:08 mbacalan

I'm experiencing the same problem! I'm using debian 9 stretch, mostly stable branch and I can't type any of this characters: á é í ó ú ñ ¿. I need them because my native language is Spanish. I can copy and paste them from other programs, and if other people use them they get displayed. I changed the keyboard layout and the problem is the same. The overlay ignore this keys like if it had some filter.

pablo@laloca:~$ uname -a
Linux laloca 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
pablo@laloca:~$ cat /etc/debian_version 
9.7
pablo@laloca:~$

captura de pantalla de 2019-02-10 13-26-02

programingfrik avatar Feb 10 '19 17:02 programingfrik

@Plagman Any plans on fixing this? It's extremely frustrating to write to my Swedish friends in-game.

robinastedt avatar Apr 16 '19 19:04 robinastedt

my godness 6 years and still nothing ????

CHazz avatar May 01 '19 18:05 CHazz

This is still an issue. Using build from 29th of April 2019 on Manjaro Linux 18 on kernel 4.19 with Budgie DE. Whenever i try typing åäö-characters in the chat in steam overlay nothing appears. Outside of overlay I can write the characters in the chat. Playing Payday 2 reveals this issue.

odecif avatar Jun 10 '19 21:06 odecif

Same here, no num key work (from the key pad on the right side of keyboard, actually 5 works..), and accentuated characters do not work (french keyboard layout), é è ç à ^ ù Keyboard layout seems to be good (the characters correspond to the layout) but still, accentuated characters and right hand side num keys (but 5) won't print in steam overlay.

Zorrototo avatar Jul 12 '19 09:07 Zorrototo

I got the same problem in the Steam overlay (Linux client) and certain ingame chat functions (e. g. Worms WMD via Proton 4.11, but native Linux games, too), especially with vowels (ä, ü, ö).

In the non overlay text boxes (chat, search function, forums and others) the whole German keyboard layout works as expected, including special characters. By the way: To make this work you have to add "en_US.UTF-8" as a secondary global environment language. But you can keep your language of choice as default.

Please let me know if I could help with further details or doing some tests.

Some of my current system infos:

OS: Manjaro Cinnamon with Kernel 5.2.4 Steam: API V019, 1563346602 Proton: V4.11 GeForce driver: V430.26

Protonator avatar Aug 03 '19 22:08 Protonator

I've been experimenting this also for months after installing the Manjaro Cinnamon spin with french locale, french keyboard, and Steam configured on French too. No accents at all in steam chat, both on desktop and ingame. My Setup :

  • Lenovo T460 (Intel i5-6200u, HD Graphics 520 - i915 driver)
  • Cinammon 3.x then 4.0 and now 4.2
  • Steam via the steam-manjaro package (derived from the arch's Steam package)
  • locale :
$ sudo locale-gen
Generating locales...
  fr_FR.UTF-8... done
Generation complete.

Manually un-commenting "en_US.UTF-8 UTF-8" and regenerating locales did the work :

$ grep -v "#" /etc/locale.gen
en_US.UTF-8 UTF-8  
fr_FR.UTF-8 UTF-8
$ sudo locale-gen
Generating locales...
  en_US.UTF-8... done
  fr_FR.UTF-8... done

Don't know why the steam client is not getting all the characters in the current locale (it's UTF-8, isn't this meant to be universal ?)

seboss666 avatar Aug 16 '19 16:08 seboss666

I guess UTF8 is the character encoding and you have multiple sets of characters, like FR or EN.

Zorrototo avatar Aug 16 '19 19:08 Zorrototo

Thanks seboss666. German and English UTF-8 were already uncommented in my locale.gen, but sudo locale-gen did the trick here. I can now use special characters in the Steam overlay, too – doesn't matter if it's a native Linux game or via Proton. It still doesn't work in ingame text fields of (for example) Worms WMD, though.

Protonator avatar Aug 18 '19 12:08 Protonator

Try this patch: https://salsa.debian.org/glibc-team/glibc/blob/sid/debian/patches/localedata/locale-C.diff

XakepSDK avatar Oct 19 '19 22:10 XakepSDK

It's possible to use russian letters in Proton games

XakepSDK avatar Nov 06 '19 20:11 XakepSDK

Ok, i can use UTF-8 letters in overlay! To fix this, set game launch options to this: LANG=en_US.UTF8 LC_ALL=en_US.UTF8 %command%

Warning!

This may break your game. Steam intentionally sets locale to C or C.UTF8, because some games use some functions wrongly and it may lead to wrong results.

I think, it should work fine for debian and debian bases distros without this workaround, because theyt ship glibc with C.UTF8 patch.

XakepSDK avatar Nov 11 '19 22:11 XakepSDK

I have this issue too, but only with some games, like "Slay The Spire". It looks like workaround proposed by @XakepSDK works and I can type Cyrillic symbols in Chats inside Overlay, if the game is launched with suggested options.

My Setup: GNU\Linux Debian 10 'buster' (kernel 4.19 x86_64) Xfce 4.12 (lightdm + xfwm4) Locales: en_US.UTF-8 UTF-8 ru_RU.UTF-8 UTF-8

sizeofbool avatar Jan 19 '20 23:01 sizeofbool