Bug 2060392

Summary: ibus candidate list at wrong position in gnome-text-editor, sometimes even off screen
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: gnome-text-editorAssignee: Link Dupont <link>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: gnome-sig, klember, link, mfabian, ngompa13, petersen, tfujiwar, vtq-gnome
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-27 08:08:51 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:
Attachments:
Description Flags
Screenshot showing the wrong position of the candidate list using ibus-anthy
none
Screenshot showing the wrong position of the candidate list using ibus-anthy
none
Video showing the problem using ibus-anthy
none
The problem also occurs on Gnome Wayland
none
Screenshot showing the wrong position of the candidate list using ibus-anthy in gtk4-demo
none
gtk4-demo-application on Wayland with ibus-libpinyin
none
gnome-text-edit/gnome-control-center on Xorg or on Wayland with GTK_IM_MODULE=ibus and GDK_BACKEND=x11
none
gnome-text-edit/gnome-control-center on Xorg or on Wayland with GTK_IM_MODULE=ibus and GDK_BACKEND=x11
none
gtk4-demo-application on Xorg or on Wayland with GTK_IM_MODULE=ibus and GDK_BACKEND=x11
none
gnome-text-edit/gnome-control-center on Wayland none

Description Mike FABIAN 2022-03-03 12:27:18 UTC
Created attachment 1863975 [details]
Screenshot showing the wrong position of the candidate list using ibus-anthy

- Fedora-Workstation-Live-x86_64-36-20220216.n.0.iso installed in qemu-kvm

- all current updates installed.

- Gnome (Xorg) desktop

- gnome-text-editor-42~alpha2-1.fc36.x86_64

When typing into gnome-text-editor with any ibus input method, the candidate list is far below the cursor position.

Seems to be always far below the gnome-text-editor window, if the lower edge of the gnome-text-editor window is low enough, the candidate list is not visible anymore.

See attached screenshot.

Comment 1 Mike FABIAN 2022-03-03 12:28:44 UTC
Created attachment 1863976 [details]
Screenshot showing the wrong position of the candidate list using ibus-anthy

Comment 2 Mike FABIAN 2022-03-03 12:30:51 UTC
Created attachment 1863977 [details]
Video showing the problem using ibus-anthy

Comment 3 Mike FABIAN 2022-03-03 12:36:55 UTC
Created attachment 1863978 [details]
The problem also occurs on Gnome Wayland

Comment 4 Mike FABIAN 2022-03-03 16:09:34 UTC
Created attachment 1864038 [details]
Screenshot showing the wrong position of the candidate list using ibus-anthy in gtk4-demo

The problem is reproducible in gtk4-demos as well.

So it is probably a gtk4 problem and not specific to gnome-text-editor.

Comment 5 vtq 2022-03-08 08:43:04 UTC
I can reproduce this issue with Fedora-Workstation-Live-x86_64-36-20220307.n.0.iso image running on bare metal:
ibus-1.5.25-13.fc36
ibus-gtk4-1.5.25-13.fc36
gtk4-4.6.1-2.fc36

The issue seems to be slightly different for gtk4-demo-application and gnome-text-edit/gnome-control-center. It also depends on Wayland or Xorg environment, although Wayland plus GTK_IM_MODULE=ibus and GDK_BACKEND=x11 environment variables behaves the same as Xorg.

gtk4-demo-application, Wayland:
The candidate character panel is to the upper left of where it should be and covers the cursor and the text.

gnome-text-edit/gnome-control-center, Wayland:
Similar to above. In addition, the IME can't be switched on or off by pressing the Shift key.

gtk4-demo-application, Xorg or Wayland plus env vars:
The candidate character panel is far away to the lower right of where it should be and sometimes outside the window.

gnome-text-edit/gnome-control-center, Xorg or Wayland plus env vars:
The candidate character panel does not show up at all, although the text input actually works if I choose the word by pressing number keys. Shift key on/off switch also works.

Comment 6 vtq 2022-03-08 08:43:56 UTC
Created attachment 1864531 [details]
gtk4-demo-application on Wayland with ibus-libpinyin

Comment 7 vtq 2022-03-08 08:44:45 UTC
Created attachment 1864532 [details]
gnome-text-edit/gnome-control-center on Xorg or on Wayland with GTK_IM_MODULE=ibus and GDK_BACKEND=x11

Comment 8 vtq 2022-03-08 08:46:07 UTC
Created attachment 1864533 [details]
gnome-text-edit/gnome-control-center on Xorg or on Wayland with GTK_IM_MODULE=ibus and GDK_BACKEND=x11

Comment 9 vtq 2022-03-08 08:47:51 UTC
Created attachment 1864535 [details]
gtk4-demo-application on Xorg or on Wayland with GTK_IM_MODULE=ibus and GDK_BACKEND=x11

Comment 10 vtq 2022-03-08 08:49:38 UTC
Created attachment 1864536 [details]
gnome-text-edit/gnome-control-center on Wayland

Comment 11 Ben Cotton 2023-04-25 16:54:46 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 12 fujiwara 2023-04-27 08:08:51 UTC
This issue would be relative with GTK_IM_MODULE=ibus but not GTK_IM_MODULE=wayland .

*** This bug has been marked as a duplicate of bug 2074360 ***