[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-05 Thread Launchpad Bug Tracker
This bug was fixed in the package im-config - 0.32-1ubuntu2 --- im-config (0.32-1ubuntu2) artful; urgency=medium * debian/input-method-config.sh, debian/rules: - Script which works around (in 17.10) the fact that graphical-session-pre.target services are not always run as

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-04 Thread Mitsuya Shibata
My apologies for late and sparse reply... > So I have uploaded yet another variant to the PPA. Thank you for your upload. Suggestion window become to visible! -- I will tackle following issues related to input method until 18.04 release. - bug #1721023 : suggestion window position - bug

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-04 Thread Gunnar Hjalmarsson
I'm not able to spot the root cause for the problem with the ibus-mozc suggestion window, but I have tested on Ubuntu, Ubuntu on Xorg and Unity both with GDM and LightDM. The suggestion window failed to show up with the combination Wayland + LightDM, but that's an odd combo anyway, and the other

Re: [Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-04 Thread Iain Lane
On Wed, Oct 04, 2017 at 12:40:03AM -, Gunnar Hjalmarsson wrote: > As Iain suggested on IRC > > https://irclogs.ubuntu.com/2017/10/03/%23ubuntu-devel.html#t15:52 > > I checked out what the processes looked like for the two attempts at a > solution, and attached a couple of files with my

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-03 Thread Gunnar Hjalmarsson
** Attachment added: "processes_basic.target.txt" https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1720250/+attachment/4961800/+files/processes_basic.target.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-03 Thread Gunnar Hjalmarsson
As Iain suggested on IRC https://irclogs.ubuntu.com/2017/10/03/%23ubuntu-devel.html#t15:52 I checked out what the processes looked like for the two attempts at a solution, and attached a couple of files with my observations. Well, not sure what I should look for, to be honest, but that exercise

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-03 Thread Gunnar Hjalmarsson
** Attachment added: "processes_profile.d.txt" https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1720250/+attachment/4961801/+files/processes_profile.d.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-03 Thread Iain Lane
On Tue, Oct 03, 2017 at 01:16:54PM -, Mitsuya Shibata wrote: > However suggestion window doesn't show up... Please could you try to find out why this is? -- Iain Lane [ i...@orangesquash.org.uk ] Debian Developer [

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-03 Thread Gunnar Hjalmarsson
On 2017-10-03 15:16, Mitsuya Shibata wrote: > The profile.d version works on my environment too with gedit (gtk > app) and setup-mozc (qt app). Ok.. > However suggestion window doesn't show up.. Confirmed. So then it doesn't work properly after all, right? (It does show up on "Ubuntu on Xorg",

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-03 Thread Mitsuya Shibata
Hi Ian and Gunnar, Thank you for details about systemd target and new package! The profile.d version works on my environment too with gedit (gtk app) and setup-mozc (qt app). However suggestion window doesn't show up... -- You received this bug notification because you are a member of Ubuntu

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-03 Thread Mitsuya Shibata
> So no need to set a symlink in the users' HOME. > Maybe it's not a problem at all. I just noticed a difference. Yes, you are right. My old comment is just reason why "list-unit-files" show "disabled". > Then it's probably not related to im-config at all, but rather ibus/wayland/whatever.

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-02 Thread Gunnar Hjalmarsson
As per Iain's suggestion I have uploaded a new variant to the PPA, where a file in /etc/profile.d replaces the modifications of im- config.service. It works AFAICT, but I'd appreciate your confirmation before I upload to the archive. -- You received this bug notification because you are a member

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-02 Thread Iain Lane
ok, I had a look at the unit - basic.target is quite basic, it happens for every user session. If the first session is a SSH login then we'll execute im-config when we probably shouldn't. - PartOf=graphical.target will be necessary when we get back to launching the UI under systemd

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-02 Thread Gunnar Hjalmarsson
On 2017-10-02 16:19, Mitsuya Shibata wrote:> As my understand, user session unit is enabled by symlink on > ~/.config/systemd/user/. If there is not symlink on the directory, > "is-enabled" command will show "disabled". "/usr/lib/systemd/user" > is vendor preset directory, and just show "vendor

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-02 Thread Mitsuya Shibata
Unfortunately, gnome-terminal and gedit show select window on top left... (this behavior same as old im-config on wayland, not problem on xorg). ** Attachment added: "Screenshot from 2017-10-02 22-46-48.png"

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-02 Thread Mitsuya Shibata
Just for your information, I attached zesty's result about systemd. ** Attachment added: "imservice.log" https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1720250/+attachment/4960512/+files/imservice.log -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-02 Thread Mitsuya Shibata
> I uploaded a test version of im-config here: Thanks! > Even if the variables seem to be properly set, I made this observation: > > $ systemctl --user list-unit-files | grep im-config > im-config.service disabled $ systemctl --user status im-config.service

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-01 Thread Gunnar Hjalmarsson
On 2017-10-02 00:00, Jeremy Bicha wrote:> Gunnar, upstart has been removed from Debian 9 "Stretch" and from > Ubuntu 17.10. Ah, had missed that. > You should drop the debian/menu too. I just uploaded a new version to the PPA with those changes. -- You received this bug notification because you

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-01 Thread Jeremy Bicha
Gunnar, upstart has been removed from Debian 9 "Stretch" and from Ubuntu 17.10. You should drop the debian/menu too. https://lintian.debian.org/tags/command-in-menu-file-and-desktop-file.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-01 Thread Gunnar Hjalmarsson
Thanks, Mitsuya, for valuable input! As regards the upstart stuff, it was introduced before Unity8, and since I don't know if all the flavors have switched to systemd for user session, I'm disinclined to drop it at this time. I uploaded a test version of im-config here:

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-10-01 Thread Mitsuya Shibata
Fist of all, I don't know details about history of upstart/unity and user session system. There is no conclusion, just my research. --- For Unity8/Mir, upstart script of im-config was added LP #1433831 This Ubuntu only script should be removed from im-config package. Since switching user

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-09-29 Thread Mitsuya Shibata
> With lightdm the im-config variables are preserved also on GNOME shell (with or without Wayland). Umm... With GDM3, Ubuntu.Xorg session correctly set GTK_IM_MODULE and other environments. In this case, im-config will be launched from /etc/X11/Xsession.d/70im-config_launch. If GTK_IM_MODULE

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-09-29 Thread Mitsuya Shibata
> im-config provides a systemd *user* service. Oh, sorry... $ systemctl --user list-unit-files | grep im-config im-config.service static $ systemctl --user status im-config.service ● im-config.service - Launch and configure input method Loaded: loaded

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-09-29 Thread Jeremy Bicha
Mitsuya, im-config provides a systemd *user* service. You'll need to use --user to see it like this: $ systemctl --user list-unit-files | grep im-config -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-09-29 Thread Gunnar Hjalmarsson
@Mitsuya: I don't know systemd well enough to tell. What I did before drawing the conclusion that it's somehow gdm3 related was to install and test with lightdm. With lightdm the im-config variables are preserved also on GNOME shell (with or without Wayland). -- You received this bug

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-09-29 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gdm3 (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/1720250 Title:

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-09-29 Thread Mitsuya Shibata
My wayland session is same result. Anyway, /usr/lib/systemd/user/im-config.service is installed, but systemctl doesn't show that unit file. Is it OK? $ systemctl list-unit-files | grep im-config (nothing) -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1720250] Re: im-config configuration ignored with gdm3

2017-09-29 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: im-config (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/1720250 Title: