element-hq / element-desktop

A glossy Matrix collaboration client for desktop.
https://element.io
GNU Affero General Public License v3.0
1.14k stars 262 forks source link

Dead keys sometimes don't work in composer #694

Open legrostdg opened 3 years ago

legrostdg commented 3 years ago

It looks a lot like https://github.com/vector-im/element-web/issues/7665, but this one is closed.

In a word, I can't manage getting accentuated characters (for example "ê"), usually written with dead accent keys.

I use the Flatpak version of element-desktop, im.riot.Riot v1.7.18. I'm on Debian unstable.

jryans commented 3 years ago

@legrostdg Can you give a precise example of exactly which keys you are pressing? What are your keyboard layout and locale settings?

legrostdg commented 3 years ago

@jryans I use french default azerty layout and my locale settings are:

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

For example, I can't get a "^" printed in Element (or â, ê, etc.), something that one usually get by typing a "^"-deadkey (the "{ [" key on us ansi layout) followed by a space (or a "a", "e", etc.).

jryans commented 3 years ago

@legrostdg Hmm, and are you normally able to enter such characters in input fields in your web browser on the same system?

legrostdg commented 3 years ago

Sure ^^

yannicka commented 3 years ago

Can you try again on the latest version of Element Desktop (1.8.1)? I am on a French AZERTY keyboard and I don't have this problem.

legrostdg commented 3 years ago

I still have this issue with 1.8.1.

legrostdg commented 3 years ago

Maybe it's something related with the desktop environment? I use xmonad, I guess the majority lot of people use gnome+wayland.

yannicka commented 3 years ago

I'm on Debian Unstable, with KDE+X11.