Hi jbicha,

I was able to migrate Mozc to GTK3 and remove the dependency on GTK2
while investigating the issue with the existing GTK3 patch.

Some observations about the current situation:

* The only component depending on GTK2 is mozc_renderer.
* In Ubuntu + Wayland + IBus, mozc_renderer is not used because IBus itself 
displays the candidate window.
* mozc_renderer is only used in X11 sessions with IBus.
* Because of this, the issue where the candidate window appears empty was 
reproducible in environments such as Xubuntu (X11).

The reason the candidate window appeared empty seems to be two issues in
the existing GTK3 patch:

1. The event used to create the candidate window was still using an old 
interface.
2. The drawing logic for the candidate window was not working correctly.

I fixed these issues and verified the behavior in the following
environments:

* Ubuntu (Wayland)
* Xubuntu (IBus, X11)
* Xubuntu (Fcitx5, X11)

I am attaching a debdiff containing the fixes. Could you please sponsor
this debdiff?

Any feedback would be appreciated.


** Changed in: mozc (Ubuntu)
       Status: New => In Progress

** Patch added: "debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mozc/+bug/1736607/+attachment/5951819/+files/fix-1736607.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1736607

Title:
  mozc-server should stop using gtk2

To manage notifications about this bug go to:
https://bugs.launchpad.net/mozc/+bug/1736607/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to