Bug 2095164 - Preedit segment color of ibus-anthy is drawn in konsole, kwrite, kate
Summary: Preedit segment color of ibus-anthy is drawn in konsole, kwrite, kate
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kate
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-09 07:47 UTC by Mike FABIAN
Modified: 2023-06-09 16:09 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
Video showing the the conversion region is visible in some places but invisible in konsole, kwrite, kate (329.20 KB, video/mp4)
2022-06-09 07:47 UTC, Mike FABIAN
no flags Details
kwrite screenshot (683.25 KB, image/png)
2023-06-09 15:47 UTC, fujiwara
no flags Details
qtbase/examples/widgets/mainwindows/application screenshot (945.29 KB, image/png)
2023-06-09 15:48 UTC, fujiwara
no flags Details


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 470833 0 NOR UNCONFIRMED kate and kwrite does not draw IBus pre-edit segment color 2023-06-09 16:09:26 UTC
Qt Bug Tracker QTBUG-114141 0 Not Evaluated Reported IBus pre-edit segment color is not drawn 2023-06-01 10:54:58 UTC

Description Mike FABIAN 2022-06-09 07:47:55 UTC
Created attachment 1888253 [details]
Video showing  the the conversion region is visible in some places but invisible in konsole, kwrite, kate

Using Fedora-Workstation-Live-x86_64-36-1.2.iso installed in qemu-kvm with all current updates.

kwrite, kate, and konsole, do not show the conversion region when using ibus-anthy

konsole5-22.04.1-1.fc36.x86_64
kwrite-22.04.1-1.fc36.x86_64
kate-21.12.2-1.fc36.x86_64

It does not matter whether these programs are used in
Plasma(X11), Plasma(Wayland), Gnome(Xorg), Gnome(Wayland), the behaviour is always the same, the conversion region is never visible.

In konsole the behaviour is even worse because not even the cursor is shown at the start of the conversion region. 

When testing in Plasma(Wayland) or Plasma(X11) and typing with ibus-anthy into the search field of the KDE control center, the conversion region is coloured and thus visible. It is also visible when typing into the entry field for a command which opens with Alt+F2. So there are only some programs in KDE where it does not work like konsole, kwrite, kate, ... whereas it works in other places.

See the attached video.

Comment 1 fujiwara 2022-06-21 03:37:29 UTC
Seems totem does not have the codec.
Which application do you use your attached video?

Comment 2 Ben Cotton 2023-04-25 17:23:23 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 3 fujiwara 2023-04-28 07:21:45 UTC
(In reply to Mike FABIAN from comment #0)
> It does not matter whether these programs are used in
> Plasma(X11), Plasma(Wayland), Gnome(Xorg), Gnome(Wayland), the behaviour is

I cannot reproduce your issue in Plasma X11.

Probably you could exit ibus-daemon and run ibus-daemon again by manual and ibus-ui-gtk3 should be used.
Wayland color issue has been reported separately and known issue.

Comment 4 Mike FABIAN 2023-05-15 09:46:03 UTC
I can still reproduce this exactly as before in Plasma X11 on Fedora 38. 

$ rpm -q konsole5 kwrite kate
konsole5-22.12.3-1.fc38.x86_64
kwrite-22.12.3-1.fc38.x86_64
kate-22.12.3-1.fc38.x86_64

I don't think it is an ibus problem though as it seem to affect onl konsole5, kwrite, and kate.

Comment 5 fujiwara 2023-06-01 10:54:30 UTC
OK, I didn't understand in what you meant the conversion region even though I watched your movie.
Now I understood you meant the pre-edit segment color against whole the pre-edit color.

Comment 6 fujiwara 2023-06-09 15:36:22 UTC
I confirmed this issue does not happen with qtbase/examples/widgets/mainwindows/application with qtbase upstream.
This issue might be caused by kwrite or konsole.
Transferring to kwrite

Comment 7 fujiwara 2023-06-09 15:47:01 UTC
Created attachment 1969988 [details]
kwrite screenshot

Comment 8 fujiwara 2023-06-09 15:48:08 UTC
Created attachment 1969989 [details]
qtbase/examples/widgets/mainwindows/application screenshot


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