Hi Gunnar,

> New proposal in this PPA:

Many many thanks, confirmation and new patch.

I tried it on 21.10, and works great.


> Also, can someone please make the bug description 'SRU compatible':

I updated description.

** Description changed:

+ [Impact]
+ 
+ This is bugfix SRU.
+ 
+ The mainly problem is user cannot input Japanese language with
+ IBus/Mozc.
+ 
+ One of the causes is Xwayland will not start on 21.10.
+ If there is no Xwayland process, gnome-shell/mutter will drop "--xim"
+ option of ibus-daemon and ibus-x11 process doesn't start.
+ 
+ For reasons unknown, IBus/Mozc does not work as a result.
+ 
+ Essentially, it should be fixed so that it works without Xwayland
+ and ibus-x11, but it takes time to investigate, so we will workaround
+ it by forcing Xwayland to start by xrefresh command.
+ 
+ 
+ [Test Plan]
+ 
+ 1. run Ubuntu 21.10 installer
+ 2. select Japanese language and keyboard
+ 3. finish to install and reboot
+ 4. login and complete gnome-initial-setup
+ 5. apply the mozc SRU and reboot
+ 6. login
+ 7. press Windows key + Space key and select Japanese (Mozc)
+ 8. startup gedit
+ 9. press Hankaku/Zenkaku key
+ 
+ If you can input Japanese language, then test is ok.
+ 
+ 
+ [Where problems could occur]
+ 
+ * Only affects to mozc installed machine, it is mainly Japanese user's 
machine.
+ * The worst case is that those user cannot input Japanese language if the 
update is invalid.
+ * However current 21.10 is already same state.
+ 
+ 
+ [Original description]
+ 
  ibus-x11 does not start automatically due to Xwayland on demand by default.
  IBus user does not input any cjkv languages before start to ibus-x11 or 
xwayland process.
  
  Steps to reproduce:
  
  1. run Ubuntu 21.10 installer
  2. select Japanese language
  3. finish to install and reboot
  4. login
  5. reboot
  6. login
  7. push Windows key + Space key and select Japanese (Mozc)
  8. run gedit
  9. push Hankaku/Zenkaku key
  
  Expected results:
  
  show any Japanese characters
  
  Actual results:
  
  input any alphabetical key which I push
  
  observation:
  
  This may be mutter's matter.
  Xwayland on demand by default
  https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1673
  
  workaround:
  
  1. run gnome-terminal and run command "ibus-daemon -rxd"
  2. run any xwayland application like Libreoffice
  3. use X session
  4. restart IBus automatically when log in
  
  exaple:
  $ sudo editor /etc/xdg/autostart/ibus-autostart.desktop
  
  [Desktop Entry]
  Name=ibus-autostart
  Exec=sh -c 'if [ "${IM_CONFIG_CHECK_ENV}" = "1" ] && [ "${XDG_SESSION_TYPE}" 
= "wayland" ] && [ "${XDG_CURRENT_DESKTOP}" = "ubuntu:GNOME" ] || [ 
"${XDG_CURRENT_DESKTOP}" = "GNOME" ]; then ibus-daemon -rxd true; fi'
  TryExec=ibus-daemon
  Type=Application

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946969

Title:
  ibus-x11 does not start automatically

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mozc/+bug/1946969/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to