https://bugzilla.redhat.com/show_bug.cgi?id=2060988
Bug ID: 2060988 Summary: ibus lookup table almost always badly positioned in Plasma(Wayland) Product: Fedora Version: 36 Status: NEW Component: ibus Assignee: tfujiwar@redhat.com Reporter: mfabian@redhat.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, shawn.p.huang@gmail.com, tfujiwar@redhat.com Target Milestone: --- Classification: Fedora
Created attachment 1864184 --> https://bugzilla.redhat.com/attachment.cgi?id=1864184&action=edit Video showing that the lookup table usually pops up far away from the cursor positon in gedit, kwrite, konsole, LibreOfficeWriter
Fedora-Workstation-Live-x86_64-36-20220216.n.0.iso installed in qemu-kvm with all current updates.
The ibus lookup table appears at weird positions far away from the cursor almost always on Plasma (Wayland).
I tested:
- gedit - kwrite - konsole - LibreOffice writer - xterm
For xterm the lookup table appears where it should, close to the cursor position.
For the others the lookup table almost always appears far away from the cursor position.
See attached video.
https://bugzilla.redhat.com/show_bug.cgi?id=2060988
--- Comment #1 from Mike FABIAN mfabian@redhat.com --- Created attachment 1864185 --> https://bugzilla.redhat.com/attachment.cgi?id=1864185&action=edit Screenshot from Plasma(Xorg) showing wrong position of lookup table using konsole
This screenshot shows that the position of the lookup table is sometimes badly positioned on Plasma(Xorg) as well, although this seems rare.
I could reproduce such a bad positioning on Plasma(Xorg) only using konsole and even with konsole it happens rarely and seems to depend on where exactly I place the konsole window.
On Plasma(Wayland) the positioning is almost always wrong, except when using xterm.
https://bugzilla.redhat.com/show_bug.cgi?id=2060988
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |DUPLICATE Last Closed| |2022-03-07 07:17:43
--- Comment #2 from fujiwara tfujiwar@redhat.com --- Theorically this could not be fixed in IBus side in Wayland since the display coordinate is mamanged by Wayland compositor. You could also see the same issue in GNOME Wayland with ibus module instead of wayland module. Closing this as duplicated of bug #2054719 until we get better idea.
*** This bug has been marked as a duplicate of bug 2054719 ***
https://bugzilla.redhat.com/show_bug.cgi?id=2060988
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |NEW Resolution|DUPLICATE |--- Keywords| |Reopened
--- Comment #3 from fujiwara tfujiwar@redhat.com --- Ah, ok. We may enhance the issue using Xorg coordinate a little to follow the change of IBus GTK IM module if Xwayland is available.
https://bugzilla.redhat.com/show_bug.cgi?id=2060988
--- Comment #4 from vtq vtq-gnome@outlook.com --- (In reply to fujiwara from comment #2)
Theorically this could not be fixed in IBus side in Wayland since the display coordinate is mamanged by Wayland compositor. You could also see the same issue in GNOME Wayland with ibus module instead of wayland module.
With upstream patches https://codereview.qt-project.org/c/qt/qtbase/+/445920 and https://codereview.qt-project.org/c/qt/qtbase/+/447069 applied to Qt, Qt applications running in native Wayland backend now work properly in GNOME Wayland environment using ibus im-module, showing the window at the correct position. They previously also had this issue, see https://bugzilla.redhat.com/show_bug.cgi?id=2061664.
I don't know if the patches would also fix the issue in Plasma Wayland environment.
https://bugzilla.redhat.com/show_bug.cgi?id=2060988
--- Comment #5 from vtq vtq-gnome@outlook.com --- Created attachment 1945679 --> https://bugzilla.redhat.com/attachment.cgi?id=1945679&action=edit IBus showing the lookup table at correct position for Qt apps in GNOME Wayland, after applying Qt upstream patches
https://bugzilla.redhat.com/show_bug.cgi?id=2060988
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Github | |ibus/ibus/issues/2408
--- Comment #6 from fujiwara tfujiwar@redhat.com --- (In reply to vtq from comment #4)
(In reply to fujiwara from comment #2)
Theorically this could not be fixed in IBus side in Wayland since the display coordinate is mamanged by Wayland compositor. You could also see the same issue in GNOME Wayland with ibus module instead of wayland module.
With upstream patches https://codereview.qt-project.org/c/qt/qtbase/+/445920 and https://codereview.qt-project.org/c/qt/qtbase/+/447069 applied to Qt, Qt applications running in native Wayland backend now work properly in GNOME Wayland environment using ibus im-module, showing the window at the correct position. They previously also had this issue, see https://bugzilla.redhat.com/show_bug.cgi?id=2061664.
I don't know if the patches would also fix the issue in Plasma Wayland environment.
No, your patch is not relative with this issue and this is not a simple scaling issue likes GNOME. I'm working on this issue.
https://bugzilla.redhat.com/show_bug.cgi?id=2060988
--- Comment #7 from Ben Cotton bcotton@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=2060988
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|36 |38
https://bugzilla.redhat.com/show_bug.cgi?id=2060988
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|38 |39 Resolution|--- |CURRENTRELEASE Status|NEW |CLOSED Last Closed|2022-03-07 07:17:43 |2023-09-14 05:29:57
--- Comment #8 from fujiwara tfujiwar@redhat.com --- Now IBus panel implements Wayland input-method which can put the candidate popup window with the right position in Plasma Wayland in Fedora 39. https://fedoraproject.org/wiki/Changes/IBus_1.5.29#Setup
i18n-bugs@lists.fedoraproject.org