After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787664 - Set Mozc as default Gnome input method of Japan
Set Mozc as default Gnome input method of Japan
Status: RESOLVED FIXED
Product: gnome-desktop
Classification: Core
Component: libgnome-desktop
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-14 10:49 UTC by Zhao Qiang
Modified: 2020-11-25 01:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Modify Japanese input. (1013 bytes, patch)
2017-09-14 10:51 UTC, Zhao Qiang
none Details | Review
Patch to switch to kkc (1010 bytes, patch)
2017-09-15 10:21 UTC, Zhao Qiang
needs-work Details | Review
change default Japanese input-engine to "KKC" (1.02 KB, patch)
2017-10-01 16:18 UTC, Zhao Qiang
none Details | Review
Change default Japanese input engine to KKC. (1.11 KB, patch)
2017-10-09 07:23 UTC, Zhao Qiang
none Details | Review
Change default Japanese input engine to KKC. (1.11 KB, patch)
2017-10-10 10:02 UTC, Zhao Qiang
accepted-commit_now Details | Review
default-input-sources: Change default Japanese engine (1.16 KB, patch)
2017-10-17 08:26 UTC, Bastien Nocera
committed Details | Review

Description Zhao Qiang 2017-09-14 10:49:14 UTC
Currently, Anthy is stopped developing for several years, But Mozc is being used more and more widely in Japan Linux user.
Gnome-desktop has default-input-sources.h which are guiding the default input engine in Gnome desktop.
So, I want modify this to fit to the popular user habit.

Reference mozc on github: 
https://github.com/google/mozc/commits/master
and anthy on osdn:
https://osdn.net/projects/anthy/releases/
Comment 1 Zhao Qiang 2017-09-14 10:51:24 UTC
Created attachment 359777 [details] [review]
Modify Japanese input.
Comment 2 Rui Matos 2017-09-14 12:21:18 UTC
I'd like to get more input about this change. Should we switch to mozc by default? I think fedora is using kkc by default already, maybe we should move upstream's default to that instead? Any other options?
Comment 3 Zhao Qiang 2017-09-15 10:21:37 UTC
Created attachment 359840 [details] [review]
Patch to switch to kkc

