[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-26 Thread Launchpad Bug Tracker
This bug was fixed in the package mozc - 2.26.4220.100+dfsg-4.1ubuntu0.1 --- mozc (2.26.4220.100+dfsg-4.1ubuntu0.1) impish; urgency=medium * Add autostart file to launch Xwayland on startup of wayland session - Proved to be useful on Ubuntu 21.10 (LP: #1946969) -- Gunnar

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-24 Thread Mitsuya Shibata
> This was run on Debian testing (GNOME / Wayland): Thanks! Umm... It seems that "DISPLAY=:1" is valid... -- 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

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-24 Thread Gunnar Hjalmarsson
This was run on Debian testing (GNOME / Wayland): $ strings /proc/$(pidof ibus-engine-mozc)/environ | grep ^DISPLAY DISPLAY=:1 $ ls -l /tmp/.X11-unix/ total 0 srwxr-xr-x 1 gunnar gunnar 0 okt 24 19:35 X0 srwxr-xr-x 1 gunnar gunnar 0 okt 24 19:35 X1 srwxr-xr-x 1 Debian-gdm

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-24 Thread Mitsuya Shibata
Hi Gunnar, For future release, I'm trying to figure out the cause this problem. Here's what we know at this point. 1. DISPLAY=:1 For some reason, the DISPLAY env of ibus-daemon/ibus-engine-mozc is set to ":1". $ strings /proc/$(pidof ibus-engine-mozc)/environ | grep ^DISPLAY DISPLAY=:1 It

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-20 Thread Ikuya Awashiro
** Tags removed: verification-needed-impish ** Tags added: verification-done-impish -- 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

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-20 Thread Ikuya Awashiro
mozc 2.26.4220.100+dfsg-4.1ubuntu0.1 works as expected. Thanks! -- 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

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-19 Thread Brian Murray
Hello Ikuya, or anyone else affected, Accepted mozc into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mozc/2.26.4220.100+dfsg-4.1ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-18 Thread Launchpad Bug Tracker
This bug was fixed in the package mozc - 2.26.4220.100+dfsg-5.1 --- mozc (2.26.4220.100+dfsg-5.1) unstable; urgency=medium * Non-maintainer upload * Add autostart file to launch Xwayland on startup of wayland session - Proved to be useful on Ubuntu 21.10 (LP: #1946969) --

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-16 Thread Gunnar Hjalmarsson
Thanks for editing the description! Ok, then let's get the ball rolling. I uploaded the change to Debian unstable (to sync later) and to the impish unapproved queue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-16 Thread Mitsuya Shibata
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

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-16 Thread Gunnar Hjalmarsson
I tested multiple IBus IMs, and AFAICT the issue is a pure ibus-mozc one. Consequently I now believe that a reasonable solution is to let the ibus-mozc package install an autostart file for launching Xwayland. That way users who don't use ibus-mozc won't be affected. New proposal in this PPA:

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-15 Thread Mitsuya Shibata
> I just found that this problem is not present in Debian testing Indeed, Xwayland is living on Debian/testing and ibus-daemon is restarted with --xim by gnome-shell. However xlsclients show only ibus-x11/gsd-xsettings/gnome-shell only. Is any X11 related process started and then closed? --

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-15 Thread Gunnar Hjalmarsson
I submitted to involve the desktop team in the solution. -- 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

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-14 Thread Gunnar Hjalmarsson
I just found that this problem is not present in Debian testing, even if they have the same version of both mutter and ibus. Something seems to make Xwayland start at login, and hence ibus-x11 is also running. That speaks against using im-config to work around it, since im-config is used by both

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-14 Thread Mitsuya Shibata
> When that reaches Debian, there is a risk that Ubuntu's desktop team won't accept to keep mozc in main (and on the ISO). I think so too. Unfortunately the Qt renderer and Gtk renderer seem to be exclusive at the moment. We still need Gtk renderer. > > However ibus-x11 process is doubled, it is

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-14 Thread Gunnar Hjalmarsson
On 2021-10-14 15:43, Ikuya Awashiro wrote: >> It would be good if any of you could submit an upstream GNOME issue. > I think it is not mutter or gnome-shell issue but ibus-mozc issue. > ibus-mozc should work under wayland session. > Latest Mozc renderer was completely re-written. >

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-14 Thread Mitsuya Shibata
Hi Gunnar, > In the meantime im-config is the natural package for a workaround. This PPA: It works for me. Thank you for your quick response! However ibus-x11 process is doubled, it is ok? PIDPGID SID TTY STAT TIME COMMAND 140014001400 ?Ssl0:00

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-14 Thread Ikuya Awashiro
Thank you for your comments! > However to reproduce this behaviour, you need to reboot on twice, isn't it? Yes. You are right. Always right. > It would be good if any of you could submit an upstream GNOME issue. I think it is not mutter or gnome-shell issue but ibus-mozc issue. ibus-mozc should

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-13 Thread Ikuya Awashiro
** Description changed: 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

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-13 Thread Gunnar Hjalmarsson
Hi Osamu, This issue is reasonably present in bookworm too, and also your eyes on the patch in the PPA would be appreciated. Especially there is one thing I'm not sure about: To make it work I had to set IM_CONFIG_CHECK_ENV=0, and with that bypass the check in im-launch. -- You received this

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-13 Thread Gunnar Hjalmarsson
Hi Ikuya, Mitsuya! Confirmed here as well. My understanding is that not all IBus IMs need ibus-x11, which may explain why the GNOME folks didn't notice this issue as regards ibus- mozc. It would be good if any of you could submit an upstream GNOME issue. I suppose that candidate projects are

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-13 Thread Mitsuya Shibata
> 4. restart IBus automatically when log in More simple, but identical workaround: --- cat <<'EOF' | sudo tee /etc/xdg/autostart/launch-xwayland.desktop [Desktop Entry] Name=Launch XWayland on startup Exec=sh -c 'if [ "x$XDG_SESSION_TYPE" = "xwayland" ] ; then xrefresh; fi' TryExec=xrefresh

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-13 Thread Mitsuya Shibata
I can reproduced this issue in new installed impish. However to reproduce this behaviour, you need to reboot on twice, isn't it? First reboot will startup gnome-initial setup with GNOME_SETUP_DISPLAY, this environment variable will cause starting ibus-daemon with "--xim" option. GNOME Shell drop

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-13 Thread Mitsuya Shibata
** Changed in: ubuntu Status: New => Confirmed -- 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

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-13 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people

[Bug 1946969] Re: ibus-x11 does not start automatically

2021-10-13 Thread Ikuya Awashiro
Hi Gunnar-san and Shibata-san, please take a look. Anyone report such a problem. Is it my fault? -- 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