Gunnar, I suspect you know more about this area than anyone else in
Ubuntu at the moment. So accepting on the basis that you think it makes
sense to make this change. I do agree that the bug is significant enough
for SRU.

But please could you expand the Test Plan to check for inadvertent
regressions to unaffected users of Xorg?

** Changed in: im-config (Ubuntu Jammy)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-jammy

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to im-config in Ubuntu.
https://bugs.launchpad.net/bugs/2007379

Title:
  Set GTK_IM_MODULE in Ubuntu on Xorg sessions

Status in im-config package in Ubuntu:
  Fix Released
Status in im-config source package in Jammy:
  Fix Committed
Status in im-config source package in Kinetic:
  Won't Fix
Status in im-config package in Debian:
  Fix Released

Bug description:
  [ Impact ]

  gnome-settings-daemon underwent a code refactoring before the release
  of version 42 as regards the IBus integration on x11. Initially there
  was the striking bug #1969637, but also with that one fixed, an issue
  due to the refactoring remains. These steps illustrate the problem:

  * Prepare an Ubuntu desktop so it has only non-IBus items in the list
    of input sources, while the ibus-libpinyin package is installed.
  * Log in to an Ubuntu on Xorg session
  * Go to Settings -> Keyboard and add Chinese (Intelligent Pinyin) to
    the input sources
  * Switch to Intelligent Pinyin
  * Find that you only can input latin letters
  * Log out and log in again
  * Find that you now can input Chinese as expected

  The need for the last relogin is an inconvenience and a regression
  compared to how it worked before gnome-settings-daemon 42.

  The proposed upload makes im-config set the GTK_IM_MODULE variable to
  'ibus' for Ubuntu on Xorg sessions, which makes it work as smoothly as
  it did previously.

  [ Test Plan ]

  * Prepare an Ubuntu desktop so it has only non-IBus items in the list
    of input sources, while the ibus-libpinyin package is installed.
  * Install im-config from jammy-proposed
  * Reboot and log in to an Ubuntu on Xorg session
  * Go to Settings -> Keyboard and add Chinese (Intelligent Pinyin) to
    the input sources
  * Switch to Intelligent Pinyin
  * Find that you instantly can input Chinese

  [ Where problems could occur ]

  This means that we — again — make im-config interfere with the IM
  configuration on GNOME desktops. Via bug #1893551 we kind of did the
  opposite in order to reduce the frequency of ibus crashes. But the
  situation now is different:

  - This is more narrow-scoped and limited to x11
  - The upstream GNOME code has undergone significant changes
  - The measure is greenlighted by the upstream IBus maintainer (I think
    Fedora does it too)

  But with that said, I'm going to be attentive to the frequency of ibus
  crashes going forward.

  [ Other Info ]

  I prefer to skip kinetic for these reasons:
  - Not so much time left before EOL
  - Low importance
  - A jammy user with an IBus IM already set up, and who upgrades to
    kinetic, won't encounter a problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/2007379/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to