Can't use input method in snap apps


#21

I would like to ask if the ibus support still requires desktop-legacy interface? snapcraft define destkop-gtk3 doesn’t mention it.


#22

Yes, it still requires desktop-legacy. Note that we aren’t saying that the concept of input methods are “legacy”: rather that the D-Bus services implementing these input methods are not designed with confinement in mind.

They aren’t designed to treat the application as hostile, so in some cases it is possible for one app to snoop on the input of a second app.


#23

Yes please, for some reason I can’t type using fcitx on my snap chromium


Cannot change input method in snaps
#24

@oSoMoN - perhaps you need to do something similar for fcitx as you did for ibus?


#25

Yes, and this is on my to-do list.


#26
snap      2.32.5-1.1
snapd     2.32.5-1.1
series    16
opensuse  42.3
kernel    4.4.126-48-default

I’m on openSUSE, all apps installed via snap can not active fcitx chinese method, hope can solve the problem in the coming version.

Thanks!


#27

I’m on OpenSuse & experiencing the FCITX problem too.


#28

I’m on Debian 9 Stretch, experiencing the same when using Google fcitx input in Firefox snap.


#29

According to my experience currently on iBus is able to function in snap apps. There’s code in supporting Fcitx but it doesn’t seem to work.


#30

Please add support fcitx +1

I’m using vscode with snap under Ubuntu 18.04 and the input method does not work.


#31

FYI, I’m sure the desktop team will comment (@kenvandine) on the specifics, but AIUI fcitx is planned for the next cycle.


#32

Fcitx should be already working: Compatibility with CJKV Input Method Frameworks


#33

It should be already working, please contact the maintainer with the following information to do a re-build:


#34

Awesome, thank you very much!


#35

It seems that the snaps that uses the gnome-platform content snap cannot load the IM module:

Cannot load module /snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so: GModule (/snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so) initialization check failed: GLib version too old (micro mismatch)
/snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so does not export GTK+ IM module API: GModule (/snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so) initialization check failed: GLib version too old (micro mismatch)
Cannot load module /snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so: /snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so: undefined symbol: ibus_input_context_set_cursor_location_relative
/snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so does not export GTK+ IM module API: /snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so: undefined symbol: ibus_input_context_set_cursor_location_relative