Description of problem: As title described, Flatpak apps failed to trigger iBus. User couldn't type, for example Chinese, Japanese... into Flatpak apps directly. Currently tested with Atom, Discord, Slack, Visual Studio Code, all of them are having the same issue. Also tested with non-Flatpak apps, working normally. Version-Release number of selected component (if applicable): $ ibus version IBus 1.5.19 $ flatpak list Ref Options com.spotify.Client/x86_64/stable user,current com.discordapp.Discord/x86_64/stable system,current com.github.wwmm.pulseeffects/x86_64/stable system,current com.slack.Slack/x86_64/stable system,current com.visualstudio.code/x86_64/stable system,current io.atom.Atom/x86_64/stable system,current org.kde.kdenlive/x86_64/stable system,current org.freedesktop.Platform.GL.nvidia-396-45/x86_64/1.4 system,runtime org.freedesktop.Platform.GL.nvidia-396-54/x86_64/1.4 system,runtime org.freedesktop.Platform.GL.nvidia-410-66/x86_64/1.4 system,runtime org.freedesktop.Platform.VAAPI.Intel/x86_64/1.6 system,runtime org.freedesktop.Platform.VAAPI.Intel/x86_64/18.08 system,runtime org.freedesktop.Platform.ffmpeg/x86_64/1.6 system,runtime org.freedesktop.Platform.html5-codecs/x86_64/18.08 system,runtime org.freedesktop.Platform/x86_64/18.08 system,runtime org.freedesktop.Sdk/x86_64/18.08 system,runtime org.gnome.Platform/x86_64/3.28 system,runtime org.gnome.Platform/x86_64/3.30 system,runtime org.kde.KStyle.Adwaita/x86_64/5.11 system,runtime org.kde.Platform/x86_64/5.11 system,runtime How reproducible: It always happen. Steps to Reproduce: 1. Install one of the Flatpak apps 2. Type in language which would trigger ibus (Chinese, Japanese... ) 3. Ibus wouldn't be triggered. User could only type in Alphabet. Actual results: User couldn't type in selected language Expected results: User should be able to type in selected language Additional info: https://github.com/flatpak/flatpak/issues/675 Similar issue that closed 1 year ago.
See https://github.com/flatpak/flatpak/issues/1671
As also per the upstream issue comments, I suspect this is an issue with Electron-based flatpaks. I think if you try most "non-webapp" flatpaks, you should find that ibus is working (that is why the upstream issue is closed - because the feature was implemented in flatpak runtimes and ibus). eg I just tried GeoGebra (probably not the best testcase) and ibus is working there for example.
Maybe when we have (more) Fedora built flatpaks, this will become a Fedora issue.
Tested with some non-Electron Flatpak app (Kdenlive for example), and it turns out that Jens Petersen is right. This might be an issue especially with Electron + Flatpak, not all Flatpak.
A workaround sometimes is `flatpak run --env=GTK_IM_MODULE=xim ...`.
(Also I heard that the KDE 5.11 Runtime should support ibus.)
This should be long fixed now in current releases. If not please re-open or open a new bug, thanks