[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#914704: ibus: candidate window appears at bottom



On 2019-10-17 21:49:39, Osamu Aoki wrote:
> Hi,
>
> As I see ... it looks like this is im-config bug.
>
> On Wed, Oct 16, 2019 at 04:19:59PM -0400, Antoine Beaupre wrote:
>> Package: ibus
>> Version: 1.5.19-4+deb10u1
>> Followup-For: Bug #914704
>>
>> I can reproduce this in a Cinammon and i3 desktops, but it's true that
>> somehow GNOME is not affected by this problem.
>>
>> -- Package-specific info:
>> default-display-manager: /usr/sbin/gdm3
>> ibus is /usr/bin/ibus
>> ibus-setup is /usr/bin/ibus-setup
>> im-config -l =>  ibus xim
>> im-config -m => 'default' 'custom' 'ibus' '' 'ibus'
>> SHELL=/bin/bash
>> PATH=~/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/sbin:~/go/bin
>> LANG=LANG$
>> LANGUAGE=
>> == locale ==
>>
>> XMODIFIERS=@im=ibus
>> GTK_IM_MODULE=xim
> ^^^^^^^^^^^^^^^^^^^^^^
>
> This is not expected.  ibus should have been here if you want to use it
> via X. (Wayland is another story) Maybe this comes from your old
> setting.

Yeah, so I can confirm this still occurs even if I'm using straight out
ibus here. This was just a test I did to figure out another bug (solved
through .Xmodmap removal). I can still reproduce with this environment:

$ env | grep -e XMOD -e IM_
GTK_IM_MODULE=ibus
QT4_IM_MODULE=ibus
XMODIFIERS=@im=ibus
CLUTTER_IM_MODULE=ibus
QT_IM_MODULE=ibus

> New systemd based Gnome/wayland except for Gnome/ibus/Wayland and
> Gnome/uim/Wayland have issue to initialize input method.  Gnome start up
> code sets this independent of im-config.   This is what I use and
> GTK_IM_MODULE is unset here.   Uim under Gnome/wayland has
> special start up code via desktop file in im-config which takes care.

I ran im-config and it created the following .xinputrc:

$ cat .xinputrc 
# im-config(8) generated on Wed, 16 Oct 2019 16:49:29 -0400
run_im ibus
# im-config signature: 6a80770f907c57e20cf92edb0751da12  -

I don't actually know what's setting those IM_MODULE variables above. I
don't have anything in my $HOME that sets those variables directly.

> KDE and non-Gnome GTK desktops ... They are still in the same old X
> system.  They should work fine.

Yeah, that's what I figured as well. But I should mention that the
widget is different in GNOME vs (say) Emacs or rxvt. In GNOME it matches
the default GNOME theme (grey/black/blue and rounded corners) while in
my regular desktop, it's this white/gray thing. It doesn't seem like the
same widget at all.

> Please configure your im-config setting to use ibus again.  You may have
> done so before installing needed GTK3 library.

I'm not sure I understand what you mean here, but I can confirm I
reconfigured im-config and the problem still occurs.

I'd be happy to provide more information, screenshots or tests as
needed. I have a test user with a blank home which is especially useful
to test with, and I can run tests in a virtual machine as well if that's
useful.

A.
-- 
PHP was originally designed explicitly for non-programmers (and, reading
between the lines, non-programs); it has not well escaped its roots.
                         - Alex Munroe, PHP: a fractal of bad design


Reply to: