ValveSoftware / steam-for-linux

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

Keyboard problems in chat -inside- game overlay #2122

Open LukasThyWalls opened 11 years ago

LukasThyWalls commented 11 years ago

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:

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 commented 11 years ago

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

shigutso commented 11 years ago

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

eerorika commented 10 years ago

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.

acafresna commented 10 years ago

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

Plaque-fcc commented 10 years ago

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?

rue92 commented 9 years ago

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.

steffenWi commented 7 years ago

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

martinpl commented 7 years ago

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.

alete89 commented 6 years ago

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.

ThecaTTony commented 6 years ago

Still a bug, latest stable client. 1528497815.

TheSHEEEP commented 6 years ago

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?

alete89 commented 6 years ago

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

ThecaTTony commented 6 years ago

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

shigutso commented 6 years ago

@alete89 what about Steam Overlay? Fixed too?

alete89 commented 6 years ago

@alete89 what about Steam Overlay? Fixed too?

Fixed too, for me.

Nexolight commented 6 years ago

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.

mbacalan commented 6 years ago

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

programingfrik commented 5 years ago

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

robinastedt commented 5 years ago

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

CHazz commented 5 years ago

my godness 6 years and still nothing ????

odecif commented 5 years ago

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.

Zorrototo commented 5 years ago

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.

Protonator commented 5 years ago

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

seboss666 commented 5 years ago

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 :

Zorrototo commented 5 years ago

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

Protonator commented 5 years ago

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.

XakepSDK commented 5 years ago

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

XakepSDK commented 4 years ago

It's possible to use russian letters in Proton games

XakepSDK commented 4 years ago

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.

sizeofbool commented 4 years ago

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

kolayne commented 4 years ago

Hello from 2020! I am using Linux Mint 19.3 with Cinnamon 4.4.8. Still having this issue with most games (e. g. Portal 2, The Talos Principle, ...), but it's ok in Half-Life 2.

Btw, if it's important, I have installed my system in English, but am using steam in Russian.

