Bug 2008359

Summary: [rhel9] ibus candidate list opens far below the cursor position drastically
Product: Red Hat Enterprise Linux 9 Reporter: fujiwara <tfujiwar>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED ERRATA QA Contact: Bhushan Barve <bbarve>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: bbarve, eng-i18n-bugs, hujq, mfabian, tfujiwar, vtq-gnome
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ibus-1.5.25-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1994700 Environment:
Last Closed: 2022-05-17 12:48:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1994700    
Bug Blocks:    
Deadline: 2021-10-11   

Description fujiwara 2021-09-28 04:02:01 UTC
+++ This bug was initially created as a clone of Bug #1994700 +++

Fedora-Workstation-Live-x86_64-35-20210814.n.0.iso
ibus-1.5.24-13.fc35.x86_64
gnome-shell-40.3-2.fc35.x86_64

Using Gnome Xorg.

When typing somewhere, the candidate lists opens far below the cursor position.

When typing near the bottom of the screen, the candidate list is cut off at the bottom

When typing very close to the bottom of the screen, the candidate list even becomes invisible.

Tested with ibus-anthy and ibus-typing-booster.

--- Additional comment from Mike FABIAN on 2021-08-17 17:55:54 UTC ---

Ibus-anthy candidate list cut off at the bottom.

--- Additional comment from Mike FABIAN on 2021-08-17 18:01:27 UTC ---



--- Additional comment from Mike FABIAN on 2021-08-17 18:14:35 UTC ---

Same problem when using XFCE.

--- Additional comment from Mike FABIAN on 2021-08-17 18:16:45 UTC ---



--- Additional comment from Mike FABIAN on 2021-08-17 18:18:43 UTC ---



--- Additional comment from fujiwara on 2021-08-19 07:40:09 UTC ---

(In reply to Mike FABIAN from comment #1)
> Created attachment 1814929 [details]
> Screenshot showing how the candidate list is cut off
> 
> Ibus-anthy candidate list cut off at the bottom.

I cannot reproduce your problem with the same gnome-shell and ibus versions in GNOME Xorg in Fedora 35.

Did you change a scaling or something from your screenshot?

--- Additional comment from Mike FABIAN on 2021-08-24 13:46:48 UTC ---

No, I didn’t scale anything. The screenshots and the videos show the whole screen 1024x768 pixels.

--- Additional comment from Mike FABIAN on 2021-08-24 14:43:52 UTC ---

Still happens today on Fedora-Workstation-Live-x86_64-35-20210814.n.0.iso after “dnf update” and reboot.

--- Additional comment from Mike FABIAN on 2021-08-27 15:34:39 UTC ---

Now I have 

Fedora-Workstation-Live-x86_64-35-20210825.n.0.iso
ibus-1.5.25-1.fc35.x86_64
gnome-shell-41~beta-1.fc35.x86_64

and the problem is still 100% reproducible.

--- Additional comment from Mike FABIAN on 2021-08-27 17:53:20 UTC ---

And now it doesn’t even work correctly on Wayland anymore!

On Xorg, the candidate list is far below the cursor position.

On Wayland, the candidte list is far to the right of the cursor position, *if* the cursor position is not at the very left of the screen.

See video.

--- Additional comment from Mike FABIAN on 2021-08-27 17:55:40 UTC ---

Fedora-Workstation-Live-x86_64-35-20210825.n.0.iso with all updates.

[mfabian@fedora ~]$ rpm  -q ibus
ibus-1.5.25-1.fc35.x86_64
[mfabian@fedora ~]$ rpm -q gnome-shell 
gnome-shell-41~beta-1.fc35.x86_64
[mfabian@fedora ~]$ rpm -q mutter 
mutter-41~beta-1.fc35.x86_64
[mfabian@fedora ~]$

--- Additional comment from Mike FABIAN on 2021-08-31 04:51:07 UTC ---

The problem is still  unchanged after an installation of
Fedora-Workstation-Live-x86_64-35-20210829.n.0.iso
and then using “sudo dnf update” to install all current updates.

[mfabian@fedora ~]$ rpm -q ibus
ibus-1.5.25-1.fc35.x86_64
[mfabian@fedora ~]$ rpm  -q gnome-shell
gnome-shell-41~beta-1.fc35.x86_64
[mfabian@fedora ~]$ rpm -q mutter
mutter-41~beta-1.fc35.x86_64
[mfabian@fedora ~]$

--- Additional comment from fujiwara on 2021-09-01 04:03:13 UTC ---

Thank you for the report.
Seems Fedora 35 GDB does not work for me and when `gdb --pid $PID` is called for gedit, gedit unload im-ibus.so with GDB and I could not reproduce this issue.

Now I fixed a regression of IBus GTK3 module. 
https://bodhi.fedoraproject.org/updates/FEDORA-2021-66ac3ff006

But seems the X coordinate is still not good in GNOME 41 Xorg. I will compare F34 and F35 GNOME.

--- Additional comment from fujiwara on 2021-09-03 09:11:42 UTC ---

I confirmed gnome-shell upstream already has the fix.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1969

Comment 16 errata-xmlrpc 2022-05-17 12:48:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: ibus), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2402