(In reply to Rui Matos from comment #2)
> I'd like to get more input about this change. Should we switch to mozc by
> default? I think fedora is using kkc by default already, maybe we should
> move upstream's default to that instead? Any other options?

Hi Rui:

The attachment is the patch switch the default Japanese engine to KKC.
and, I also glad to hear other people's opinion on this issue.
From my point of view, I feel Mozc is more powerful than KKC.
:-)
Comment 4 Takao Fujiwara 2017-09-15 10:53:30 UTC
I think mozc is not changed for linux at present.
And right. anthy has not been updated for a long time while ibus-anthy has been updated.
I'm not sure about kkc but I know we have an employee movement.
What I don't prefer mozc is which is based on QT UI and I'm not sure it follows ibus changes.
Comment 5 Zhao Qiang 2017-09-18 02:34:58 UTC
(In reply to Takao Fujiwara from comment #4)
> I think mozc is not changed for linux at present.
> And right. anthy has not been updated for a long time while ibus-anthy has
> been updated.
> I'm not sure about kkc but I know we have an employee movement.
> What I don't prefer mozc is which is based on QT UI and I'm not sure it
> follows ibus changes.

Thanks!
Then, What should be the 1st prefer input-engine for Japanese in your mind?
Comment 6 Zhao Qiang 2017-09-20 03:18:19 UTC
From the user experience perspective, lots of Japanese users have used with Mozc, especially in Debian|Ubuntu|opensuse. They always install Mozc after default installation.
From the technical perspective: Yes, there have many works which didn't solve very well, like the integration with gnome stack. But these problems can be resolved if we really care about it.
And in my humble opinion, accommodate with the user's habit, Providing an easier desktop is more important.
Comment 7 Takao Fujiwara 2017-09-20 03:49:53 UTC
(In reply to Zhao Qiang from comment #6)
> They always install Mozc after default installation.

If the default installation does not include mozc, I don't think mozc is the best.
Also not sure how many people do.

(In reply to Zhao Qiang from comment #5)
> Then, What should be the 1st prefer input-engine for Japanese in your mind?

I think every input method has pros and cons and not sure what is the primary.
But I prefer GTK UI.
Comment 8 Zhao Qiang 2017-09-20 13:38:44 UTC
(In reply to Takao Fujiwara from comment #7)
> (In reply to Zhao Qiang from comment #5)
> > Then, What should be the 1st prefer input-engine for Japanese in your mind?
> 
> I think every input method has pros and cons and not sure what is the
> primary.
> But I prefer GTK UI.

Okay, understood now.
Then, I think KKC is written in Vala and C and is absolutely Gtk based. Do you agree with KKC? just like what the Fedora does.
Comment 9 Zhao Qiang 2017-09-26 05:52:44 UTC
(In reply to Zhao Qiang from comment #8)
> (In reply to Takao Fujiwara from comment #7)
> > (In reply to Zhao Qiang from comment #5)
> 
> Okay, understood now.
> Then, I think KKC is written in Vala and C and is absolutely Gtk based. Do
> you agree with KKC? just like what the Fedora does.

Yes, you have told me that "Not sure what is the primary."(Japanese).
But in fact, I mean, Do you have any *concern* on KKC?
and also, Does any other people have objection on this?

I think we'd better make some decisions at the end.
Comment 10 Takao Fujiwara 2017-09-26 07:48:51 UTC
(In reply to Zhao Qiang from comment #9)
> (In reply to Zhao Qiang from comment #8)
> > (In reply to Takao Fujiwara from comment #7)
> > > (In reply to Zhao Qiang from comment #5)
> > 
> > Okay, understood now.
> > Then, I think KKC is written in Vala and C and is absolutely Gtk based. Do
> > you agree with KKC? just like what the Fedora does.
> 
> Yes, you have told me that "Not sure what is the primary."(Japanese).
> But in fact, I mean, Do you have any *concern* on KKC?
> and also, Does any other people have objection on this?
> 
> I think we'd better make some decisions at the end.

It's fine with me.
However my concern is if ibus-kkc is maintained now.
Comment 11 Zhao Qiang 2017-09-27 08:50:22 UTC
(In reply to Takao Fujiwara from comment #10)
> (In reply to Zhao Qiang from comment #9)
> > (In reply to Zhao Qiang from comment #8)
> > > (In reply to Takao Fujiwara from comment #7)
> > > > (In reply to Zhao Qiang from comment #5)
> > > 
> 
> It's fine with me.
> However my concern is if ibus-kkc is maintained now.

ibus-kkc upstream is in https://github.com/ueno/ibus-kkc/commits/master, obviously, it is in maintaining now.
On the other hand, 
I think this decision isn't forever which means never changed. If KKC is stop maintained someday in future, then we can change to other engines which are most favor by Japanese people. 
And also, I'm volunteered to do the related works. :-)
Comment 12 Zhao Qiang 2017-09-29 03:02:05 UTC
Hi, Rui:

Do we still need to wait for other people's input? 
I suppose Takao can agree for KKC still in maintaining currently.
Comment 13 Rui Matos 2017-09-29 09:19:02 UTC
Review of attachment 359840 [details] [review]:

Please add a link to this bugzilla issue in the commit message (see other commit messages or use git-bz) and a little rational for the change would be nice as well.
Comment 14 Rui Matos 2017-09-29 09:20:35 UTC
Comment on attachment 359777 [details] [review]
Modify Japanese input.

>From 0aa674d8e1f5eb8d65f0703dca8284bbfb6b1901 Mon Sep 17 00:00:00 2001
>From: zhaoqiang <zhaoqiangx@gmail.com>
>Date: Thu, 14 Sep 2017 17:34:51 +0800
>Subject: [PATCH] Switch user's default input engine from anthy to mozc.
>
>---
> libgnome-desktop/default-input-sources.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/libgnome-desktop/default-input-sources.h b/libgnome-desktop/default-input-sources.h
>index b3430828..20d27cdf 100644
>--- a/libgnome-desktop/default-input-sources.h
>+++ b/libgnome-desktop/default-input-sources.h
>@@ -34,7 +34,7 @@ static DefaultInputSource default_input_sources[] =
>   { "he_IL",    "xkb",          "il" },
>   { "hi_IN",    "ibus",         "m17n:hi:inscript" },
>   { "it_IT",    "xkb",          "it" },
>-  { "ja_JP",    "ibus",         "anthy" },
>+  { "ja_JP",    "ibus",         "Japanese (Mozc)" },
>   { "kn_IN",    "ibus",         "m17n:kn:kgp" },
>   { "ko_KR",    "ibus",         "hangul" },
>   { "mai_IN",   "ibus",         "m17n:mai:inscript" },
>-- 
>2.13.0
>
Comment 15 Zhao Qiang 2017-09-29 10:47:19 UTC
(In reply to Rui Matos from comment #13)
> Review of attachment 359840 [details] [review] [review]:
> 
> Please add a link to this bugzilla issue in the commit message (see other
> commit messages or use git-bz) and a little rational for the change would be
> nice as well.

Thanks, Rui.
I will modify as soon as possible. For today and tomorrow, I will in a trip, So I will update the day after tomorrow.
Regards!
Comment 16 Zhao Qiang 2017-10-01 16:18:37 UTC
Created attachment 360727 [details] [review]
change default Japanese input-engine to "KKC"
Comment 17 Zhao Qiang 2017-10-01 16:20:43 UTC
(In reply to Zhao Qiang from comment #16)
> Created attachment 360727 [details] [review] [review]
> change default Japanese input-engine to "KKC"

Rui:

Is it ok for you this time?
Comment 18 Zhao Qiang 2017-10-09 07:23:04 UTC
Created attachment 361163 [details] [review]
Change default Japanese input engine to KKC.

Most Japanese people will not use anthy any more.
and KKC is user friendly and fully based on GTK.
Comment 19 Takao Fujiwara 2017-10-10 02:34:04 UTC
(In reply to Zhao Qiang from comment #18)
> Most Japanese people will not use anthy any more.

I don't think so. Many people uses ibus-anthy and it have lots of the features.
Comment 20 Zhao Qiang 2017-10-10 03:18:51 UTC
(In reply to Takao Fujiwara from comment #19)
> (In reply to Zhao Qiang from comment #18)
> > Most Japanese people will not use anthy any more.
> 
> I don't think so. Many people uses ibus-anthy and it have lots of the
> features.

Okay
If I rephrase the comment like: "KKC is in a more active developing and it is user-friendly, additionally fully based on GTK."
Will you accept it?
Comment 21 Takao Fujiwara 2017-10-10 03:24:56 UTC
(In reply to Zhao Qiang from comment #20)
> If I rephrase the comment like: "KKC is in a more active developing and it
> is user-friendly, additionally fully based on GTK."
> Will you accept it?

Yeah, it's fine with me.
Comment 22 Zhao Qiang 2017-10-10 10:02:49 UTC
Created attachment 361233 [details] [review]
Change default Japanese input engine to KKC.

KKC is in a more active developing and it is user-friendly,
additionally it's fully based on GTK
Comment 23 Zhao Qiang 2017-10-13 06:26:10 UTC
(In reply to Zhao Qiang 赵强 from comment #22)
> Created attachment 361233 [details] [review] [review]
> Change default Japanese input engine to KKC.
> 
> KKC is in a more active developing and it is user-friendly,
> additionally it's fully based on GTK

Rui:

Could you please help to re-review this?
Thanks!
Comment 24 Rui Matos 2017-10-13 13:43:14 UTC
Review of attachment 361233 [details] [review]:

looks good, thanks
Comment 25 Zhao Qiang 2017-10-17 02:44:30 UTC
Dear maintainers:

Could you please review this request? and also so expect to get your opinion.
Comment 26 Bastien Nocera 2017-10-17 08:12:32 UTC
(In reply to Zhao Qiang 赵强 from comment #25)
> Dear maintainers:
> 
> Could you please review this request? and also so expect to get your opinion.

It's already been reviewed, it's waiting for you to commit it.
Comment 27 Bastien Nocera 2017-10-17 08:26:07 UTC
Created attachment 361721 [details] [review]
default-input-sources: Change default Japanese engine

Change the default Japanese input engine to KKC. KKC is in a more
active development and is user-friendly. Finally, it's fully
based on GTK.
Comment 28 Bastien Nocera 2017-10-17 08:27:34 UTC
Attachment 361721 [details] pushed as 9c1aea9 - default-input-sources: Change default Japanese engine
Comment 29 Jeremy Bicha 2017-10-21 00:33:02 UTC
Ubuntu uses ibus-mozc by default for Japanese so please don't assume that Fedora == GNOME.
Comment 30 Bastien Nocera 2017-10-21 11:59:52 UTC
(In reply to Jeremy Bicha from comment #29)
> Ubuntu uses ibus-mozc by default for Japanese so please don't assume that
> Fedora == GNOME.

Which isn't what the upstream GNOME was using either. If you want/need a particular input source to be the default, please file a new bug and explain why.
Comment 31 Jeremy Bicha 2017-10-22 00:20:47 UTC
Sorry, it was a late drive-by comment replying to the original bug report and comment #2.
Comment 32 Takao Fujiwara 2017-10-23 02:56:55 UTC
I'd think it would be the best way to rebase anthy or develop another IME from a scratch.
Comment 33 Daiki Ueno 2017-10-23 08:58:06 UTC
(In reply to Jeremy Bicha from comment #29)
> Ubuntu uses ibus-mozc by default for Japanese so please don't assume that
> Fedora == GNOME.

I'm wondering, would it make sense to move this list to GSettings so a distribution can easily override it with their favorite default?  Unlike input method frameworks, input methods are more like an application (e.g. Chromium vs Firefox); downstreams should be able to customize the default as per their requirements, IMO.
Comment 34 Bastien Nocera 2017-10-23 12:33:23 UTC
(In reply to Daiki Ueno from comment #33)
> (In reply to Jeremy Bicha from comment #29)
> > Ubuntu uses ibus-mozc by default for Japanese so please don't assume that
> > Fedora == GNOME.
> 
> I'm wondering, would it make sense to move this list to GSettings so a
> distribution can easily override it with their favorite default?  Unlike
> input method frameworks, input methods are more like an application (e.g.
> Chromium vs Firefox); downstreams should be able to customize the default as
> per their requirements, IMO.

No, because modifying a header file is just as straight forward for distributors. The defaults are not a user preference, they're just defaults. Hopefully downstreams can tell us how their defaults are different from ours and why, so we can change those defaults if warranted. That's not stopping those distributors from setting their own defaults.
Comment 35 Zhao Qiang 2017-11-01 06:27:18 UTC
(In reply to Jeremy Bicha from comment #29)
> Ubuntu uses ibus-mozc by default for Japanese so please don't assume that
> Fedora == GNOME.

Hi Jeremy:

This has been discussed at the beginning: 
I think Mozc is an excellent input engine, and I found a lot of openSUSE's users also choose Mozc just like Ubuntu community. But sir Takao found that Mozc is mostly based on QT,  So it's not a proper choice for gnome user, and one immediate question is Mozc's setup program can't work in purely Gnome desktop. 
Although Mozc has dropped Qt 4 support recent days, it still needs QT base libraries support.
I'm interested in how Ubuntu solve this problem? Because I can't answer this, so the only choice for me is SKK. After all, it's better than the original Anthy.
Comment 36 Zhao Qiang 2017-11-01 06:28:58 UTC
(In reply to Takao Fujiwara from comment #32)
> I'd think it would be the best way to rebase anthy or develop another IME
> from a scratch.

I will totally support this proposal!
Comment 37 Takao Fujiwara 2020-11-25 01:46:06 UTC
Now I'm thinking to revert this change since kkc has been delayed to move gsettings migrations and etc for many years:
https://github.com/ibus/ibus/wiki/GSettingsMigration

I got the agreement with the original anthy developers and has been forked it to anthy-unicode:
https://github.com/fujiwarat/anthy-unicode