Have tried what @XakepSDK suggested with both en_US and ru_RU locales (and both Russian and English languages in Steam - 4 attempts in total), none of this worked for Portal 2 :(

My default locales ```bash nikolay@Linux-coder:~$ locale LANG=en_US.UTF-8 LANGUAGE=en_US LC_CTYPE="en_US.UTF-8" LC_NUMERIC=ru_RU.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=ru_RU.UTF-8 LC_MESSAGES="en_US.UTF-8" LC_PAPER=ru_RU.UTF-8 LC_NAME=ru_RU.UTF-8 LC_ADDRESS=ru_RU.UTF-8 LC_TELEPHONE=ru_RU.UTF-8 LC_MEASUREMENT=ru_RU.UTF-8 LC_IDENTIFICATION=ru_RU.UTF-8 LC_ALL= nikolay@Linux-coder:~$ locale -a C C.UTF-8 en_AG en_AG.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IL en_IL.utf8 en_IN en_IN.utf8 en_NG en_NG.utf8 en_NZ.utf8 en_PH.utf8 en_SG.utf8 en_US.utf8 en_ZA.utf8 en_ZM en_ZM.utf8 en_ZW.utf8 POSIX ru_RU.utf8 ru_UA.utf8 nikolay@Linux-coder:~$ ```
TheLogan commented 3 years ago

Wauw, it's sort of impressive that this is not yet fixed :O For me it's æøå (danish letters), my Pop!_OS is installed as English with Danish keyboard

Zorrototo commented 3 years ago

Still the same with every non english characters on my side.

Link to my system info https://gist.github.com/Zorrototo/3518d9e58b1396acf450e7a12eb923b8

The num pad on my keyboard also doesn't work in the Steam overlay, as well as every accentuated characters. Nothing changed since my reply above https://github.com/ValveSoftware/steam-for-linux/issues/2122#issuecomment-510822609

Zabell commented 3 years ago

I just had this problem on Arch Linux, using the US intl-altgr keyboard for danish characters. It seems like steam requires the en_US.UTF-8 locale generated and (maybe) set as LANG environment variable.

My fix:

// Uncomment the en_US.UTF-8 line
# nano /etc/locale.gen
# locale-gen
# echo LANG=en_US.UTF-8 > /etc/locale.conf

Now I can type UTF-8 characters on multiple keyboard layouts.

Blisto91 commented 2 years ago

@Zabell Thanks. I had been banging my head trying to get danish keys working in steam. uncommenting en_US.UTF-8 in /etc/locale.gen and running locale-gen made it work.

ghost commented 2 years ago

Unfortunately none of the possible solutions worked for me.

I'm trying to use German and Portuguese accents/diacritics.

➜  ~ locale
LANG=de_AT.UTF-8
LC_CTYPE="de_AT.UTF-8"
LC_NUMERIC=de_AT.UTF-8
LC_TIME=de_AT.UTF-8
LC_COLLATE="de_AT.UTF-8"
LC_MONETARY=de_AT.UTF-8
LC_MESSAGES="de_AT.UTF-8"
LC_PAPER=de_AT.UTF-8
LC_NAME=de_AT.UTF-8
LC_ADDRESS=de_AT.UTF-8
LC_TELEPHONE=de_AT.UTF-8
LC_MEASUREMENT=de_AT.UTF-8
LC_IDENTIFICATION=de_AT.UTF-8
LC_ALL=
knikkinen commented 1 year ago

Still an issue for me, although only on native games. Proton games works fine with special characters äöå.

Zorrototo commented 1 year ago

Come on guys, can you fix this? It will soon be a 10 YEARS OLD bug.... @kisak-valve please can you bump to the appropriate people this 10 years old issue that impacts everyone not writing with english characters?

JacobSvenningsen commented 1 year ago

The beta update from the 21'st of February 2023 seems to cause a similar issue for the regular chat window. The Steam Store and Friends/Chat are no longer grouped together either image

At the time of writing, the stable branch (update from the 14'th) remains unaffected. I say similar, because certain letters (like æ,ø,å) still works, but key combinations involving dead keys do not. For instance, it's impossible right now for me to write the letter ñ or the symbol ^ without copy-pasting them. Locale:

LANG=en_DK.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_DK.utf8"
LC_NUMERIC="en_DK.utf8"
LC_TIME="en_DK.utf8"
LC_COLLATE="en_DK.utf8"
LC_MONETARY="en_DK.utf8"
LC_MESSAGES="en_DK.utf8"
LC_PAPER="en_DK.utf8"
LC_NAME="en_DK.utf8"
LC_ADDRESS="en_DK.utf8"
LC_TELEPHONE="en_DK.utf8"
LC_MEASUREMENT="en_DK.utf8"
LC_IDENTIFICATION="en_DK.utf8"
LC_ALL=en_DK.utf8

Maybe the recent update to CeF somehow broke dead key modifiers?

(Edited) Fixed by March 14'th 2023 beta update

furai commented 1 year ago

Replying to https://github.com/ValveSoftware/steam-for-linux/issues/2122#issuecomment-1445026032

Shouldn't LC_ALL stay unset at all times? Or was it done especially for the utf8 workaround?

Laancute commented 9 months ago

For me, the keys é/2 è/7 ç/9 à/0 (french keyboard layout : Français (variante)) does not work, not only for typing but to actually use as shortcuts in the toolbars of games or other functionnality.

I remember many months ago, I couldn't type those diacritics caracters on the Steam forums. Now it works. But not in games : for exemple in FF14, I can't type them in the chat without the launch option "LANG=en_US.UTF8 LC_ALL=en_US.UTF8". With that set, I can type them, but I still can't use spells with those, nor can I set them in the parameters, as if the physical keys werent functionning (when they are).

For Paragon : The Overprime, I can set "é" as a shortcut for things, it will appear as "É", but pressing the key in game wont do anything. But in this game I can insert the diacritics characters in the chat with no launching option set.

I also noticed this issue appeared on League of Legends as I installed it last week (Lutris, so not Steam) when everything worked fine a year or two ago.

A game that use neither Steam nor Lutris does not have this issue.

Krovikan commented 5 months ago

I come from Issue #9631.

Today the problem persists. Don't work accents and other special keys in Steam Overlay. Examples: á à é è í ï ó ò ú ü ñ ç

Steam version: stable 1709846872

Note that this issue is coming with the last rework of UI at June 2023.

Best rergards

Tiagoquix commented 3 months ago

I also can't type special characters. It seems that Steam Overlay on Linux forces en-US layout (and possibly QWERTY too, but I'm not sure), regardless of system settings. Typing in-game (e.g. TF2) works fine, and typing while alt+tabbed also works fine, but in the Steam Overlay it seems to force en-US keyboard input.

I'm on Fedora Linux 40 KDE, and my keyboard layout is not en-US.

Stable Client, version 1718904662.