[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#925391: task-japanese-desktop and others: Gnome-wayland compatible input method



Package: tasksel
Version: 3.51
Severity: normal

We will ship wayland enabled Gnome as the default for Buster!
So we need to adjust to this environment.

Trying to enable current default input method for Japanese under wayland
caused big side effect.  So the feature to enable uim requires user to
manually enable this work around intentionally (this still needs to be
unblocked)
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925160

So for default install, it is essential to use ibus family which is
upstream supported.  im-config doesn't need to do anything.  gnome takes
catrare by gnome-session in main.c which hard codes ibus there.  (I
know, japanese liek uim, Chinese like fcitx)

Proposed task data
==================

In light of this, I propose to change task-japanese-desktop to the
following:

task-japanese-desktop (kmuto)
  --\ Depends (1)
    --- tasksel (= 3.50)
  --\ Recommends (11)
    --- ibus-mozc | ibus-anthy | ibus-skk | ibus-kkc
    --- firefox-esr-l10n-ja | firefox-l10n-ja
    --- fonts-ipafont
    --- fonts-vlgothic
    --- libreoffice-help-ja
    --- libreoffice-l10n-ja
    --- poppler-data

Here, simply picking one of the ibus-* pulls in all you need  via
recommends.  Configuration utility is gnome-shell script provided by
Gnome.  gnome-shell already requires gir1.2-ibus-1.0 thus installs
libibus-1.0-5.  So going with ibus is upstream choice.

FYI: OLD SETTINGS are the following
task-japanese-desktop
  --\ Depends (1)
    --- tasksel (= 3.50)
  --\ Recommends (11)
    --- anthy
    --- firefox-esr-l10n-ja | firefox-l10n-ja
    --- fonts-ipafont
    --- fonts-vlgothic
    --- libreoffice-help-ja
    --- libreoffice-l10n-ja
    --- mozc-utils-gui
    --- poppler-data
    --- uim
    --- uim-anthy
    --- uim-mozc

Other consideration:
====================

Traditional DMs on X:
=====================
im-config pulled in by the dependency will automatically set up system
including configuration dialog.  So this change has minimal impact.  

Why ibus-mozc as the first choice? 
==================================
I know anthy currently suffers conversion errors.  I suspect
inconsistent encoding of its dictionary data is the root cause.  It
looks like the conversion to UTF-8 had errors. (This is not ibus
problem.  It is same under uim or fcitx.

KDE seems to chose SCIM?  Should we care?
=========================================

plasma-desktop  depends on libscim8v5 from SCIM family.  Should we care
like what we do for Gnome?  I have no answer.

All I know is KDE doesn't play nice with ibus.  You can kill ibus icon
program with mouse click.  No easy way to get back.
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922334

I wonder these input methods may better move to 
task such as 
   task-japanese-gnome-desktop 
   task-japanese-kde-desktop
Then they can have their own way.  (Of course, we may leave out other DM
people.)

What is going to happen on Chinese tasks
========================================
They love fcitx.  Does anyone know what they do.  we may have answer
there too.

Long term:
==========

If we can use trigger to update choice of configuration im-config
calcurate when user process starts in advance, then enabling im-config
even for wayland may be an option.  But it's too late for buster.

Also, I think if someone knows better than me and have time, make
current ibus related code in gnome-session/gnome-shell to be
patched/extended to allow other input methods to be used.

We need volunteer for it.  (Including option to replace im-config input
method configuration system to Ubuntu equivalent, if that solves.)


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (10, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tasksel depends on:
ii  apt                     1.8.0
ii  debconf [debconf-2.0]   1.5.71
ii  liblocale-gettext-perl  1.07-3+b4
ii  perl-base               5.28.1-4
ii  tasksel-data            3.51

tasksel recommends no packages.

tasksel suggests no packages.

-- debconf information:
  tasksel/tasks:
  tasksel/desktop:
  tasksel/title:
  tasksel/first: standard


Reply to: