I was having the same issue after installing a (maybe two?) Japanese Input Method(s). Then I found this article https://wiki.matoken.org/linux/issue From the terminal window, I was able to start up the Firefox by typing: GTK_IM_MODULE=xim /usr/lib/firefox-esr/firefox-esr
I have no idea why the input method selection affect Firefox. Kuro