Bug#1112639: im-config: Review hardcoded IBUS_ENABLE_SYNC_MODE=0 Setting in 21_ibus.rc
Package: im-config
Version: 0.57-2
Severity: normal
Dear Maintainer,
Please review the forced setting of IBUS_ENABLE_SYNC_MODE to 0,
introduced in
https://salsa.debian.org/input-method-team/im-config/-/commit/a629ef78f581d006499eaee633c4c98bc16e07fb
It appears that the default setting, per ibus design, should be 1.
Setting the value to 0 causes reproducable issues with some Java applications,
that are hard to trace back to this (apparently workaround) setting, as outlined here:
https://github.com/ibus/ibus/issues/2620
and also here:
https://infinitekind.tenderapp.com/discussions/problems/89640-moneydance-stops-responding-to-a-keyboard#comment_62390852
There may be additional Java applications suffering from issue with this,
left unreported because of the obscurity of the relationship.
The original reason for for this setting, issues with some Asian languages,
are several years old and may be fixed by now.
The hardcoded Debian setting (which seems more a temporary workaround, rather than
a true root-cause fix) does not allow the user or admin to change it without
editing the package-distributed file at
/usr/share/im-config/data/21_ibus.rc
I have verified, that the complete stop of responding to keyboard inputs
by the Moneydance application goes away when changing 21_ibus.rc
to launch /usr/bin/ibus-daemon without setting IBUS_ENABLE_SYNC_MODE
(reverting Commit a629ef78).
Thanks!
Jens
-- Package-specific info:
=== command path ==
im-config is /usr/bin/im-config
=== im-config API -l: available IM ===
im-config -l => ibus xim
=== im-config API -m: selected IM ===
im-config -m =>
'system' 'user' 'automatic' 'override' 'autobase'
'default' 'missing' 'ibus' '' 'ibus'
=== /etc/default/im-config ==
# Default im-config mode (see im-config(8))
# This im-config helps to start best available input method (IM)
# Always start highest priority IM
IM_CONFIG_DEFAULT_MODE=auto
# Start or not to start IM dynamically under CJKV/desktop environment
#IM_CONFIG_DEFAULT_MODE=cjkv
# Never start IM by im-config (Leave it to desktop system)
#IM_CONFIG_DEFAULT_MODE=none
# cjkv mode behavior:
# case 1:
# * desktop is listed in CJKV_DEFAULT_DESKTOP
# * locale is under so-called CJKV environments
# --> auto mode
# case 2:
# * desktop is listed in CJKV_DEFAULT_DESKTOP
# * locale is *not* under so-called CJKV environments
# --> none mode
# case 3:
# * desktop is *not* listed in CJKV_DEFAULT_DESKTOP
# * locale is under any environments
# --> auto mode
#
CJKV_DEFAULT_DESKTOP="*"
#CJKV_DEFAULT_DESKTOP="KDE:LXQt:XFCE"
# List of locales for so-called CJKV environments
CJKV_LOCALES="zh_TW:zh_HK:zh_SG:zh_CN:ja_JP:ko_KR:vi_VN"
# Set locale dependent preferred IM over standard auto mode if not GNOME
IM_CONFIG_PREFERRED_RULE="zh_CN,fcitx5:zh_TW,fcitx5:zh_HK,fcitx5:zh_SG,fcitx5"
# User and system wide configuration is normally done via im-config program.
# The above IM_CONFIG_PREFERRED_RULE sets locale dependent preferred IM
# override rule. If you wish to use uim over ibus just for ja_JP,
# add :ja_JP,uim at the end of the above list. (Marked by "!" in GUI)
# List of desktop systems which starts ibus if available
# Applicable desktops are excluded for applying IM_CONFIG_PREFERRED_RULE
DESKTOP_SETUP_IBUS="GNOME"
# Trace commands for debug
# (This may cause problem configuration file generated under console mode)
#IM_CONFIG_SETMODE="-x"
# Verbose output for debug (uncomment following)
#IM_CONFIG_VERBOSE="true"
=== localectl status ===
System Locale: LANG=en_US.UTF-8
LC_TIME=C.UTF-8
VC Keymap: (unset)
X11 Layout: us
X11 Model: pc105
=== environment vars ==
DISPLAY=:1
WAYLAND_DISPLAY=wayland-0
XDG_CONFIG_DIRS=/home/jens/.config/kdedefaults:/etc/xdg:/usr/share/desktop-base/kf5-settings
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_MENU_PREFIX=plasma-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=2643
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session5
XDG_SESSION_TYPE=wayland
XDG_VTNR=1
CLUTTER_IM_MODULE=ibus
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibus
-- System Information:
Debian Release: 13.0
APT prefers stable
APT policy: (900, 'stable'), (500, 'stable-security'), (90, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.38+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages im-config depends on:
ii gettext-base 0.23.1-2
Versions of packages im-config recommends:
ii kdialog 4:25.04.0-1
ii whiptail 0.52.25-1
ii x11-common 1:7.7+24
im-config suggests no packages.
-- no debconf information
Reply to: