Bug 1994700

Summary: Candidate list at wrong position, cut off at the bottom of the screen or invisible
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: adscvr, fmuellner, gnome-sig, i18n-bugs, jadahl, mfabian, otaylor, petersen, philip.wyett, shawn.p.huang, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-shell-41~rc.1-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2008359 (view as bug list) Environment:
Last Closed: 2021-09-14 05:53:54 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:    
Bug Blocks: 2008359    
Attachments:
Description Flags
Screenshot showing how the candidate list is cut off
none
Video showing the problem
none
Video showing the problem using XFCE
none
Works correctly in Gnome Wayland
none
Video showing the problem on Wayland, ibus-anthy, ibus-libpinyin, ibus-typing-booster none

Description Mike FABIAN 2021-08-17 17:54:27 UTC
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.

Comment 1 Mike FABIAN 2021-08-17 17:55:54 UTC
Created attachment 1814929 [details]
Screenshot showing how the candidate list is cut off

Ibus-anthy candidate list cut off at the bottom.

Comment 2 Mike FABIAN 2021-08-17 18:01:27 UTC
Created attachment 1814931 [details]
Video showing the problem

Comment 3 Mike FABIAN 2021-08-17 18:14:35 UTC
Same problem when using XFCE.

Comment 4 Mike FABIAN 2021-08-17 18:16:45 UTC
Created attachment 1814935 [details]
Video showing the problem using XFCE

Comment 5 Mike FABIAN 2021-08-17 18:18:43 UTC
Created attachment 1814939 [details]
Works correctly in Gnome Wayland

Comment 6 fujiwara 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?

Comment 7 Mike FABIAN 2021-08-24 13:46:48 UTC
No, I didn’t scale anything. The screenshots and the videos show the whole screen 1024x768 pixels.

Comment 8 Mike FABIAN 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.

Comment 9 Mike FABIAN 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.

Comment 10 Mike FABIAN 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.

Comment 11 Mike FABIAN 2021-08-27 17:55:40 UTC
Created attachment 1818426 [details]
Video showing the problem on Wayland, ibus-anthy, ibus-libpinyin, ibus-typing-booster

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 ~]$

Comment 12 Mike FABIAN 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 ~]$

Comment 13 fujiwara 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.

Comment 14 fujiwara 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