Bug#977203: IM_MODULE env for fcitx5 should be "fcitx"
- To: Shengjing Zhu <zhsj@debian.org>, 977203@bugs.debian.org
- Cc: Boyuan Yang <byang@debian.org>
- Subject: Bug#977203: IM_MODULE env for fcitx5 should be "fcitx"
- From: Gunnar Hjalmarsson <gunnarhj@debian.org>
- Date: Sat, 5 Jun 2021 21:58:02 +0200
- Message-id: <[🔎] 8054c8b5-12e9-cb97-5b9a-9a2594fd8baf@debian.org>
- Reply-to: Gunnar Hjalmarsson <gunnarhj@debian.org>, 977203@bugs.debian.org
- In-reply-to: <CAFyCLW_BnksCZPXE_D=woGmTmTJJpkknjD3fQK-k1b_=ekWLtQ@mail.gmail.com>
- References: <160778090183.615670.15307210542577181327.reportbug@debian> <f9a40655-9ea1-a13c-05c2-7bb61cb4d174@ubuntu.com> <e3e7d753-d48a-0640-f56a-c50895f357a1@ubuntu.com> <160778090183.615670.15307210542577181327.reportbug@debian> <CAFyCLW_BnksCZPXE_D=woGmTmTJJpkknjD3fQK-k1b_=ekWLtQ@mail.gmail.com> <160778090183.615670.15307210542577181327.reportbug@debian>
If both fcitx 4 and fcitx 5 are installed, the IM_MODULE value "fcitx"
would result in a fcitx 4 im module being loaded when using fcitx 5. We
have so far assumed that that would be a problem, if I understand it
correctly, and that's the reason why the fix of this bug was postponed.
Question: How would it be a problem?
I'm asking since we have an ongoing discussion at Ubuntu about fcitx 5
and snaps. [1] A snap is an application package in a confined
environment, and at this time only fcitx 4 im modules are installed in
that environment. The situation seems similar to the issue with some
proprietary Qt software as described at
<https://wiki.debian.org/I18n/Fcitx5#Known_Issues>.
I tested to use fcitx 5 on a gtk based snap (Chromium as snap), and it
failed with the default configuration, but worked fine when setting
GTK_IM_MODULE=fcitx. Well, "worked" with a caveat: Me being able to
input "北京" in the search field may not be the most comprehensive test
you can imagine.
But can it be that it was a mistake to postpone the fix of this bug? Are
there any significant adverse side effects if using fcitx 5 but loading
a fcitx 4 im module? Has anybody really tried to find out?
[1] https://launchpad.net/bugs/1928360, starting with comment #19
--
Rgds,
Gunnar
Reply to: