[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1019453: ibus: IBus doesn't work correctly in apps that don't support surrounding text



Package: ibus
Version: 1.5.26-4
Severity: normal
Tags: patch upstream
X-Debbugs-Cc: eb1@sil.org

A fix a while ago changed the IBUS_CAP_SURROUNDING_TEXT capability to basically
be a compile-time flag. This makes it impossible for ibus engines to detect
whether or not a client supports surrounding text. This affects for example
ibus-engine-keyman with the "IPA (SIL)" keyboard, which doesn't work correctly
in Chromium (which doesn't support surrounding text).

Upstream bug: https://github.com/ibus/ibus/issues/2354
Upstream fix: https://github.com/ibus/ibus/pull/2436


-- Package-specific info:
ibus is /usr/bin/ibus
ibus-setup is /usr/bin/ibus-setup
im-config -l => ibus xim
im-config -m => 'default' 'ibus' 'ibus' '' 'ibus'

XMODIFIERS=@im=ibus
GTK_IM_MODULE=
QT_IM_MODULE=ibus
WAYLAND_DISPLAY=
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=ubuntu-xorg
XDG_SESSION_ID=
XDG_SESSION_TYPE=x11

== ls -l /usr/lib/ibus/ibus-* /usr/libexec/ibus-* ==
/bin/ls: cannot access '/usr/lib/ibus/ibus-*': No such file or directory
-rwxr-xr-x 1 root root 22904 Sep 6 18:40 /usr/libexec/ibus-dconf
-rwxr-xr-x 1 root root 51432 Sep 7 20:02 /usr/libexec/ibus-engine-keyman
-rwxr-xr-x 1 root root 43392 Jan 25 2022 /usr/libexec/ibus-engine-m17n
-rwxr-xr-x 1 root root 14640 Sep 6 18:40 /usr/libexec/ibus-engine-simple
-rwxr-xr-x 1 root root 1934 Feb 2 2022 /usr/libexec/ibus-engine-table
-rwxr-xr-x 1 root root 141688 Sep 6 18:40 /usr/libexec/ibus-extension-gtk3
-rwxr-xr-x 1 root root 22904 Sep 6 18:40 /usr/libexec/ibus-memconf
-rwxr-xr-x 1 root root 72056 Sep 6 18:40 /usr/libexec/ibus-portal
-rwxr-xr-x 1 root root 31104 Jan 25 2022 /usr/libexec/ibus-setup-m17n
-rwxr-xr-x 1 root root 1068 Feb 2 2022 /usr/libexec/ibus-setup-table
-rwxr-xr-x 1 root root 117120 Sep 6 18:40 /usr/libexec/ibus-ui-emojier
-rwxr-xr-x 1 root root 231848 Sep 6 18:40 /usr/libexec/ibus-ui-gtk3
-rwxr-xr-x 1 root root 111792 Sep 6 18:40 /usr/libexec/ibus-x11

== dpkg-query -l 'ibus*' ==
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-========================-====================-============-====================================
ii ibus 1.5.26-4sil1.3~jammy amd64 Intelligent Input Bus - core
un ibus-anthy <none> <none> (no description available)
un ibus-array <none> <none> (no description available)
ii ibus-build-deps 1.0 amd64 build-dependencies for ibus
un ibus-clutter <none> <none> (no description available)
ii ibus-data 1.5.26-4sil1.3~jammy all Intelligent Input Bus - data files
un ibus-doc <none> <none> (no description available)
un ibus-el <none> <none> (no description available)
un ibus-googlepinyin <none> <none> (no description available)
ii ibus-gtk:amd64 1.5.26-4sil1.3~jammy amd64 Intelligent Input Bus - GTK2 support ii ibus-gtk3:amd64 1.5.26-4sil1.3~jammy amd64 Intelligent Input Bus - GTK3 support ii ibus-gtk4:amd64 1.5.26-4sil1.3~jammy amd64 Intelligent Input Bus - GTK4 support
ii ibus-keyman 16.0.57-1+jammy1 amd64 Keyman engine for IBus
ii ibus-m17n 1.4.9-1 amd64 m17n engine for IBus
un ibus-pinyin <none> <none> (no description available)
ii ibus-table 1.16.7-1 all table engine for IBus
un ibus-table-array30 <none> <none> (no description available)
un ibus-table-cangjie <none> <none> (no description available)
un ibus-table-cangjie-big <none> <none> (no description available)
un ibus-table-cangjie3 <none> <none> (no description available)
un ibus-table-cangjie5 <none> <none> (no description available)
un ibus-table-cantonese <none> <none> (no description available)
un ibus-table-cantonhk <none> <none> (no description available)
un ibus-table-cns11643 <none> <none> (no description available)
un ibus-table-compose <none> <none> (no description available)
un ibus-table-easy <none> <none> (no description available)
un ibus-table-easy-big <none> <none> (no description available)
un ibus-table-emoji <none> <none> (no description available)
un ibus-table-erbi <none> <none> (no description available)
un ibus-table-erbi-qs <none> <none> (no description available)
un ibus-table-ipa-x-sampa <none> <none> (no description available)
un ibus-table-jyutping <none> <none> (no description available)
un ibus-table-latex <none> <none> (no description available)
un ibus-table-quick <none> <none> (no description available)
un ibus-table-quick-classic <none> <none> (no description available)
un ibus-table-quick3 <none> <none> (no description available)
un ibus-table-quick5 <none> <none> (no description available)
un ibus-table-rustrad <none> <none> (no description available)
un ibus-table-scj6 <none> <none> (no description available)
un ibus-table-stroke5 <none> <none> (no description available)
un ibus-table-thai <none> <none> (no description available)
un ibus-table-translit <none> <none> (no description available)
un ibus-table-translit-ua <none> <none> (no description available)
un ibus-table-viqr <none> <none> (no description available)
un ibus-table-wu <none> <none> (no description available)
un ibus-table-wubi <none> <none> (no description available)
un ibus-table-yawerty <none> <none> (no description available)
un ibus-table-yong <none> <none> (no description available)

=== gsettings ===
org.freedesktop.ibus.general dconf-preserve-name-prefixes ['/desktop/ibus/engine/pinyin', '/desktop/ibus/engine/bopomofo', '/desktop/ibus/engine/hangul']
org.freedesktop.ibus.general embed-preedit-text true
org.freedesktop.ibus.general enable-by-default false
org.freedesktop.ibus.general engines-order @as []
org.freedesktop.ibus.general preload-engines @as []
org.freedesktop.ibus.general switcher-delay-time 400
org.freedesktop.ibus.general use-global-engine true
org.freedesktop.ibus.general use-system-keyboard-layout false
org.freedesktop.ibus.general use-xmodmap true
org.freedesktop.ibus.general version ''
org.freedesktop.ibus.general xkb-latin-layouts ['ara', 'bg', 'cz', 'dev', 'gr', 'gur', 'in', 'jp(kana)', 'mal', 'mkd', 'ru', 'ua']
org.freedesktop.ibus.general.hotkey disable-unconditional @as []
org.freedesktop.ibus.general.hotkey enable-unconditional @as []
org.freedesktop.ibus.general.hotkey next-engine ['Alt+Shift_L']
org.freedesktop.ibus.general.hotkey next-engine-in-menu ['Alt+Shift_L']
org.freedesktop.ibus.general.hotkey prev-engine @as []
org.freedesktop.ibus.general.hotkey previous-engine @as []
org.freedesktop.ibus.general.hotkey trigger ['Control+space', 'Zenkaku_Hankaku', 'Alt+Kanji', 'Alt+grave', 'Hangul', 'Alt+Release+Alt_R']
org.freedesktop.ibus.general.hotkey triggers ['<Super>space']
org.freedesktop.ibus.panel auto-hide-timeout 10000
org.freedesktop.ibus.panel custom-font 'Sans 10'
org.freedesktop.ibus.panel follow-input-cursor-when-always-shown false
org.freedesktop.ibus.panel lookup-table-orientation 1
org.freedesktop.ibus.panel property-icon-delay-time 500
org.freedesktop.ibus.panel show 0
org.freedesktop.ibus.panel show-icon-on-systray true
org.freedesktop.ibus.panel show-im-name false
org.freedesktop.ibus.panel use-custom-font false
org.freedesktop.ibus.panel use-glyph-from-engine-lang true
org.freedesktop.ibus.panel x -1
org.freedesktop.ibus.panel xkb-icon-rgba '#51a2da'
org.freedesktop.ibus.panel y -1
org.freedesktop.ibus.panel.emoji favorite-annotations @as []
org.freedesktop.ibus.panel.emoji favorites @as []
org.freedesktop.ibus.panel.emoji font 'Monospace 16'
org.freedesktop.ibus.panel.emoji has-partial-match false
org.freedesktop.ibus.panel.emoji hotkey ['<Control>period', '<Control>semicolon']
org.freedesktop.ibus.panel.emoji lang 'en'
org.freedesktop.ibus.panel.emoji load-emoji-at-startup true
org.freedesktop.ibus.panel.emoji load-unicode-at-startup false
org.freedesktop.ibus.panel.emoji partial-match-condition 0
org.freedesktop.ibus.panel.emoji partial-match-length 3
org.freedesktop.ibus.panel.emoji unicode-hotkey ['<Control><Shift>u']
org.gnome.desktop.input-sources current uint32 0
org.gnome.desktop.input-sources mru-sources [('xkb', 'us'), ('xkb', 'de'), ('ibus', 'am:/home/eberhard/.local/share/keyman/gff_amharic/gff_amharic.kmx'), ('ibus', 'km:/home/eberhard/.local/share/keyman/khmer_angkor/khmer_angkor.kmx'), ('ibus', 'ko:/home/eberhard/.local/share/keyman/sil_korda_jamo/sil_korda_jamo.kmx'), ('ibus', 'am:/home/eberhard/.local/share/keyman/sil_ethiopic_power_g/sil_ethiopic_power_g.kmx'), ('ibus', 'und-Latn:/home/eberhard/.local/share/keyman/sil_ipa/sil_ipa.kmx'), ('ibus', 'sa-Deva:/home/eberhard/.local/share/keyman/itrans_devanagari_sanskrit_vedic/itrans_devanagari_sanskrit_vedic.kmx')]
org.gnome.desktop.input-sources per-window false
org.gnome.desktop.input-sources show-all-sources false
org.gnome.desktop.input-sources sources [('xkb', 'us'), ('xkb', 'de'), ('ibus', 'sa-Deva:/home/eberhard/.local/share/keyman/itrans_devanagari_sanskrit_vedic/itrans_devanagari_sanskrit_vedic.kmx'), ('ibus', 'km:/home/eberhard/.local/share/keyman/khmer_angkor/khmer_angkor.kmx'), ('ibus', 'und-Latn:/home/eberhard/.local/share/keyman/sil_ipa/sil_ipa.kmx'), ('ibus', 'am:/home/eberhard/.local/share/keyman/sil_ethiopic_power_g/sil_ethiopic_power_g.kmx'), ('ibus', 'ko:/home/eberhard/.local/share/keyman/sil_korda_jamo/sil_korda_jamo.kmx'), ('ibus', 'am:/home/eberhard/.local/share/keyman/gff_amharic/gff_amharic.kmx')]
org.gnome.desktop.input-sources xkb-options @as []

=== localectl status ===
System Locale: LANG=en_US.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
VC Keymap: n/a
X11 Layout: us
X11 Model: pc105

=== /etc/X11/default-display-manager ===
/usr/sbin/gdm3

=== setxkbmap -print ===


-- System Information:
Debian Release: bookworm/sid
APT prefers jammy-updates
APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), (100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-47-generic (SMP w/20 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ibus depends on:
ii adwaita-icon-theme 41.0-1ubuntu1
ii dconf-cli 0.40.0-3
ii gir1.2-gtk-3.0 3.24.33-1ubuntu2
ii gir1.2-ibus-1.0 1.5.26-4sil1.3~jammy
ii ibus-data 1.5.26-4sil1.3~jammy
ii init-system-helpers 1.62
ii libatk1.0-0 2.36.0-3build1
ii libc6 2.35-0ubuntu3.1
ii libcairo2 1.16.0-5ubuntu2
ii libdconf1 0.40.0-3
ii libgdk-pixbuf-2.0-0 2.42.8+dfsg-1
ii libglib2.0-0 2.72.1-1
ii libgtk-3-0 3.24.33-1ubuntu2
ii libibus-1.0-5 1.5.26-4sil1.3~jammy
ii libpango-1.0-0 1.50.6+ds-2
ii libpangocairo-1.0-0 1.50.6+ds-2
ii libx11-6 2:1.7.5-1
ii libxfixes3 1:6.0.0-1
ii libxi6 2:1.8-1build1
ii python3 3.10.4-0ubuntu2
ii python3-gi 3.42.1-0ubuntu1
ii python3-ibus-1.0 1.5.26-4sil1.3~jammy

Versions of packages ibus recommends:
ii ibus-gtk 1.5.26-4sil1.3~jammy
ii ibus-gtk3 1.5.26-4sil1.3~jammy
ii ibus-gtk4 1.5.26-4sil1.3~jammy
ii im-config 0.50-2

Versions of packages ibus suggests:
pn ibus-clutter <none>
pn ibus-doc <none>

-- no debconf information

Attachment: OpenPGP_0xE9140597606020D3.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: