chadliu23 / mozc

Automatically exported from code.google.com/p/mozc
0 stars 0 forks source link

ibus-mozc does not provide a way to configure Kana-mapping table for US keyboard layout #207

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I installed ibus-mozc on Ubuntu 12.04 using apt-get (followed the instruction 
on a web page).

What steps will reproduce the problem?
1.Set kana mode (MS IME)
2.Type d[`\= 
3.

What is the expected output?
じろむへ

What do you see instead?
し゜゛ろほ

What version of the product are you using? On what operating system?
Probably the latest version. Ubuntu 12.04 (English)

Please provide any additional information below.
Even though I have set the keyboard layout to MS IME, it is not exactly the 
same, and there seems to be no way to set it the way I want. Basically, I want 
to same layout as on MS IME (on Windows). Is there any way?

Original issue reported on code.google.com by typing...@gmail.com on 25 Jan 2014 at 3:11

GoogleCodeExporter commented 9 years ago
Thank you for the report.

The issue you observed is not related to MS-IME. You will see the same issue 
even on Windows if the physical layout of your keyboard is US and OS-settings 
of the keyboard layout is JP. This is because the mappings of ASCII and 
Kana-character on US-layout keyboard and JP-layout keyboard are different. In 
short, you need teach ibus-mozc to use US-Kana-layout.

Bad news is that, from its beginning, ibus-mozc for Linux hasn't provided any 
way to configure the setting. The only way to change the setting is manually 
modifying the following lines to set 'false' into "layout_is_jp" variable.

https://code.google.com/p/mozc/source/browse/trunk/src/unix/ibus/mozc_engine.cc?
r=185#373
>  // TODO(yusukes): use |layout| in IBusEngineDesc if possible.
>  const bool layout_is_jp =
>      !g_strcmp0(ibus_engine_get_name(engine), "mozc-jp");

Regarding the version of Mozc, ibus-mozc provided in Ubuntu 12.04 official 
repository is not under control of Mozc project actually. That is a derivative 
work by Canonical Ltd and not an official release from Mozc project. According 
to the following page, your ibus-mozc is likely to be based on Mozc version 
1.3.975.102 that was originally published by Mozc team on January 2012 (2 years 
ago!), while the latest version is 1.13.1651.102 published this month.
https://launchpad.net/ubuntu/precise/+package/ibus-mozc
https://code.google.com/p/mozc/wiki/ReleaseHistory

This means that even if Mozc team addressed this issue in the next release, it 
is less likely that you will get the fixed version via apt-get as long as you 
stay on Ubuntu 12.04.  Sorry about that but providing the latest binaries to 
users is beyond the goal of Mozc project.  I appreciate your understanding.

Original comment by yukawa@google.com on 26 Jan 2014 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by yukawa@google.com on 12 Jul 2014 at 9:14

GoogleCodeExporter commented 9 years ago
Hello, again. Recently, I installed Ubuntu 14.04.1 on my laptop (US keyboard). 
I installed mozc through Ubuntu Software Center. Mozc's version is 
1.13.1651.102. The problem has not been fixed.

>>You will see the same issue even on Windows if the physical layout of your 
keyboard is US and OS-settings of the keyboard layout is JP.

Was that about Windows' version of mozc? Because on Windows, I am using Google 
Japanese Input (Korean keyboard, but basically the same as US layout) and do 
not have this problem. You had shown a solution to me, but I just wish there 
were a way to correct this without editing and recompiling the source code by 
myself. Like a setting in the preference dialogue.

Original comment by typing...@gmail.com on 8 Nov 2014 at 2:04

GoogleCodeExporter commented 9 years ago
> Hello, again. Recently, I installed Ubuntu 14.04.1 on my laptop (US keyboard).
> I installed mozc through Ubuntu Software Center. Mozc's version is 
1.13.1651.102.
> The problem has not been fixed.

Correct. This issue is not fixed and this is why the status of this issue is 
not "Fixed".

> Was that about Windows' version of mozc? Because on Windows, I am using 
Google Japanese Input
> (Korean keyboard, but basically the same as US layout) and do not have this 
problem.

It can happen with any version of Google Japanese Input for Windows, and if you 
don't see any
problem, it means that your system is configured correctly.

> You had shown a solution to me, but I just wish there were a way to correct 
this without
> editing and recompiling the source code by myself. Like a setting in the 
preference dialogue.

Yeah, I agree with you on that point, but unfortunately ibus-mozc is no longer 
actively developed
as announced in Issue 194.  Seriously, we don't have enough spare time to work 
on ibus-mozc and
this is why this issue is marked as VolunteersNeeded.

Thank you for your understanding.

Original comment by yukawa@google.com on 8 Nov 2014 at 5:50