Bug 2013323 - Cursor position and conversion regioni of ibus-anthy are invisible in Google Documents (both in firefox and google-chrome)
Summary: Cursor position and conversion regioni of ibus-anthy are invisible in Google...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-12 15:17 UTC by Mike FABIAN
Modified: 2023-04-27 07:50 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-27 07:50:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Video showing the wrongly displayed cursor position using ibus-anthy in Google Documents (382.38 KB, video/mp4)
2021-10-12 15:17 UTC, Mike FABIAN
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 1769777 0 P3 UNCONFIRMED [GTK][IBus] preedit segment color is not shown with google docs 2022-05-18 00:51:14 UTC

Description Mike FABIAN 2021-10-12 15:17:42 UTC
Created attachment 1832255 [details]
Video showing the wrongly displayed cursor position using ibus-anthy in Google Documents

I did choose component ibus, although this is likely not an ibus bug but a problem in google docs, but I wanted to report it somehow, maybe something can be done to improve this:

Fedora-Workstation-Live-x86_64-35-20210829.n.0.iso installed in qemu-kvm with all current updates.
firefox-93.0-2.fc35.x86_64
google-chrome-unstable-96.0.4662.6-1.x86_64
ibus-1.5.25-4.fc35.x86_64
ibus-anthy-1.5.13-1.fc35.x86_64

See the attached video.

In the video I type わたしのなまえはやまだです first in gedit to show how it should work. After typing that hiragana, I type space to start conversion. The current conversion region is indicated by the cursor position and a purple background color. When the conversion to kanji is startet, at first the cursor position is at the left of the preedit and the conversion region is わたしの. I can then move the conversion region right with arrow-right and see that it moves because the blue background and the cursor position moves.

Then I do the same in Google Documents (both in firefox and google-chrome, that makes no difference):

- The cursor position is *always* shown at the right end of the preedit
- The purple background color of the conversion region is not there

One can move the conversion region around using the arrow keys, one just cannot see where the conversion region currently is the purple background is missing *and* the cursor position is *always* at the right end of the preedit.

The same problem happens when trying to use ibus-typing-booster with the "inline completion" option in Google Documents. The color of the inline completion is missing *and* the cursor position is always at the end of the preedit, so one cannot see where the inline completion is and whether it has been accepted or not.

In gedit in wayland, the colors don't work either, but at least the cursor position is shown correctly. When only the cursor position is shown but no color, it is  not great at least somewhat usable. By carefully watching the cursor one can still see what is going on. But when the cursor positon is always at the right of preedit *and* there is no colour, this is completely unusable.

Comment 1 fujiwara 2021-10-26 08:09:04 UTC
I think libreoffice uses ibus-x11 and this is caused by libreoffice.

Comment 2 Caolan McNamara 2021-10-26 08:47:23 UTC
This was a bug about google document hosted in firefox or chromium so libreoffice isn't relevant for the original bug report

Comment 3 fujiwara 2021-10-26 11:07:40 UTC
Oops sorry, I tested the wrong component.

Comment 4 Ben Cotton 2022-05-12 16:37:04 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
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 '34'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 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 5 fujiwara 2022-05-18 00:51:14 UTC
@Mike FABIAN:

I reported the issue to the upstream. Could you check that you observe the same issue?

The behavior is different between GNOME Xorg and Wayland in Fedora 36.
In both case, you need to export GTK_IM_MODULE=ibus
The preedit segment color is not shown in GNOME Xorg but it's shown in GNOME Wayland in Fedora 36.
The color is not shown in GNOME Wayland in Fedora 35.

Comment 6 Martin Stransky 2022-06-07 11:54:02 UTC
Does it affect all Firefox edits or just google docs?

Comment 7 Mike FABIAN 2022-06-07 13:22:39 UTC
(In reply to Martin Stransky from comment #6)
> Does it affect all Firefox edits or just google docs?

Just google docs, for example here in the bugzilla entry fields it works fine.

Comment 8 Mike FABIAN 2022-06-07 14:05:31 UTC
(In reply to Mike FABIAN from comment #7)
> (In reply to Martin Stransky from comment #6)
> > Does it affect all Firefox edits or just google docs?
> 
> Just google docs, for example here in the bugzilla entry fields it works
> fine.

It happens both in firefox and in google-chrome, so it might be a problem in google docs instead of a problem in the browsers. 
But if that is the case, I have no idea how to open a bug report against google docs.

Comment 9 Mike FABIAN 2022-06-07 14:10:09 UTC
Both in firefox and google-chrome the conversion region and cursor position of ibus-anthy are visiable in other places (bugzilla entries, URL bar, google search entry) but not in google docs.

Comment 10 Martin Stransky 2022-06-07 15:52:14 UTC
Then it looks like a problem with google docs and not with Firefox itself.

Comment 11 fujiwara 2022-06-08 05:30:16 UTC
(In reply to Martin Stransky from comment #10)
> Then it looks like a problem with google docs and not with Firefox itself.

I think it should be evaluated whether firefox's IM handling has an issue or firefox can provide the handling to each widget.
I wonder if firefox's IM handling has an issue.

Comment 12 Ben Cotton 2023-04-25 16:45:15 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 13 fujiwara 2023-04-27 07:50:10 UTC
It would be good to be handled by upstream.


Note You need to log in before you can comment on or make changes to this bug.