Bug#914704: ibus: candidate window appears at bottom

2019-11-08 Thread Changwoo Ryu
I still can't reproduce it in Cinamon desktop in a new account with
the same im-config settings. Something should be different in the
reproducing desktop.



Bug#914704: ibus: candidate window appears at bottom

2019-10-18 Thread Antoine Beaupré
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



Bug#914704: ibus: candidate window appears at bottom

2019-10-17 Thread Osamu Aoki
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.

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.

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

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

> QT4_IM_MODULE=ibus
> QT_IM_MODULE=xim
> WAYLAND_DISPLAY=
> XDG_CURRENT_DESKTOP=GNOME
> XDG_MENU_PREFIX=gnome-
> XDG_RUNTIME_DIR=/run/user/1000
> XDG_SEAT=seat0
> XDG_SESSION_CLASS=user
> XDG_SESSION_DESKTOP=lightdm-xsession
> XDG_SESSION_ID=671
> XDG_SESSION_TYPE=x11
>
> == ls -l /usr/lib/ibus/ ==
> total 1972K
> -rwxr-xr-x 1 root root  22752 Sep 10 17:27 ibus-dconf
> -rwxr-xr-x 1 root root 954696 Feb  6  2019 ibus-engine-libpinyin
> -rwxr-xr-x 1 root root 227912 Sep 18  2018 ibus-engine-pinyin
> -rwxr-xr-x 1 root root  14560 Sep 10 17:27 ibus-engine-simple
> -rwxr-xr-x 1 root root 157920 Sep 10 17:27 ibus-extension-gtk3
> -rwxr-xr-x 1 root root  88288 Sep 10 17:27 ibus-portal
> -rwxr-xr-x 1 root root   1164 Feb  6  2019 ibus-setup-libpinyin
> -rwxr-xr-x 1 root root   1059 Sep 18  2018 ibus-setup-pinyin
> -rwxr-xr-x 1 root root 116968 Sep 10 17:27 ibus-ui-emojier
> -rwxr-xr-x 1 root root 309536 Sep 10 17:27 ibus-ui-gtk3
> -rwxr-xr-x 1 root root 100192 Sep 10 17:27 ibus-x11
>
> == dpkg-query -l 'ibus*' ==
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name   Version Architecture 
> Description
> +++-==-===--=
> ii  ibus   1.5.19-4+deb10u1amd64
> Intelligent Input Bus - core
> un  ibus-anthy  (no 
> description available)
> ii  ibus-clutter:amd64 0.0+git20090728.a936bacf-5.1+b2 amd64ibus 
> input method framework for clutter
> un  ibus-doc(no 
> description available)
> un  ibus-el (no 
> description available)
> un  ibus-googlepinyin   (no 
> description available)
> ii  ibus-gtk:amd64 1.5.19-4+deb10u1amd64
> Intelligent Input Bus - GTK+2 support
> ii  ibus-gtk3:amd641.5.19-4+deb10u1amd64
> Intelligent Input Bus - GTK+3 support
> ii  ibus-libpinyin 1.11.0-1amd64
> Intelligent Pinyin engine based on libpinyin for IBus
> ii  ibus-pinyin1.5.0-5 amd64Pinyin 
> engine for IBus
> un  ibus-qt4(no 
> description available)
>
> -- System Information:
> Debian Release: 10.1
>   APT prefers stable-debug
>   APT policy: (500, 'stable-debug'), (500, 'stable'), (1, 'experimental'), 
> (1, 'unstable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
> Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), 
> LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages ibus depends on:
> ii  adwaita-icon-theme   3.30.1-1
> ii  dconf-cli0.30.1-2
> ii  dconf-gsettings-backend [gsettings-backend]  0.30.1-2
> ii  gir1.2-gtk-3.0   3.24.5-1
> ii  gir1.2-ibus-1.0  1.5.19-4+deb10u1
> ii  libatk1.0-0  2.30.0-2
> ii  libc62.28-10
> ii  libcairo21.16.0-4
> ii  

