Can't use input method in snap apps


#41

Ubuntu 19.04, fcitx doesn’t work on snap app, slack.
I can’t input Chinese to slack, that’s very frustrating, maybe slack deb works?


#42

Ubuntu 19.04, fcitx doesn’t work on snap app, slack.

It needs to be fixed in the slack app, some users including me have filed support tickets. Please see


#43

Hey Rex,

It’s great to see you again, and big thanks for the help :slight_smile:
Aside from ibus, fcitx also has a huge user space and being worth to be considered.


#44

Hi @v1kn, I’ve just tested fcitx + mozc on the latest libreoffice-6.2.4.2-snap1, and looks to be working now. Can you confirm?


#45

Hi

On Slack 4.0.1, fcitx doesn’t work, it seems like this problem is lasting so long time.


#46

did you contact slack ? they are the ones packaging it so they are also the ones you need to notify (i’m not sure anyone from slack reads this forum)


#47

Hi ogra

Thanks a lot for the reply, however, all the snap apps are having this issues.

For example, I can’t not launch the Input Method in Slack snap app, Chrome snap app and so on.

It seems this is a general snap problem


#48

while this might be true, note that snap (unlike i.e. flatpack which is a desktop-only-app-delivery mechanism) is actually a packaging format that also supports cli, kernel, bootloader, server, you-name-it packages. so is is fully in the hand of the packagers to include either input methods in the snap, like @chihchun said above already and like @marcustomlinson has done for libreoffice …

one could argue that the desktop helpers should perhaps ship them by default, but then, it isnt really a requirement to use the desktop helpers either, you can always use your own method to bring any desktop support into your snap.


#49

A quick check on the slack snap shows there are XIM and ibus immodules but no fcitx immodule. This really need the slack snap to be fixed.


#50

Hi orga,

Thank you for the reply.

It’s been a while (Nov, last year) that was asking for slack fcitx support in @chihchun thread. it seems like no one pay attention to it. :frowning:

I’m a bit confused. Based on your comment, is it fair to say having an input method framework support should be done in every snap package?

Thanks


#51

Hey Anthony,

Nice to see you here! :slight_smile:

For chromium, slack and Electronic-Wechat, these snap apps, I’m having same issue that I can’t launch fcitx and inputting non-Chinese characters.

Do I need to ask fcitx support with each snap app?

Thanks a lot


#52

Hey Ray!

Due to how snap is architected, each snap has to include the libraries that it needs, and input method is one of them.

Another quick check on electronic-wechat, there is no immodule for gtk3 but only gtk2:

$ find /snap/electronic-wechat/ -name im-fcitx.so
/snap/electronic-wechat/7/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so

Not sure if this is the reason why you can’t use fcitx or caused by other reasons, I don’t have time to look deeper.

Gnome apps such as gedit makes use of the gnome runtime snap and connect to it through content interface, like this:
https://gitlab.gnome.org/GNOME/gedit/commit/56ff93fe359cd7a272c70f7ad5d870a027487dc5
So gedit doesn’t include IM libraries and just rely on the gnome runtimes such as gnome-3-28-1804.

I think desktop app snap developers should be made more well aware of these pitfalls.


#53

Thank you Anthony,

Now I’m clear about it. I’ll try to ping slack thread and other snap app if necessary.

Thank you so much for helping me understand this.