You are not logged in.

#1 2022-08-17 17:26:46

sph3
Member
Registered: 2022-06-05
Posts: 9

Firefox: can't type accented characters in some websites, intl. layout

A little context
I set my keyboard layout with:

setxkbmap -layout us,us -variant alt-intl, -option grp:win_space_toggle

I need both these layouts as I type a lot in two languages, and it isn't practical for me to type in english or code using the intl. layout.

Anyway, until February of this year I was using Pop_OS and decided to try Arch and ended up staying. But I noticed that I can't type accented characters on websites like Reddit and Whatsapp web. Whenever I do, for example, [ ' + e ], I should get "é" but the character just disappears.
This only happens on Firefox and on Arch Linux. I have not found other websites that behave this way.

I've tried setting the layout with locatectl too but got the same results as expected.

Offline

#2 2022-08-17 19:56:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,232

Re: Firefox: can't type accented characters in some websites, intl. layout

X11 or wayland?
Do you use an input method like fcitx?
If you kill all FF processes (check "ps aux | grep firefox") and then run "GTK_IM_MODULE=xim firefox", does this still happen?

Offline

#3 2022-08-17 20:19:52

sph3
Member
Registered: 2022-06-05
Posts: 9

Re: Firefox: can't type accented characters in some websites, intl. layout

I'm using X11, not using fcitx.

Running "GTK_IM_MODULE=xim firefox" solves it. Why?

Offline

#4 2022-08-17 20:39:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,232

Re: Firefox: can't type accented characters in some websites, intl. layout

GTK defaults to ibus (the thing that allows you to ctrl+u enter unicode) - you can confirm that w/ "GTK_IM_MODULE=ibus firefox" which should cause the problem
There's https://wiki.archlinux.org/title/IBus#Ibus_IME_packages_only_input_keyboard's_native_charset and a bunch of ibus related issues under https://bugzilla.mozilla.org/buglist.cg … earch=ibus what what's exactly broken (this time…) idk, sorry.

Offline

Board footer

Powered by FluxBB