Bug 24502 - mozc (ibus): use hiragana mode by default
Summary: mozc (ibus): use hiragana mode by default
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://github.com/google/mozc/issues...
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 28777
  Show dependency treegraph
 
Reported: 2019-03-13 13:38 CET by Christian Lohmaier
Modified: 2021-04-14 11:09 CEST (History)
6 users (show)

See Also:
Source RPM: mozc-2.23.2785.102-4.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Christian Lohmaier 2019-03-13 13:38:30 CET
Description of problem:
traditionally, mozc method did start with hiragana mode enabled by default, the mode that most people want when using ibus-mozc as an additional layout along with their native keyboard.

Upstream decided to change it to direct mode when running in ibus-1.5.x or later, which might come handy for native Japanese, but not for everyone else. (and my assumption is that the vast majority of mageia users using mozc are not typing primarily with Japanese keyboard but are mainly using their native xkb layout most of the time an only occasionally switch to ibus-mozc)

Version-Release number of selected component (if applicable):
changed in 1.15.1785.102 (mga6 has 1.11.something, so while mga6 already had ibus 1.5, mozc did default to hiragana mode)

As there is no runtime configuration option for this, only way to change default is a one-liner patch the source
https://github.com/google/mozc/blame/096650398addf9548a49403e1658a21b6e55b4e4/src/unix/ibus/property_handler.cc#L78-L86

- const bool kActivatedOnLaunch = false;
+ const bool kActivatedOnLaunch = true;


see https://github.com/google/mozc/issues/381 and https://github.com/google/mozc/issues/201 for details

to reproduce:
1) add ibus-mozc to your input sources (in gnome-settings region and languages)
2) switch to Japanese input method using super+space or via panel
   → try typing romanized Japanese
     → get frustrated since it still is in direct mode
3) manually switch mozc to hiragana via panel (as AFAICT there's no working shortcut to switch by default, only if you had hankaku key)
   → finally can type Japanese

thankfully ibus remembers your setting for your user session, so switching to another layout and back won't reset mozc to direct mode, but nevertheless a big annoyance...
Comment 1 Marja Van Waes 2019-03-14 16:52:18 CET
Assigning to all packagers collectively, since there is no registered maintainer for this package.

CC'ing some committers.

CC: (none) => cjw, geiger.david68210, luigiwalser, marja11
Assignee: bugsquad => pkg-bugs

Comment 2 David GEIGER 2019-10-16 16:26:31 CEST
Should be fixed with mozc-2.23.2785.102-5.1.mga7 in Core/Updates_testing repo!
Comment 3 David GEIGER 2019-10-16 17:32:51 CEST
Assigning to QA,


Advisory:
========================

Traditionally, mozc method did start with "hiragana" mode enabled by default, the mode that most people want when using ibus-mozc as an additional layout along with their native keyboard.

Upstream decided to change it to "direct" mode when running in ibus-1.5.x or later, which might come handy for native Japanese, but not for everyone else. (and my assumption is that the vast majority of mageia users using mozc are not typing primarily with Japanese keyboard but are mainly using their native xkb layout most of the time an only occasionally switch to ibus-mozc).

So this update re-enable the Hiragana mode by default.

========================

Packages in 7/core/updates_testing:
========================
mozc-2.23.2785.102-5.1.mga7.i586.rpm
ibus-mozc-2.23.2785.102-5.1.mga7.i586.rpm
mozc-tools-2.23.2785.102-5.1.mga7.i586.rpm

mozc-2.23.2785.102-5.1.mga7.x86_64.rpm
ibus-mozc-2.23.2785.102-5.1.mga7.x86_64.rpm
mozc-tools-2.23.2785.102-5.1.mga7.x86_64.rpm

Source RPM: 
========================
mozc-2.23.2785.102-5.1.mga7.src.rpm

Assignee: pkg-bugs => qa-bugs

David GEIGER 2019-10-16 17:33:05 CEST

Version: Cauldron => 7

Comment 4 Christian Lohmaier 2019-10-23 12:53:08 CEST
Thx, woks with the package from testing ありがとうございました!

Whiteboard: (none) => MGA7-64-OK

Thomas Backlund 2019-10-23 20:18:52 CEST

Keywords: (none) => advisory, validated_update
CC: (none) => tmb, sysadmin-bugs

Comment 5 Mageia Robot 2019-10-23 23:08:05 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0168.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Christian Lohmaier 2021-04-14 11:09:26 CEST

Blocks: (none) => 28777


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