IBus no longer works in Qt applications after upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GLib |
Fix Released
|
Unknown
|
|||
ibus |
Fix Released
|
Unknown
|
|||
glib2.0 (Debian) |
Fix Released
|
Unknown
|
|||
glib2.0 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Gunnar Hjalmarsson | ||
Bionic |
Fix Released
|
High
|
Gunnar Hjalmarsson | ||
Disco |
Won't Fix
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
High
|
Gunnar Hjalmarsson | ||
Focal |
Fix Released
|
High
|
Unassigned | ||
ibus (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
IBus was broken for Qt applications as a regression due to the fix of CVE-2019-14822. As a result the IBus patch was disabled temporarily, which fixed IBus from a usability POV.
The real fix has been made in glib2.0, and the updates in -proposed will allow the IBus patch to be re-enabled.
[Test Case]
* On a standard Ubuntu {eoan,disco,
- Upgrade the glib2.0 packages from
{eoan,
- Upgrade the ibus packages from
https:/
- Install some IBus input method, e.g. ibus-libpinyin
- Install some Qt application, e.g. Kate
* Relogin (maybe reboot)
* Add the input method to the input sources
* Open the Qt app and try to input something using the IBus IM
=> Find that the transliteration works as expected
[Regression Potential]
The applicable patches origin from glib upstream:
https:/
Consequently the changes have been reviewed by the glib maintainer, but also tested by the IBus maintainer, by me (gunnarhj), and - of course - the author Simon McVittie. The changes have been in Debian unstable since 2019-10-30.
[Original description]
Kubuntu Release 18.04.3 LTS
Expected behavior:
ibus continues working as before after applying security update 1.5.17-ubuntu5.1 from version 1.5.17-ubuntu5.
Observed behavior:
ibus is not usable anymore in Qt applications.
After updating ibus and the related packages ibus-gtk, ibus-gtk3, libibus-1.0-5 and gir1.2-ibus-1.0 all from version 1.5.17-ubuntu5 to 1.5.17-ubuntu5.1, I can no longer use ibus in Qt applications. Using shift-space no longer changes the selected input method and even when i switch to the mozc input method in a gtk application, i can not use it in any Qt applications.
When starting qtconfig in a terminal, I also get the following message:
Bus::open: Connect ibus failed!
IBusInputContex
This bug was not present in version 1.5.17-3ubuntu5 and I also confirmed that downgrading the packages to version 1.5.17-3ubuntu4 restores ibus functionality in Qt applications.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ibus 1.5.17-3ubuntu5.1
ProcVersionSign
Uname: Linux 5.0.0-30-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: KDE
Date: Sat Sep 21 07:58:56 2019
InstallationDate: Installed on 2019-06-28 (84 days ago)
InstallationMedia: Kubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: ibus
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
tags: | added: regression-update |
Changed in ibus (Ubuntu): | |
importance: | Undecided → High |
Changed in ibus: | |
status: | Unknown → New |
Changed in ibus: | |
status: | New → Fix Released |
Changed in ibus (Debian): | |
status: | Unknown → Confirmed |
Changed in ibus: | |
status: | Fix Released → New |
Changed in ibus: | |
status: | New → Fix Released |
Changed in glib2.0 (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in glib: | |
status: | Unknown → New |
Changed in glib: | |
status: | New → Fix Released |
affects: | ibus (Debian) → glib2.0 (Debian) |
Changed in glib2.0 (Debian): | |
status: | Confirmed → Fix Released |
Changed in glib2.0 (Ubuntu): | |
status: | Confirmed → Fix Committed |
description: | updated |
no longer affects: | ibus (Ubuntu Xenial) |
no longer affects: | ibus (Ubuntu Bionic) |
no longer affects: | ibus (Ubuntu Disco) |
no longer affects: | ibus (Ubuntu Eoan) |
Changed in glib2.0 (Ubuntu Xenial): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in glib2.0 (Ubuntu Bionic): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in glib2.0 (Ubuntu Disco): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in glib2.0 (Ubuntu Eoan): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → High |
status: | New → In Progress |
description: | updated |
Changed in glib2.0 (Ubuntu Focal): | |
status: | Fix Committed → Fix Released |
tags: | removed: verification-needed verification-needed-disco |
Status changed to 'Confirmed' because the bug affects multiple users.