Package: ibus-mozc
Version: 2.28.4715.102+dfsg-2.2
Severity: normal

ibus-mozc contains an xdg autostart script for GNOME sessions which checks whether any ibus input methods are already configured for the user session and, if not, prepends the mozc-jp input method to the list.

From reading #983623 I believe the intention is to remove the need for manual setup after the package is installed. However, this also means that if the package happens to be installed on the system, the input method will be enabled even if the user has no interest in Japanese text input. I believe the xdg-autostart script is the wrong way to handle this. GNOME Initial Setup selects an appropriate input method for the configured locale. On Debian systems, for Japanese, this is ibus-mozc (if installed) or ibus-anthy (if mozc is not installed but anthy is). It is true that, if you install ibus-mozc after configuring your desktop session, it will not be enabled; but task-japanese-gnome-desktop recommends ibus-mozc so I would expect that mozc would typically be installed.

The current approach causes a particular problem on image-based systems. Endless OS is a Debian-based distribution which is distributed as an immutable snapshot, using libostree. End-users do not have the ability to add or remove Debian packages from the system. This means that we must bundle a reasonable input method for every language our users may wish to use. By including ibus-mozc in the immutable image, mozc gets automatically enabled on (for example) my UK English system. So at present we have to either patch the mozc package (the current approach) or remove support for Japanese text input from our OS. (We previously had the same problem with ibus-anthy, see #992753, but since gnome-desktop 43.2-2 switched to preferring mozc, we have followed this switch.)

Please consider removing the XDG autostart script in both packages.

Regards,

– Will

-- System Information:
Distributor ID:    Endless
Description:    Endless OS 5.2.0
Release:    5.2.0
Codename:    n/a
Architecture: x86_64

Kernel: Linux 6.5.0-10-generic (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages ibus-mozc depends on:
ii  ibus             1.5.27-5
ii  libabsl20220623  20220623.1-1
ii  libc6            2.36-9+deb12u3
ii  libgcc-s1        12.2.0-14
ii  libglib2.0-0     2.74.6-2
ii  libibus-1.0-5    1.5.27-5
ii  libprotobuf32    3.21.12-3
ii  libstdc++6       12.2.0-14
ii  libxcb-xfixes0   1.15-1
ii  libxcb1          1.15-1
ii  mozc-data        2.28.4715.102+dfsg-2.2
ii  mozc-server      2.28.4715.102+dfsg-2.2

Versions of packages ibus-mozc recommends:
ii  mozc-utils-gui  2.28.4715.102+dfsg-2.2

ibus-mozc suggests no packages.

-- no debconf information

Reply via email to