Bug#914704: ibus: candidate window appears at bottom

2019-10-16 Thread Antoine Beaupre
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
QT4_IM_MODULE=ibus
QT_IM_MODULE=xim
WAYLAND_DISPLAY=
XDG_CURRENT_DESKTOP=GNOME
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=lightdm-xsession
XDG_SESSION_ID=671
XDG_SESSION_TYPE=x11

== ls -l /usr/lib/ibus/ ==
total 1972K
-rwxr-xr-x 1 root root  22752 Sep 10 17:27 ibus-dconf
-rwxr-xr-x 1 root root 954696 Feb  6  2019 ibus-engine-libpinyin
-rwxr-xr-x 1 root root 227912 Sep 18  2018 ibus-engine-pinyin
-rwxr-xr-x 1 root root  14560 Sep 10 17:27 ibus-engine-simple
-rwxr-xr-x 1 root root 157920 Sep 10 17:27 ibus-extension-gtk3
-rwxr-xr-x 1 root root  88288 Sep 10 17:27 ibus-portal
-rwxr-xr-x 1 root root   1164 Feb  6  2019 ibus-setup-libpinyin
-rwxr-xr-x 1 root root   1059 Sep 18  2018 ibus-setup-pinyin
-rwxr-xr-x 1 root root 116968 Sep 10 17:27 ibus-ui-emojier
-rwxr-xr-x 1 root root 309536 Sep 10 17:27 ibus-ui-gtk3
-rwxr-xr-x 1 root root 100192 Sep 10 17:27 ibus-x11

== dpkg-query -l 'ibus*' ==
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version Architecture Description
+++-==-===--=
ii  ibus   1.5.19-4+deb10u1amd64Intelligent 
Input Bus - core
un  ibus-anthy  (no 
description available)
ii  ibus-clutter:amd64 0.0+git20090728.a936bacf-5.1+b2 amd64ibus input 
method framework for clutter
un  ibus-doc(no 
description available)
un  ibus-el (no 
description available)
un  ibus-googlepinyin   (no 
description available)
ii  ibus-gtk:amd64 1.5.19-4+deb10u1amd64Intelligent 
Input Bus - GTK+2 support
ii  ibus-gtk3:amd641.5.19-4+deb10u1amd64Intelligent 
Input Bus - GTK+3 support
ii  ibus-libpinyin 1.11.0-1amd64Intelligent 
Pinyin engine based on libpinyin for IBus
ii  ibus-pinyin1.5.0-5 amd64Pinyin 
engine for IBus
un  ibus-qt4(no 
description available)

-- System Information:
Debian Release: 10.1
  APT prefers stable-debug
  APT policy: (500, 'stable-debug'), (500, 'stable'), (1, 'experimental'), (1, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ibus depends on:
ii  adwaita-icon-theme   3.30.1-1
ii  dconf-cli0.30.1-2
ii  dconf-gsettings-backend [gsettings-backend]  0.30.1-2
ii  gir1.2-gtk-3.0   3.24.5-1
ii  gir1.2-ibus-1.0  1.5.19-4+deb10u1
ii  libatk1.0-0  2.30.0-2
ii  libc62.28-10
ii  libcairo21.16.0-4
ii  libdconf10.30.1-2
ii  libgdk-pixbuf2.0-0   2.38.1+dfsg-1
ii  libglib2.0-0 2.58.3-2+deb10u1
ii  libgtk-3-0   3.24.5-1
ii  libibus-1.0-51.5.19-4+deb10u1
ii  libnotify4   0.7.7-4
ii  libpango-1.0-0   1.42.4-7~deb10u1
ii  libpangocairo-1.0-0  1.42.4-7~deb10u1
ii  librsvg2-common  2.44.10-2.1
ii  libx11-6 2:1.6.7-1
ii  libxi6   2:1.7.9-1
ii  python3  3.7.3-1
ii  python3-gi   3.30.4-1

Versions of packages ibus recommends:
ii  ibus-clutter  0.0+git20090728.a936bacf-5.1+b2
ii  ibus-gtk  1.5.19-4+deb10u1
ii  ibus-gtk3 1.5.19-4+deb10u1
pn  ibus-qt4  
ii  im-config 0.43-1
ii  libqt5gui55.11.3+dfsg1-1

Versions of 

Bug#914704: ibus: candidate window appears at bottom

2018-11-26 Thread Nicholas
Package: ibus
Version: 1.5.14-3
Severity: normal

Dear Maintainer,

   * What led up to the situation?

I installed ibus-libpinyin to enable pinyin input.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

1. Restart GNOME session and computer
2. Fiddle with settings through ibus-setup
3. Installed ibus-gtk, ibus-gtk3

   * What was the outcome of this action?

The ibus candidate window still appears at the bottom instead of near the input
field itself.

   * What outcome did you expect instead?

Candidate window appearing just slightly below input field like in this picture
(https://user-
images.githubusercontent.com/105929/37892260-355078e8-3112-11e8-809d-48bad7c3a395.png).


I found two askubuntu posts detailing the same thing with no working solutions.
https://askubuntu.com/questions/549900/ibs-chinese-pinyin-input-candidates-
appear-at-bottom-of-screen
https://askubuntu.com/questions/725239/the-ibus-candidate-window-appears-at-
the-bottom-of-wps-office



-- 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 ibus ibus ibus
XMODIFIERS=@im=ibus
GTK_IM_MODULE=xim
QT4_IM_MODULE=xim
QT_IM_MODULE=ibus
XDG_DATA_DIRS=/usr/share/gnome:/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_MENU_PREFIX=gnome-
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

ls -l /usr/lib/ibus/
total 1140
-rwxr-xr-x 1 root root  18504 May 20  2017 ibus-dconf
-rwxr-xr-x 1 root root 817288 Dec 17  2015 ibus-engine-libpinyin
-rwxr-xr-x 1 root root  14408 May 20  2017 ibus-engine-simple
-rwxr-xr-x 1 root root   1163 Dec 17  2015 ibus-setup-libpinyin
-rwxr-xr-x 1 root root 211080 May 20  2017 ibus-ui-gtk3
-rwxr-xr-x 1 root root  91848 May 20  2017 ibus-x11

-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ibus depends on:
ii  adwaita-icon-theme   3.22.0-1+deb9u1
ii  dconf-cli0.26.0-2+b1
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-2+b1
ii  gir1.2-gtk-3.0   3.22.11-1
ii  gir1.2-ibus-1.0  1.5.14-3
ii  libatk1.0-0  2.22.0-1
ii  libc62.24-11+deb9u3
ii  libcairo21.14.8-1
ii  libdconf10.26.0-2+b1
ii  libgdk-pixbuf2.0-0   2.36.5-2+deb9u2
ii  libglib2.0-0 2.50.3-2
ii  libgtk-3-0   3.22.11-1
ii  libibus-1.0-51.5.14-3
ii  libnotify4   0.7.7-2
ii  libpango-1.0-0   1.40.5-1
ii  libpangocairo-1.0-0  1.40.5-1
ii  librsvg2-common  2.40.16-1+b1
ii  libx11-6 2:1.6.4-3+deb9u1
ii  libxi6   2:1.7.9-1
ii  python3  3.5.3-1
ii  python3-gi   3.22.0-2

Versions of packages ibus recommends:
ii  ibus-gtk1.5.14-3
ii  ibus-gtk3   1.5.14-3
ii  im-config   0.30-1
ii  libqt5gui5  5.7.1+dfsg-3+b1

Versions of packages ibus suggests:
pn  ibus-clutter  
pn  ibus-doc  
pn  ibus-qt4  
ii  libqt5gui55.7.1+dfsg-3+b1

-- no debconf information